Ansicht
Dokumentation

MPE_VERSNBOM_CREATE_VERSION - Creates New BOM Version

MPE_VERSNBOM_CREATE_VERSION - Creates New BOM Version

RFUMSV00 - Advance Return for Tax on Sales/Purchases   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to create a new BOM version, for example, with reference to an existing released BOM version.

Import Parameters

  • IS_BOM_HEADER_IN: Here you must enter the BOM header details. The Material, Plant, BOM Usage, BOM Alternative, and existing BOM Version Number are mandatory fields to be passed. The BOM Number is optional. If not passed, it is determined internally.
  • IS_BOM_HEADER_INX: Here you enter the header fields that you want to modify in the new BOM version and set the update flag for each field.
  • IV_NEW_VERSION: Here you can enter a new version number for the BOM. This is an optional field and if not passed, a new version number 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 the new BOM version was created successfully (= X).
  • ES_BOM_HEADER: Contains the header values of new version of the BOM.

Table Parameters

  • T_BOM_ITEMS_IN: Here you need to enter details of the BOM items to be updated in the new BOM version along with the update type (update, delete, or insert). For more information, click the parameter link below.
  • T_BOM_ITEMS_INX: Here you enter the item fields that you want to update and set the update flag for each field.
  • T_EFFECTIVITY_IN: Here you enter effectivity values, which apply to unitized materials only. For more information, click the parameter link below.
  • T_BOM_ITEMS: Contains the item values of the new BOM version.
  • T_MESSAGES: Contains all messages generated during creation of a new BOM version.





Parameters

ES_BOM_HEADER
EV_SUCCESS
IS_BOM_HEADER_IN
IS_BOM_HEADER_INX
IV_NEW_VERSION
IV_NO_COMMIT
T_BOM_DIR_IN
T_BOM_ITEMS
T_BOM_ITEMS_IN
T_BOM_ITEMS_INX
T_DMUTMX_IN
T_DMUTMX_META_IN
T_EFFECTIVITY_IN
T_MESSAGES

Exceptions

Function Group

MPE_VERSNBOM

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 3738 Date: 20240523 Time: 060233     sap01-206 ( 52 ms )