cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic IDoc after Process Order is created

0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

rupesh_brahmankar3
Active Contributor

Hello,

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,

R.Brahmankar

0 Kudos

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