SAP Knowledge Base Article - Preview

3839925 - Performance degradation in BAPI_MATERIAL_SAVEREPLICA after upgrade to SAP S/4HANA 2025 excessive MARC table reads during material save

Symptom

After upgrading to SAP S/4HANA 2025, significant performance degradation occurs during material master and article master updates. The following scenarios are affected:

  • BAPI_MATERIAL_SAVEREPLICA (mass maintenance of material data)
  • OData API I_ProductTP_2 (product/article master update via API)
  • Transaction MM17 (mass change of material master records)
  • Transaction MASSD (mass change)
  • Large data migrations involving material plant or storage location extension

Observed behaviour:

  • In SAP S/4HANA 2020, the same process handled dozens of materials within a few seconds.
  • In SAP S/4HANA 2025, processing a single material or article with multiple plant assignments takes more than 5 minutes.
  • An ST05/ST12 database trace shows thousands of individual SELECT statements on table MARC originating from program CL_MPE_VERSNBOM_MATNR_CHECK===CP.
  • MARA table locks may be observed during prolonged save operations.


Read more...

Environment

  • SAP S/4HANA, on-premise
  • SAP S/4HANA Cloud Private Edition

Product

SAP S/4HANA Cloud Private Edition 2025

Keywords

I_ProductTP_2, article master, OData API product master, BAPI_MATERIAL_SAVEREPLICA, MARC, MARA, CL_MPE_VERSNBOM_MATNR_CHECK, CL_MPE_BADI_MATERIAL_CHECK, MPE_MATERIAL_CHECK, follow-up material, NFMAT, MARC locks, material plant extension, MM17, MASSD, material save performance, S/4HANA 2025, S4CORE 109, MPE_FEATURACTIV, EME feature , KBA , LO-MD-MM , Material Master , LO-RFM-MD-ART , Article , PP-PEO-BOM , Versioned Bill of Material API , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.