Ansicht
Dokumentation
MPE_INT_GOODSMVT_CREATE - Creates Goods Movement for Production Order in PEO-ERP Integration
PERFORM Short Reference rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
You use this function module as an inbound function module to create goods movements (goods receipts and goods issues) in the SAP ERP or SAP S/4HANA on-premise system from the PEO system via Remote Function Call (RFC). In a PEO-ERP integration scenario, the SAP S/4HANA system running PEO calls this remote-enabled function module to replicate goods movements to the SAP ERP or S/4HANA on-premise system.
The import values are used to replicate goods movements from the PEO system and create them in the SAP ERP or SAP S/4HANA on-premise system. The export values are used to set the response (processing was successful or failed).
Example
Notes
You must be assigned the following authorization objects to access the function module for replicating goods movements:
Authorization Object | Activity | Short Text |
---|---|---|
M_MSEG_BMB | ACTVT – 01, BWART | Material Documents: Movement Type |
M_MSEG_BWA | ACTVT – 01, BWART | Goods Movements: Movement Type |
M_MSEG_BWF | ACTVT – 01, BWART | Goods Receipt for Production Order: Movement Type |
M_MSEG_LGO | ACTVT – 01, BWART, WERKS, LGORT | Goods Movements: Storage Location |
M_MSEG_WMB | ACTVT – 01, WERKS | Material Documents: Plant |
M_MSEG_WWA | ACTVT – 01, WERKS | Goods Movements: Plant |
M_MSEG_WWF | ACTVT – 01, WERKS | Goods Receipt for Production Order: Plant |
Further information
Parameters
ET_RETURNIS_GMCODE
IS_GOODSMVT_HEADER
IT_GOODSMVT_ITEM
IT_GOODSMVT_SERIALNUMBER
IV_COMMIT_WORK
IV_TESTRUN
Exceptions
MISSING_AUTHORIZATIONFunction Group
CORU_GOODSMVTCPI1466 during Backup SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 2672 Date: 20240523 Time: 081818 sap01-206 ( 47 ms )