Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

The IDoc processing Sequence

Former Member
0 Likes
982

Hi all,

Our SAP ECC 6.0 system receives IDocs of different message types from a XI system, let's say the message types are: MSG_1, MSG_2, MSG_3. The three message types must be processed in such order, otherwise error may happen.

1. MSG_1

2. MSG_2

3. MSG_3

The current problem is that sometimes the processing of MSG_1 is not successful, but the system is still continuously receiving and processing messages from XI, so the subsequent MSG_2 and MSG_3 are also not processed successfully.

So my question is how to make the system stop processing certain type of message if its predecessor is in error status.

Regards,

Hui

3 REPLIES 3
Read only

Former Member
0 Likes
651

Is there any relation in Message 1 / 2 and 3?

If there is, then try putting some code in customer user exit of inbound idoc. This code will do validation if earlier one is posted successfully. Else it will cancel posting process.

ashish

Read only

0 Likes
651

Hi Ashish,

Thanks for your reply! I think maybe your solution works.

But dose anyone else know whether it's possible to achieve it only with customizing or configuration.

Regards,

Hui

Read only

0 Likes
651

You can also handle this in XI using BPM. XI Developer can handle this from his side. He can create the dependent flow in XI for the same.