cancel
Showing results for 
Search instead for 
Did you mean: 

Outgoing IDoc for incoming goods

fabiankokot
Discoverer
0 Kudos

Hello everybody,

I have a question about incoming good IDocs. So far, I am not very familiar with the subject, so i hope you can help me here.

I want to know which Base-Idoc is used to forward the good receipt of a purchase order to a partner and how to set the message to be sent. So when we confirm the receipt of goods from a supplier via MIGO, a message should be sent to our partner. Is that possible?

My idea was to use the IDoc type WMMBXY with the base type WMMBID02. However, I wasn't able to send a message.

Am i on the right track with my idea?

Thank you for your help an best regard,

Fabian

Accepted Solutions (1)

Accepted Solutions (1)

DominikTylczyn
Active Contributor

Hello fabiankokot

You are definitely on the right track, but on the very beginning of it.

First SAP standard doesn't provide an outbound IDoc from a material document. You'd need to implement sending here by yourself. WMMBID02 is implemented as inbound message in standard.

You can use either the ALE message type WMMBXY and the IDoc type WMMBID02 or MBGMCR and MBGMCR04.

Then you need to trigger an IDoc send from material document. The easiest way to do this is with output processing. See the note 411013 - Additional documentation on output determination in MM-IM on the details of MM-IM output determination settings - there is a nice PDF document attached to the note. You need to customize a new output type and process it either with ALE_PROCESSING routine of RSNASTED report.

See the blog Message Control (Output Control) for ALE on how message control integrates with ALE and SAP Help on Outbound via Message Control

Best regards

Dominik Tylczynski

fabiankokot
Discoverer
0 Kudos

Hello Dominik,

thank you for your help. I've tried the steps that are mentioned in the document but i still have some questions.

First of all, in the transaction NACE I've chosen the application E1 = Delivery, is that correct?

With all the settings I managed to automatically generate an EDI message in the VL31N. So in the NAST I can see that a message is triggert, but there is no IDOC in for example the WE02. Also for me it is not yet understandable how the message is triggert in the MIGO.

Can you help me with this?

Thank a lot and best regard

Fabian Kokot

Answers (1)

Answers (1)

DominikTylczyn
Active Contributor

Hello fabiankokot

First, you need to choose ME "Inventory Management" application in NACE, not E1 "Inbound Delivery". ME is for material document output determination.

The output type processing program should be RSNASTED, routine ALE_PROCESSING. My previous response points a note that details material document output determination settings. The first thing you need to do is to have the output type determined during the material document posting.

Once you are ready with that, you need to implement a function module that reads the details of a material document and construct an IDoc. You assign this function module to an ALE outbound process code in WE41.

Then you link the outbound process code with the output type in the ALE partner profile definition - transaction WE20 - in the "Message control" tab of the detail settings of an output message.

Take your time to read the blog and SAP Help page that I've pointed to in my previous response.

Best regards

Dominik Tylczynski