Symptom
- Error during preparation step of CKMLCP. Background job is cancelled with runtime error ITAB_ILLEGAL_SORT_ORDER.
- CKMLCP Preparation step throws a runtime error (ITAB_UNSORTED_APPEND) when run across multiple plants.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open app CKMLCP and start a costing run.
- Complete the Selection step successfully.
- Launch the Preparation step; the job terminates with runtime error ITAB_ILLEGAL_SORT_ORDER.
Cause
Known defect in CKMLCP that occurs when the costing run processes materials across multiple plants with cross-period production orders.
Resolution
- This is a known bug in CKMLCP that occurs when the costing run processes materials spanning multiple plants with cross-period production orders. A hotfix has already been developed and is confirmed to be delivered to your system on October 12.
- As a workaround, run the Preparation step separately for each plant. You can execute Settlement and Post Closing across all plants as usual.
See Also
- refer to: SAP Note 3072643
Keywords
CKMLCP, preparation step, ITAB_ILLEGAL_SORT_ORDER, runtime error, Actual Costing, Material Ledger, costing run, cross-period orders, multi-plant, background job canceled, CO-PC-ACT, SAPLFCML4H_RUN_SETTLE, ITAB_UNSORTED_APPEND , KBA , CO-PC-ACT-2CL , Actual Costing (Public Cloud) , Known Error
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public