Siebel Connector for SAP R/3 > EAI Queue > EAI Queue Usage with SAP R/3 tRFC >

Inbound to the Siebel Application


Figure 22 shows the current implementation of the EAI Queue when making tRFC calls from SAP R/3 to the Siebel application. The SAP Application Server extracts a record from the SAP database, and sends it to Siebel's tRFC BAPI Receiver which forwards it to the EAI Queue. The EAI Queue then forwards the record to a Process Transaction Service, which sends it to the tRFC BAPI Receiver which creates a BAPI Input Integration Object. This object goes to a workflow, which consists of a business service data map and the Siebel EAI Adapter. The adapter writes the record to the Siebel Database.

Figure 22.  Inbound to the Siebel Application Using tRFC

Click for full size image

Figure 22 shows the flow of a business object from SAP to the Siebel Database. When SAP makes a tRFC call to the Siebel Connector for SAP R/3, it is received by the tRFC BAPI Receiver. This receiver is responsible for invoking the correct workflow for this particular tRFC call.

The data object transferred to the Siebel application in the form of the tRFC call may be saved in the EAI Queue depending upon the success or failure of workflow processing and the value of the SAPWriteXML component parameter. The possibilities are as follows:

Table 40 summarizes the possible status values for a data object stored in the queue during processing from SAP to the Siebel application in each of the above modes.

Table 40.  Possible Status Values for EAI Queue Entries (SAP to the Siebel Application)
Inbound from SAP
Result of Workflow
SAP Network Error
Entry in EAI Queue (Status)
Transaction Errors in tRFC Layer
WriteOnly
N/A
N/A
Yes (Initial)
No
WriteNone
Success
N/A
No
No
Failed
N/A
No
Yes
WriteOnErr
Success
N/A
No
No
Failed
N/A
Yes (Initial)
No
WriteBeforeErr
Success
No
Yes (Confirmed)
No
Yes
Yes (Initial or Processed)
No
Failed
 
Yes (Initial)
No


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