Ansicht
Dokumentation
/SCWM/1Q_QPLEXTRFCINSPLOTY - Grabber function for /SCWM/MFG_NOTIFY_PSA_CHG_EXT
ROGBILLS - Synchronize billing plans ABAP Short ReferenceThis documentation is copyright by SAP AG.
This function module determines production supply related stock information from the production supply areas related to production material requests of manufacturing orders.
If called with a manufacturing order number, the stock is determined for all goods movement bins of the products of the items of the related production material request.
If called with a production supply area, the stock on this production supply area is determined. For the order-related stock (single order parts), the references to the production material request items and the manufacturing order number are determined.
This function module can also determine the consumed stock of a manufacturing order to perform a consumption reversal.
Import Parameters
- IV_LOGSYS (mandatory)
- Contains the logical system of the ERP system.
- IV_PLANT (mandatory)
- Contains the plant of the ERP system. The ERP plant and the logical system name are used to map the production supply area names between ERP and EWM
- 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_SUPPLY_AREA (optional)
- Contains the ERP production supply area. This function module determines all stock of this production supply area.
- IV_ORDER_NUMBER (mandatory)
- Contains the manufacturing order number. This number is usually the ERP manufacturing order number. This function module determines all stock on the production supply areas releated to the items of the manufacturing order.
- IV_HU_EXID (optional)
- Contains the external identification of a handling unit. This function module determines all stock information about this handling unit.
- IV_HU_EXID_TYPE (optional)
- Is not used in EWM.
- IV_MATNR (optional)
- Contains the ERP material number.
- IV_WITH_CONSUMED
-
This parameter controls whether the function module determines the available stock or the consumed stock of a manufacturing order.
The values are:
- ' ' = Determine only available stock
- '1' = Determine only consumed stock
- '2' = Determine available stock and consumed stock
Export Parameters
- ET_STOCK_INFO
-
Contains the determined stock information. It consists of the material, the quantities, the handling
unit information, the batches and the stock references to production material request items of the manufacturing orders (for single order parts).
Parameter CONSUMED_IND indicates lines with consumed stock.
- ET_SERIAL_NUMBERS
- Contains the serial numbers for serial number managed products of the stock.
- ET_BAPIRET
- Contains message information.
Parameters
IV_HU_EXIDIV_LOGSYS
IV_PLANT
IV_SUPPLY_AREA
IV_WHS_NO
Exceptions
Function Group
M/SAPL1QRFC_SHOWAddresses (Business Address Services) CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 3784 Date: 20240603 Time: 234344 sap01-206 ( 62 ms )