←Previous Step

Step1:Requirement and basic explanation Important

Requirement:Update MARA custom fields using material BAPI BAPI_MATERIAL_SAVEDATA.

We have some custom fields in MARA table, while creating/updating a material I need update them along with material.

To achieve this, we need to follow below steps:

1.Check for the available structure BAPI_TE_<TABLENAME>, here in this requirement BAPI_TE_MARA, and append custom fields using append structure.

2.Pass the structure and values to material BAPI, BAPI_MATERIAL_SAVEDATA.