SAP Knowledge Base Article - Public

3329567 - Error ML4HMASTER226 occurs during selection step of Actual Costing Run

Symptom

In app Edit Actual Costing Run, step Selection, you get below error for some materials:

CKMM initialization records exist in period >= AAA/BBBB.
Message no. ML4HMASTER226

If you execute Actual Costing Run for previous periods, you may also get below error in step Preparation:

Close previous period for material A5B00901050662 first
Message no. ML4HMASTER106

Environment

SAP S/4HANA Cloud Public Edition

Cause

You can check the change history of the material with app Display Change Documents. You should be able to see there were changes of CKMM for the relevant material.
If you change the price determination from 2 to 3, the system creates information for the current and previous period and the last period of the previous year only. The same applies to the initialization of the actual cost component split.
For example, if the time you made CKMM change happens in period 4, the system will generate actual cost component split data for period 3 & 4, and also for period 12 in last year.
If you try to include the material into actual costing run for period 11 in last year, you will get error ML4HMASTER226.
If you try to include the material into actual costing run for period 1 or 2 in current year, you will get error ML4HMASTER106 in the preparation step.

Resolution

Since the actual costing only starts from period 3 in above example, you don't need to carry out the actual costing run for the material in previous periods.
You can start the run from period 3 and set flag "Allow Open Status for Previous Period" in parameter of step Preparation. Then the error ML4HMASTER106 will not happen.

Keywords

ML4HMASTER 106, ML4HMASTER 226, previous period, CKMM, initialization, CKMLCP, actual costing, material ledger. , KBA , CO-PC-ACT-2CL , Actual Costing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions