Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How inbound IDOC create a material document

0 Kudos
2,416

Hello experts,

I wanted to know the background process how IDOC create a material document when user click Post Good Receipt (PGR).

Did the IDOC utilized MIGO to create the document? (or it use a different program/screen).

Thanks

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
1,842

Check transaction WE57 (or browse table TBDBE) to identify the FM that will execute an IDoc/Message type, you should fin a BAPI

  • For material document, message type MBGMCR the FM would be IDOC_INPUT_MBGMCR which internally call BAPI_GOODSMVT_CREATE)
Read only

0 Kudos
1,842

Hi Raymond,

I've put a breakpoint in multiple places. My message type was "SHP_IBDLV_CONFIRM_DECENTRAL". But incoming idocs from logical system didn't trigger the breakpoint in my FM, IDOC_INPUTSHIPIBDLVCONFIRM_DEC.

I've to click manually on the pending IDOC. The one that waiting for ALE service. Click process now and check on my receiving system. The idocs has been received successfully with status 53. But it didn't trigger my breakpoint. Or is there a different way to debug live incoming idocs?

Read only

0 Kudos
1,842

There are some documents in the wiki of the forum, look for how-to debug an IDoc.

(Usually it's easier to use WE19 to copy an IDoc and test it online, use also search tool for tricks to put the IDoc in error and debug it later)

Read only

Sandra_Rossi
Active Contributor
0 Kudos
1,842

No, the Material Document Inbound IDoc doesn't utilize MIGO to create the document. See Raymond answer.