Ansicht
Dokumentation
CP_IDOC_BOM_ROUTING_INBOUND2 - Creates/Updates BOM, Routing, and Production Version Based on Inbound IDoc
rdisp/max_wprun_time - Maximum work process run time CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
You use this function module as inbound process code for the PEOROU IDoc to create or update bill of material (BOM), routing, and production version in the destination ERP system (SAP ECC or SAP S/4HANA) for production versions with version-controlled BOM and shop floor routing originating from SAP Digital Supply Chain Management, Edition for SAP S/4HANA.
The input values lead to creation or update of the BOM, routing, and production version. The export values are used to set the IDoc status (processing was successful or failed) and detailed messages are created in the application log.
Note that you must implement the Business Add-In BADI_CP_BOM_MAINTAIN to change the version-controlled BOM usage value in the PEOROU IDoc received from your PEO system to a value that can be read by this inbound function module in your SAP ECC system.
The system considers the following fields when creating or updating the bill of material, routing, and production version:
BOM
Header
- Material Number
- Plant
- BOM Usage
- Alternative BOM
- Valid From Date
Item
- Item Category
- Item Number
- Component
- Quantity
- Quantity UOM (Unit of Measure)
Routing
Header
- Routing Type
- Key for Routing/Task List Group
- Routing Counter
- Plant
- Material Number
- Routing Unit of Measure
- Minimum Lot Size
- Maximum Lot Size
- Key Date
- Routing Usage
- Routing Status
Operation
- Operation/Activity Number
- Control Key
- Work Center
- Operation Short Text
- Unit of measure for activity
- Sequence
- Denominator
- Base Quantity
Components
- Operation/Activity Number
- BOM category
- Alternative BOM
- Bill of Material
- Item ID
- Material
- Sequence
Production Version
- Routing Type
- Key for Routing/Task List Group
- Routing Counter
- Plant
- Material Number
- BOM Usage
- Alternative BOM
- Production Version
- Short text for production version
- Validity Start date
- Minimum Lot Size
- Maximum Lot Size
- Production Version lock
Example
Notes
Further information
Parameters
APPLICATION_VARIABLECALL_TRANSACTION_DONE
IDOC_CONTRL
IDOC_DATA
IDOC_STATUS
INPUT_METHOD
IN_UPDATE_TASK
MASS_PROCESSING
RETURN_VARIABLES
SERIALIZATION_INFO
WORKFLOW_RESULT
Exceptions
Function Group
CP_BOM_ROUTING_PV_INTGrdisp/max_wprun_time - Maximum work process run time CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 4199 Date: 20240523 Time: 103614 sap01-206 ( 56 ms )