Symptom
The BADI FIN_ACT_COST_SPLIT is used in Actual Costing to adjust the apportionment structure for allocating price differences among co-products in joint production. If implemented, the BAdI is called up in the Preparation step of app Edit Actual Costing Runs (CKMLCP) and determines new ratios for allocating differences among co-products for the Settlement step. The new ratios replace the equivalence numbers maintained in apportionment structure in master record of the main co-product.
If using the default sample code in BADI, by-product will also be considered to allocate the price difference.
If the by product is maintained as 2S controlled, which is not being included in the actual costing run process, will cause "Not Allocated" price difference.
Environment
SAP S/4HANA Cloud Public Edition
Cause
- By-product materials with price control set to 2S are excluded from the actual costing run process, leading to the 'Not allocated' price difference.
- The use of BADI FIN_ACT_COST_SPLIT considers co-products and by-products, but by-products are not included in the allocation process.
Resolution
- Change the price determination from 2 to 3 for all by-products and re-run the actual costing process.
- Alternatively, disable the BADI FIN_ACT_COST_SPLIT and maintain equivalence numbers for co-products in the material master data to exclude by-products from the actual costing allocation process.
- Refer to the blog "Joint Production in Product Costing in SAP S/4HANA Cloud Public Edition" for further details on BADI usage and configuration.
See Also
Keywords
actual costing, CKMLCP, CKM3A, not allocated, price difference, by-product, co-product, BADI FIN_ACT_COST_SPLIT, equivalence numbers, SAP S/4HANA Cloud Public Edition, settlement process, price control , KBA , CO-PC-ACT-2CL , Actual Costing (Public Cloud) , Problem
SAP Knowledge Base Article - Public