Siebel Connector for SAP R/3 > Installation and Configuration >

Modifying Siebel Configuration Files for Customized Integrations


Siebel configuration files are used by the Siebel Tools and Siebel Mobile Web Client applications. The Siebel Tools configuration file (tools.cfg) is located in the tools/bin/language folder. If you intend to customize integrations, you must modify this configuration file. The Siebel Client configuration files are located in the siebsrvr/bin/language folder. The names of these files differ with the client application you have purchased, such as siebel.cfg or uagent.cfg. These files are used only by the Siebel Mobile Web Client running in disconnected mode.

Your SAP system administrator must create a CPIC user for your connection to SAP. You need this user name and password for this procedure.

NOTE:  SAP authorizations for this user must include the authorization object S_IDOCDEFT in the object class of BC_Z if the IDOC wizard from Siebel Tools will be used. Without this authorization object, an OBJECT_UNKNOWN failure may occur during the use of the IDOC wizard.

To modify Siebel Tools

  1. Open the tools.cfg file in a text editor.
  2. Search for this text:

    [SAPSubsys]

    This starts the section defining the parameters for use with SAP. It has these entries:

    [SAPSubsys]
    SAPRfcUserName           = CHANGE_ME
    SAPRfcPassword           = CHANGE_ME
    SAPRfcConnectString      = DEST=CHANGE_ME CLIENT=CHANGE_ME LANG=CHANGE_ME
    SAPCodepage               = CHANGE_ME

  3. Replace CHANGE_ME after SAPRfcUserName = with the CPIC user name.
  4. Replace CHANGE_ME after SAPRfcPassword = with the password for the user name entered.
  5. Edit SAPRfcConnectString = as follows:
    1. Replace CHANGE_ME after DEST= with a destination name as defined in a TYPE=A entry of the saprfc.ini file being used.
    2. Replace CHANGE_ME after CLIENT= with the SAP client number.
    3. Replace CHANGE_ME after LANG= with the login language character (E for English).
    4. Be sure that there are no spaces on either side of the equals signs for DEST=, CLIENT= and LANG= and use at least one space after each entered value.
  6. Replace CHANGE_ME after SAPCodepage = with the Siebel code page value for your SAP implementation. You can find this value in Table 10.

    For example, your entry might look something like this:

    [SAPSubsys]
    SAPRfcUserName = auser
    SAPRfcPassword = apassword
    SAPRfcConnectString = DEST=DEV_Outbound CLIENT=555 LANG=E
    SAPCodepage = CP1252

  7. Save and close the tools.cfg file.

To test new or modified workflows using the Business Service Simulator or the Workflow Simulator in a Siebel client, modify your Siebel client configuration file.

Your SAP system administrator must create a CPIC user for your connection to SAP. The same user name used for your Siebel Tools configuration can be used here also.

NOTE:  The Siebel Client configuration file is used only by the Siebel Mobile Web Client running in disconnected mode. As such the following procedure applies only to the use of this client in this mode.

To modify the Siebel Client configuration file

  1. Open the appropriate configuration file for your Siebel client application.

    The name depends upon the application you use. For example, the sales application uses siebel.cfg and the call center application uses uagent.cfg.

  2. Search for this text:

    [SAPSubsys]

    This starts the section defining the parameters for use with SAP. It has these entries.

    [SAPSubsys]
    SAPRfcUserName = CHANGE_ME
    SAPRfcPassword = CHANGE_ME
    SAPRfcConnectString = DEST=CHANGE_ME CLIENT=CHANGE_ME LANG=CHANGE_ME
    SAPRfcDestEntry = CHANGE_ME

  3. Replace CHANGE_ME after SAPRfcUserName = with the CPIC user name.
  4. Replace CHANGE_ME after SAPRfcPassword = with the password for the user name entered.
  5. Edit SAPRfcConnectString = as follows:
    1. Replace CHANGE_ME after DEST= with a destination name as defined in a TYPE=A entry of the saprfc.ini file being used.
    2. Replace CHANGE_ME after CLIENT= with the SAP client number.
    3. Replace CHANGE_ME after LANG= with the login language character (E for English).
    4. Be sure that there are no spaces on either side of the equals signs for DEST=, CLIENT= and LANG= and use at least one space after each entered value.
  6. Replace CHANGE_ME after SAPRfcDestEntry = with the destination name of a TYPE=R entry in the saprfc.ini file.

    For example, your entry might look something like this:

    [SAPSubsys]
    SAPRfcUserName = auser
    SAPRfcPassword = apassword
    SAPRfcConnectString = DEST=DEV_Outbound CLIENT=555 LANG=E
    SAPRfcDestEntry = DEV_Inbound

  7. If you intend to work with IDOCs in the Workflow Simulator, then add the following line to the end of the [SAPSubsys] section:

    SAPSenderPrtnrNum = Logical system name

    where the logical system name is the name of your external system as configured in SAP for ALE. Define this logical system name in SAP. For more information, see Configuring ALE/IDOC Connectivity.

  8. Save the configuration file and close the editor.

Siebel-to-SAP integration uses the Siebel Server Request Broker to make requests to the Business Integration Manager. For this reason, you may need to add Server Request Broker information to your configuration file. For more information, see the Overview: Siebel Enterprise Application Integration guide.

Siebel Connector for SAP R/3