Solution : https://service.sap.com/sap/support/notes/896461 (SAP Service marketplace login required)
Summary :
SAP Note explains the use of BAdI CKMLAVR_SIM in altering the quantity structure and value frame for transactions under CKMLCPAVR. The BAdI enables cumulation in the cost estimate cockpit of the AVL, allowing aggregation of active actual quantity structures and value frames over multiple periods. The BAdI can then modify or erase data post-cumulation per customer requirements. To implement, populate the necessary fields in CKMLAVR_CPTFUNC and CKMLAVR_CPTFUNCT tables, and create an entry in SCMAPROGRAMS to prevent errors. It's crucial to replace the default implementation class CL_DEF_IM_CKMLAVR_SIM with a specific implementation for optimal usage.
Key words :
-pc-actwlflg ' 'selflg ' 'repflg ' 'note, delete static log data, classic cost estimate functions, default implementation class cl_def_im_ckmlavr_sim, alternative valuation run cockpit, active actual quantity structure, cost estimate cockpit, delete beginning inventories, fiscal year variant, multilevel price determination
Related Notes :
996309 | BAdI used in material ledger - general information |
896462 | BADI CKMLAVR_SIM: Exception NO_OPEN_RECORD_FOUND |