SAP Knowledge Base Article - Public

3805478 - CKMLCP preparation step fails with runtime error

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

  1. Open app CKMLCP and start a costing run.
  2. Complete the Selection step successfully.
  3. 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

  1. 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.
  2. 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

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