Application Development 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: 

Processing of multiple IDocs and their status

peter_jarsunek
Participant
0 Kudos

Hi guys,

I have a problem with IDoc processing in R/3. I send multiple IDocs into R/3. These are my own IDoc types, and I send them there in a "package". Let's say, I send 5 IDocs of the same type. Each of them has the number, and each of them has the number of the whole set - this means - you know, that this one IDoc is the 1st from the 5, this one is the 3rd, and this one is the last. When they are sent, the processing of them comes... And I have an ABAP program, if the last of them is processed, errors are taken and a new report IDoc is created and sent into external application.

THE PROBLEM IS: the processing of the IDocs is parallel and when the - let's say 4th IDoc processing takes longer time than the 5th processing takes, not all of the errors are taken into the report, because some errors may occur after (the 4th IDoc processing is independent).

Do you have any ideas, how could I solve this problem?

Thanx, Peter

1 REPLY 1

Former Member
0 Kudos

Peter,

Here is my suggestion, the code that actually checks for errors and sends a report IDOC, why can't we put in a check to see if all the IDOC's of a particular set have been processed or not.

How exactly this new report IDOC is being created, there has to be some kind of logic to find out IDOCS that belong to the same set.

Regards,

Ravi

Note : Please reward the posts that help you.