cancel
Showing results for 
Search instead for 
Did you mean: 

BPM and IDOCs

sunilachyut
Contributor
0 Kudos

I have an scenario where I have to create sequentially several IDOCs. This can be created through BPM but my concern is each IDOC has to get processed before the next IDOC is created, is there a way I can check to see if the IDOC was processed. I was thinking of calling a BAPI to check if the IDOC was processed. Is there any other way to handle the above, if so would appreciate your input.

Thanks in advance for any suggestions.

Sunil Achyut

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

the standard way to check if an IDoc has been processed is to use the ALEAUD IDoc which serves like an acknowlegment for IDocs. XI will automatically translate the differenet IDoc status values into the corresponding acknowledgment status, so you can use a send step with application ack in the BPM and the BPM will only continue processing when an ALEAUD with a status corresponding to permanent positiv application ack has been received.

Here is some information on the usage of ALEAUD:

http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6550507d11d18ee90000e8366fc2/content.htm

and here is a how to document for acknowledgments with IDocs using ALEAUD: https://websmp102.sap-ag.de/~sapdownload/011000358700003477212005E/HowTo_IDOC_Ack_20040817RR.pdf

Regards

Christine

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I dont think a BPM would be necessary,if you are planning to use BPM only to create the idoc.

You could do this even without using a BPM.

To check if an idoc is processed successfully, you can enable system acknowledgements (ALEAUD messages).

Another way would be to maintain a table in XI and update it each time an idoc has been successfully created.

Regards,

Smitha.

sunilachyut
Contributor
0 Kudos

Appreciate all the reply's.

Thanks

Sunil Achyut

Former Member
0 Kudos

Using R/3 serialization technique, I presume this can be handled. But I presume in this scenario, second idoc will get created in R/3 but R/3 will wait for first IDOC to be posted successfully before picking the second one.

Please read the following help doc,

<a href="http://help.sap.com/saphelp_470/helpdata/EN/78/2173cf51ce11d189570000e829fbbd/frameset.htm">Serialization of messages</a>

Former Member
0 Kudos

Hi Sunil,

In the Partner Profile (WE20), you have a option of proceeing IDOc:

1. Immediately

2. Batch.

YOu can try putting them in batch and see how the process goes.

Irrespective of whether the previous IDoc has been processed successfully or not you will still have send rest of IDoc .

So you can try putting the control in SAP R/3 rather then increasing load in the BPM. Just my thoughts.

Regards

Vijaya