Skip to Content
avatar image
Former Member

BPM and IDOCs

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 19, 2006 at 08:24 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 19, 2006 at 09:01 PM

    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,

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Jul 20, 2006 at 03:45 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded