Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

need solution - IDOC to JMS


I got a requirement from my client and would like to know whether i need to use BPM or not??

Functional Details

When Transport orders ZFWO are created and updated the output type ZBB7 on the order triggers creation of an order response IDoc.The IDoc is sent to XI.

XI transforms the IDoc to an XML-message and drops the message in an MQSeries queue with 3rdParty as receiving system. When XI has succesfully passed the message on to MQSeries XI updates status on the IDoc in SAP with status = 40 that indicate that XI has processed the IDoc successfully. Update of IDoc status is done by standard functionality using the IDoc type ALEAUD

In 3rdParty a job, is set up to start when data reaches the MQ queue. The job writes the input message on an archive file, parses the message, validates data, updates accepted order documents as 3rdParty orders, and creates a receipt at message level for all messages, both accepted and rejected. Messages with errors are rejected at message level u2013 that is an error in one item will lead to the whole message being rejected.

The receipt from 3rdParty System to SAP is created as an XML-message and is put in an MQSeries queue that has XI as receiver. Each XML status message from 3rdParty system will contain status update for one IDoc. XI transforms the receipt message to IDoc and passes the IDoc to SAP where status on the original order response message is updated. Update of IDoc status is done by standard functionality using the IDoc type STATUS.

3rdParty System will give information on item level on the reason for the rejection on a list.

The list will also contain SAPu2019s order number, and IDoc number and knowing this the user can correct the order in SAP or correct the necessary masterdata in SAP/3rdParty . Having corrected the necessary data the user must trigger resend of the order. A new ouput (ZBB7) is determined when the sales order is saved after the changes have been done.

Awaiting for your replies and suggestions..

Thanks & Regards,


Former Member

Yes. Your understanding is correct. Please dont post duplicate threads..!!


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question