Ansicht
Dokumentation
/SCWM/MFG_CONSUME_ITEMS_EXT - Consumption of Goods from Production
Fill RESBD Structure from EBP Component Structure CPI1466 during BackupThis documentation is copyright by SAP AG.
This function module invokes the method POST_CONSUMPTION of the API /SCWM/IF_API_MFG_CONSUMPTION", which enables you to post consumption from production for packed and unpacked goods.
For more information, see the documentation of this method.
Import Parameters
- IV_LOGSYS (mandatory)
- Contains the logical system of the ERP system.
- IV_WHS_NUMBER (mandatory)
- Contains the ERP warehouse number. The ERP warehouse number and the logical system are used to determine the EWM warehouse number.
- IV_ORDER_NUMBER (mandatory)
- Contains the manufacturing order number. This number is usually the ERP manufacturing order number.
- IT_ITEMS (mandatory)
- Contains the items of the manufacturing order for consumption postings. An item consists of the material, the reservation item, the production supply area, the handling unit (optional), the batch (for batch managed materials) and the quantities to be consumed.
- IT_SERIAL_NUMBERS (optional)
- Contains the serial numbers of materials which are serial number managed. For serial number manged products, the unique serial numbers have to be passed in this table to identify which serial numbers are to be consumed.
Export Parameters
- EV_GMDOC
Contains the number of the goods movement document in EWM.
- ET_BAPIRET
- Contains the message information.
Parameters
ET_BAPIRETEV_GMDOC
IT_ITEMS
IT_SERIAL_NUMBERS
IV_LOGSYS
IV_ORDER_NUMBER
IV_PLANT
IV_WHS_NO
Exceptions
EX_ERRORFunction Group
M/SAPLMFG_EXTERNALBAL_S_LOG - Application Log: Log header data Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 2037 Date: 20240426 Time: 234146 sap01-206 ( 35 ms )