Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Connector for SAP R/3 > EAI Queue >
EAI Queue Usage
The use of the EAI Queue is enabled through changes to the SAPWriteXML component parameter on the BAPIRcvr and BusIntMgr components. The default value for this component parameter is "WriteOnErr".
To enable the Siebel Application to SAP interfaces
- Set the SAPWriteXML component parameter on the BusIntMgr component to one of the following choices: WriteBeforeErr, WriteOnly, WriteOnErr, or WriteNone.
- Restart the Siebel server.
- Start a Send Transaction Service background task to pick up erred transactions from the queue and resend them to SAP. For more information, read The Send Transaction Service.
- Test the queue by executing the Account to Customer Standard Integration. The data flow that sends an IDOC to SAP to create sales area information for the customer creates an entry in the queue, depending upon the mode.
- Choose Integration Administration EAI Queue from the Siebel application.
- Select the "tRFC Outbound to SAP" queue from the EAI Queue applet. Entries in the queue appear in the EAI Queue Items applet.
Each entry contains:
- The Transaction ID used to identify the transaction to SAP in the Reference ID field.
- The data in transit as an XML file attachment.
- The Status field indicating the current status.
Status values for Siebel application to SAP Send Transaction are Initial, Sent, or Confirmed. If the process errors, status remains in one of these three states until a Send Transaction Process executes. If the Send Transaction Process errs, the status appears as "Error in Sending." At this point, manual intervention is needed to determine the cause of the error.
- If a transaction has the status "Error in Sending" in the EAI Queue, make a note of the Transaction ID in the Reference ID field. This value uniquely identifies the transaction in the Siebel log file. Using this ID, you can find error information in the log file to help you determine the cause of the problem. When you determine the cause you may do the following:
- Edit the XML data held in the EAI queue for that transaction to correct the information and change the status from "Error in Sending" to "Initial". A Send Transaction service picks up the data and resends it to SAP.
- Delete the entry in the EAI Queue for that transaction and recreate it from the Siebel application using whatever correction may have been made.
To enable the SAP to Siebel interfaces
- Set the component parameter SAPWriteXML on the component BAPIRcvr so that it contains WriteBeforeErr, WriteOnly, WriteNone, or WriteOnErr.
- Start a BAPIRcvr component. For more information, read Starting the tRFC BAPI Receiver.
- Start a Process Transaction Service background task to pick up erred transactions from the queue and reprocess them into the Siebel application. For more information, read The Process Transaction Service.
- Execute the Customer to Account standard integration to test the queue. The data flow that sends an IDOC to the Siebel application to create an account creates an entry in the queue, depending upon the mode chosen.
- Choose Integration Administration EAI Queue to display the queue.
- Select the "tRFC Inbound from SAP" queue from the EAI Queue form. Entries in the queue appear in the EAI Queue Items list. Each entry contains:
- The Transaction ID used to identify the transaction to SAP in the Reference ID field.
- The data in transit as an XML file attachment.
- Status field indicating the current status.
Status values for SAP to Siebel applications Send Transaction are Initial, Processed and Confirmed. If the process errors, status remains in one of these three states until a Process Transaction Service executes. If the Process Transaction Service errors, status appears as "Error in Processing". At this point, manual intervention is needed to determine the cause of the error.
- If a transaction has the status "Error in Processing" in the EAI Queue make a note of the Transaction ID in the Reference ID field. This value uniquely identifies the transaction in the Siebel log file and also in the SAP tRFC layer. Using this ID you can find error information in the log file to help you determine the cause of the problem. You can also retrieve information from SAP by SAP transaction SM58. When you determine the cause you may do the following:
- Edit the XML data held in the EAI queue for that transaction to correct the information and change the status from "Error in Processing" to "Initial." A Process Transaction Service picks up the data and reprocesses it into the Siebel application.
NOTE: You should not modify queue entries with the status Initial, Send, or Processed while the server is running. These entries may be in use by the background processes in the server. You may edit entries with Error in Processing or Error in Sending status values while the server is running.
- Delete the entry in the EAI Queue for that transaction and recreate it from SAP using whatever correction may have been made.
NOTE: All components which may have services accessing the queue must execute on the same server machine. These components use a locking mechanism around the EAI Queue that operates correctly only when all processes execute on the same machine. These components are: BusIntMgr, SAPSendTrans, BAPIRcvr, and SAPProcessTrans.
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Connector for SAP R/3 Published: 22 August 2003 |