Ansicht
Dokumentation
MPE_VERSNBOM_CREATE_INITIAL - Creates Initial BOM Version
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
You can use this function module to create the initial version of a BOM for unitized and non-unitized materials.
Import Parameters
- IS_BOM_HEADER_IN: Here you must enter the BOM header details. The Material, Plant, BOM Usage, Base Unit of Measure, and Base Quantity are mandatory fields to be passed. The BOM Alternative and BOM Version fields are optional. If not passed, it is determined internally.
- IV_NO_COMMIT: Here you specify how the commit is handled (X = application must trigger the commit; SPACE = commit is handled inside the function module).
Export Parameters
- EV_SUCCESS: Indicates whether creation of the initial version of the BOM was successful (= X).
- ES_BOM_HEADER: Contains the header values for the initial version of the BOM created.
Table Parameters
- T_BOM_ITEMS_IN: Here you must enter the BOM item details. The Item Category, BOM Component, Unit of Measure, and Component Quantity are mandatory fields. Enter a unique item identifier (000001, 000002, 000003, and so on) for each item in the field NEW_ITEM_IDENT.
- T_EFFECTIVITY_IN: Here you enter effectivity values, which apply to unitized materials only. Enter effectivity values against the unique item identifier (NEW_ITEM_IDENT) of each BOM item of parameter T_BOM_ITEMS_IN. You can enter either a change number or effectivity values.
- T_BOM_ITEMS: Contains the item values for the initial version of the BOMs created.
- T_MESSAGES: Contains all messages generated during creation of the initial BOM version.
,,
,,
Parameters
ES_BOM_HEADEREV_SUCCESS
IS_BOM_HEADER_IN
IV_NO_COMMIT
T_BOM_DIR_IN
T_BOM_ITEMS
T_BOM_ITEMS_IN
T_DMUTMX_IN
T_DMUTMX_META_IN
T_EFFECTIVITY_IN
T_MESSAGES
Exceptions
Function Group
MPE_VERSNBOMPERFORM Short Reference ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3363 Date: 20240603 Time: 234439 sap01-206 ( 56 ms )