Specification structure of simulation production path
A specification type can be used to represent an assembly or the entire production route with alternatives. The specification type has structures in which assemblies, operations, and components are mapped with their technical parameters. The determination of the data is supported by the use of ABAP methods and business rules in BRF+.
The configuration is described under PP - Configuration Specification Type (H)
Specification types are assigned their own specification class. Implementation notes are described at PP - Implementation Specification Type Class (H)
Production master data (H)
Bills of material and routings for the material and plant are required for the functions costing, creation of planned orders, and production orders. The relevant QPPD specification type determines the BOMs and routings.
Adapter master data
Alternatively, two adapters are provided for connecting the BOMs and routings.
Adapter variant configuration dependency
The adapter uses functions of SAP standard variant configuration. Procedures and selection conditions are used to call the methods in class /SCT/QP_CL_BAPI_PP.
Advantage: no modification in SAP standard is necessary. The application is valid for all applications Costing, Production, Planned Order, and Advanced Planner.
Disadvantage: Very complex configuration in variant configuration with many objects like function modules, function, and object dependencies. All BOMs and routings must be configured accordingly. The objects must be maintained in the whole system landscape.
The configuration is described under PP - Configuration Adapter Dependencies (H).
Adapter enhancement SAP Standard
The BOM and routing selection application in SAP standard are extended with QPPD BAdI calls.
Advantage: fast implementation and maintenance of BOMs and routings are not required.
Disadvantage: Modification in SAP standard. SPAU adjustment must be performed and confirmed at each release upgrade. The application does not run the Advanced Planner Optimizer.
The configuration is described under PP - Configuration Adapter SAP Standard Enhancement (H)
Business Add-Ins (BAdIs)
When creating the master data for the cost estimate, production order, and planned order, the methods of the class /SCT/QP_CL_BADI_PP are called via the adapters. This class is the central link between SAP standard application and QPPD objects. The class should be redefined in any case, to carry out further filtering of objects later if necessary. This is mandatory when using the Adapter Extension Adapter.
VART-Class
The assemblies are managed in the respective VART-classes with material, plant, and production versions. Operations are assigned hierarchically to the assemblies.
The VART-class must implement the interface /SCT/QP_IF_PP. In the VART-class, the method /SCT/QP_IF_PP~GET_PP_MASTER_DATA is implemented essentially. This method determines BOM components (STPO) and operations of the routing (PLPO) and makes them available to the application.
As a support, the method /SCT/QP_CL_PP_SERVICE~MAP_INSTANCE_TO_MASTER_DATA is provided in the class /SCT/QP_CL_PP_SERVICE. This method performs the mapping of QPPD nodes and elements into the master data structures.
Service Class
The service class /SCT/QP_CL_PP_SERVICE is based on a synchronization model in which the relevant VARTs (specification types) are defined in Customizing and define the mapping to the nodes and elements. This is done for master data tables MKAL, STPO, and PLPO.
The default synchronization model for PP master data objects is PP_MASTERDATA. The configuration is described under PP - Synchronisation Master Data (H)

