cancel
Showing results for 
Search instead for 
Did you mean: 

How to fill custom IDOC segment? LOIPRO04

0 Kudos

Hi SAP experts,

I'm quite new to IDOCs and would like to figure out how to fill the contents of my custom segment, that I extended to LOIPRO04.

Hope you can help me out.

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor

Did you search and find BAdI CO_MES_INT_IDOC?

(Check also if no OSS note is required if your system is not up-to-date)

0 Kudos

Apologies for the long feedback.

I put a break-point into the class I created and it seems that the BP is not triggered when I create a PO.

The IDoc LOIPRO04 just goes straight into the IDoc monitor.

raymond_giuseppi
Active Contributor
0 Kudos

Then try to add a break-point in FM CLOI_MASTERIDOC_CREATE_LOIPRO

0 Kudos

Thanks for helping me out Raymond.

However, the breakpoint is still not triggered after I create a PO. Is there anything I am doing wrong?

Answers (1)

Answers (1)

0 Kudos

I was able to solve my problem now. Seems that LOIPRO04 (and other IDocs) is created in the update task so I had to activate Update Debugger.

Activating 'Update Debugger' brought me to my breakpoint inside BAdI CO_MES_INT_IDOC.

0 Kudos

Hi John, I have same problem need your help please let me know any contacts