Siebel Connector for SAP R/3 > Customizing Integrations > Testing the Interface >

Using the Business Service Simulator


The Business Service Simulator can be used to test specific business services. For SAP scenarios, the Business Service Simulator would normally be used to test your own business services and to test workflows that are invoked by the tRFC BAPI Receiver (this may be IDOC or BAPI as both are started with the tRFC BAPI Receiver).

The Business Service Simulator is executed within the Siebel client by navigating to Business Service Administration > Business Service Simulator. To test your own business services or to find more information on the Business Service Simulator, consult Overview: Siebel eBusiness Application Integration Volume I. The following procedure explains how to execute a workflow that is triggered from the tRFC BAPI receiver upon the receipt of an IDOC or BAPI call from SAP.

To execute triggered workflows

  1. Create a new record in the Service Methods list.
  2. Enter the Service Name EAI SAP BAPI Receiver (tRFC).
  3. Enter the Method Name "ReceiveDispatch".
  4. In the Siebel application, click Run to start the receiver service.
  5. The service makes a connection to SAP and waits for input from SAP up to the number of seconds defined in the SAPSleepTime User Property on the EAI SAP BAPI Receiver (tRFC) service definition.

  6. In SAP, trigger the send of an IDOC or BAPI call to the Receiver. You must do this within the time period SAPSleepTime (default value for this is 60 seconds).
  7. NOTE:  When the tRFC BAPI receiver is running with the Siebel client, the component parameters must be set as follows:
    - In the client configuration file, if working with a Siebel Mobile client
    or
    - As input arguments on the input property set in the Business Service Simulator.

  8. Verify results of the workflow. This depends upon the action your workflow takes.

NOTE:  When the tRFC BAPI receiver is executed from the Business Service Simulator it tests for input from SAP only for SAPSleepTime seconds. When the receiver is executed in the Siebel Server as the BAPIRcvr component, it continuously recalls itself, and looks each time for input from SAP.


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