SAP Knowledge Base Article - Public

3199976 - Error when archiving batch master records using LO_BATCH

Symptom

When trying to archive batch master records by scheduling an archiving job in Manage Archiving Variants using LO_BATCH ILM object, the following error occurs:

  • MCH1 batch stock exists

Environment

SAP S/4HANA Cloud.

Cause

Error 'MCH1 batch stock exists' means that there is still a stock segment existing for batches.

Resolution

There is still a stock segment existing for batches.

Before archiving the batches, you will have to delete the stock segments. Stock segments can be deleted by data destruction, data destruction object MM_STO_BATCH_DEST (Batch stock destruction).

Please execute data destruction to delete the stock segments and try to archive the batches again.

For more details please take a look at the following link:

See Also

Archiving Batch Master Records Using LO_BATCH

Keywords

LO_BATCH, Archive, Archiving, batch, master records, error, MCH1 batch stock exists, delete, MM_STO_BATCH_DEST. , KBA , LO-BM-BF , Basic Functions , Problem

Product

SAP S/4HANA Cloud all versions