Application Development 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: 

Which IDOC to use?

Former Member
0 Kudos

Hi all;

Hope someone can help me. The business scenario is: we send PO to a trade partner (another company code in my organization). The trade partner fulfill the order and complete PGI.

We receive the goods (post goods receipt and MIGO) in our system.

I will have to automate this process: when the trade partner completes PGI I will have to create an IDOC and receive this IDOC to do post goods receipt and MIGO.

Question: which IDOC type should I use? Can I use DELVRY03? the goods receipt is against PO.

Thanks in advance

2 REPLIES 2

Jelena
Active Contributor
0 Kudos

I believe DELVRY03 is ASN when you use inbound deliveries.

In the past I used message WMMBXY with IDoc WMMBID02 for a "plain vanilla" goods receipt interface. It just posted goods movement document (101 or 102). It was a simple IM scenario, without inbound delivery. "And MIGO", I guess, could be a separate interface.

You might want to do some research and prototyping and then post more specific questions.

carlos_rodriguez4
Active Participant
0 Kudos

For goods recepit use message type MBGMCR. It will work for sure. This message type has a field called GM_CODE that is a bit tricky, so use this as reference https://wiki.sdn.sap.com/wiki/display/ERPSCM/How%20To%20Goods%20Movements%20with%20BAPI