SAP Knowledge Base Article - Preview

3386342 - Unable to set batch management indicator on plant level (MARC-XCHPF) using BAPI BAPI_MATERIAL_SAVEDATA

Symptom

When creating materials using BAPI_MATERIAL_SAVEDATA, indicator batch management (Plant) cannot be set. System trigger message MG140 "The field MARC-XCHPF is not ready for input and was therefore not transferred" and the change is ignored.

However when execute same operation in t-code MM01, system trigger message MM661 "Batch Management(Plant) will be defaulted" and indicator batch management (Plant) can be set. 


Read more...

Environment

  • SAP ERP Logistics (LO)
  • SAP S/4 HANA on premise, 1809 and higher release

Product

SAP S/4HANA all versions

Keywords

MM01, MARA-XCHPF, MARC-XCHPF, batch management, MARC-XCHAR, OMSR, OMS2, LMATF03, SONFAUSW_IN_FGRUPPEN_NEW, MATERIAL_FIELD_SPECIAL_SEL_NEW , KBA , LO-MD-MM , Material Master , Known Error

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.