Outbound Idoc for Post Goods Movements using message type MBGMCR.
But we don’t have any specific message type to send the Material document information when a Post goods movement is done in S/4 HANA 1511 system.
Hence we use the message type MBGMCR for sending material document information to external systems using IDOCs.
In our scenario we use BRF+ application to get the partner profile and partner function details, which in turn used to send the IDOC to external systems.
We are using the FM MASTER_IDOC_DISTRIBUTE to trigger the IDOC manually from the S/4 HANA 1511 system while Post goods movement.
We need to create an implementation for the following BADI.
Basic type: MBGMCR
IDOC type: MBGMCR03
BADI implementation: FM to send IDOC
Build the IDOC structure and transfer it using the following FM.
The following is an example for triggering an outbound IDOC during PGM in MIGO
Document posted successfully and the Material Document number is 4900008344
An IDOC has been generated, Transaction WE02:
The same Material number 4900008344 which has been created in MIGO is passed as a Reference document number to the external systems.
The Data records of the IDOCS.
The data records are depends upon our requirement.
Hence material document details are transferred from S/4HANA 1511 system to external systems through outbound IDOCs.