Siebel Connector for SAP R/3 > Installing and Configuring the SAP Connector >

Modifying Siebel Configuration Files


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.

To modify Siebel Tools

  1. Open the tools.cfg file in a text editor.
  2. Search for this text:
  3. [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

  4. Edit the "SAPRfcUserName =" line to replace CHANGE_ME with the CPIC user name.
  5. Edit the "SAPRfcPassword =" line to replace CHANGE_ME with the password for the user name entered.
  6. Edit the "SAPRfcConnectString =" line.
    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.
  7. Edit the SAPCodepage line to replace the CHANGE_ME with the Siebel Codepage value for your SAP implementation. You can find this value in Table 10.
  8. For example, your entry might look something like this now:

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

  9. 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.

To modify the 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.

  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:
  3. [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

  4. Edit the "SAPRfcUserName =" line to replace CHANGE_ME with the CPIC user name.
  5. Edit the "SAPRfcPassword =" line to replace CHANGE_ME with the password for the user name entered.
  6. Edit the "SAPRfcConnectString =" line.
    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.
  7. Edit the "SAPRfcDestEntry =" line to replace CHANGE_ME with the destination name of a TYPE=R entry in the saprfc.ini file.
  8. For example your entry might look something like this now:

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

  9. If you intend to work with IDOCs in the Workflow Simulator, then add the following line to the end of the [SAPSubsys] section:
  10. 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, read Configuring ALE/IDOC Connectivity.

  11. 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, read Overview: Siebel eBusiness Application Integration Volume I.


 Siebel Connector for SAP R/3 
 Published: 22 August 2003