Hello Ulrich, when switching to SAP S/4HANA and implementing margin analysis with COGS split, there are indeed some challenges regarding the data basis for the COGS calculation. In your specific case, where you want to use the production order cost estimate (FAUF) as the basis for the valuation, you encounter the problem that the standard functionalities primarily support standard cost estimates and sales order cost estimates ### Standard approaches and options: 1. ** Standard cost estimate and sales order cost estimate in margin analysis:** - As you have correctly stated, the COGS split in SAP S/4HANA is mainly based on standard cost estimates or sales order cost estimates. Standard costing (usually stored via the material master data) is often used for standardized products, while sales order costing (or unit costing) is used for more specific or customer-specific products. 2 Customization through BAdIs: - The use of Business Add-Ins (BAdIs) is a common method to map special requirements in the COGS splitting mechanism. The BAdIs, such as COPC_COGS_SPLIT
and COPC_COGS_SPLIT_ITEM
, allow you to implement your own logics to define and split the COGS. These would allow you to integrate the cost information derived from the production orders. ### Potential procedure: #### Step 1: Analysis of existing costing data - Check whether and how the data from COSP/COSS is currently used for the production orders and to what extent this information can be transferred to a standard structure. #### Step 2: BAdIs for integrating production order costing - Use the existing enhancement points using BAdIs to map the transfer of costing data from the production orders to the COGS split logic. Here you could possibly develop a mapping logic that pulls the relevant cost information from COSP/COSS and flows into the COGS split accordingly. #### Step 3: Test and validate - Implement the customizations in a test environment first and validate the results thoroughly to ensure that the costs are mapped and mapped correctly ### Final note: It sounds like you have a very specific requirement that may not be fully covered by standard functionalities. Often in such cases the use of customizing and BAdIs is unavoidable. I would also recommend discussing this with SAP support or an experienced SAP consultant to ensure that all aspects of the conversion and new functionalities are implemented correctly.
Need more help from our chatbot? Click here and visit our AI SAP Helper on the SAP learning platform et.training.1
1. log in with your Espresso Tutorials account. Digital subscription or trial access required.