Skip to Content

Automatic IDoc after Process Order is created

We would like to automate the creation of LOIPRO idocs whenever a process order is released in SAP ECC. This Idoc will be sent to MII and processed there.

Our current proposal is to call program RCCLORD via a user-exit, but we would like to know if there exists a more “elegant” manner (e.g. configuration) to do this?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on May 16, 2019 at 09:49 AM


    Badi like WORKORDER_UPDATE method AT_RELEASE can be helpful here. If you want to create IDocs of the message type LOIPRO using the program RCCLORD in a customer-specific trigger like on release.

    Or an Enhancement PPCO0007, include the report RCCLORD to create IDoc while production order release.

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 16, 2019 at 01:21 PM

    I am not sure if R. Brahmankar's answer contains this, so apologies if I am being redundant.

    Generally IDocs are sent to MII by the use of Change Pointers in ECC which recognize changes in specific fields or on the LastUpdate timestamp for a given category of record (MATMAS for Material Master, etc.). The IDoc can either be "sent" immediately or queued up to be "sent" periodically according to a schedule (daily or weekly is pretty common).

    I use "sent" in quotes because it actually is not sent. Instead a notification is broadcast from ECC that there are IDocs ready for NW to download. This is why reusing ProgIDs can be a headache.

    If the same ProgID is used more than once, all the multiple locations will receive the notification and try to grab the IDoc. And it is definitely first come, first server. So sometimes one instance with the duplicated ProgID get the IDoc, and sometimes a different instance grabs it.

    Cheers, Mike

    Add comment
    10|10000 characters needed characters exceeded