Skip to Content
0
Jun 26, 2018 at 06:05 AM

Material master BAPI giving error

331 Views

Hi

I am in the course of executing BAPI for creating material.

Initially i used BAPI "MATERIAL_NUMBER_GET_NEXT" by giving the material type input. In my case it is ZPPK. I was given a material number as output.

Secondly i used the next BAPI ""BAPI_MATERIAL_SAVEDATA" to create the material. I was created with the material. The issue is when i give the Base UoM as "KG" in the import structure "CLIENTDATA" in the field "BASE_UOM" and i ticked only the Basic view. There is another field "PACK_VO_UN" which is the Volume unit in the same structure. I gave the values as ""3" which equivalent is INQ. I was able to create the material. But at the same time when i give the Base_UOM as "EA" and the same volume unit field as ""3", i am getting an error as "The field MARA-VOLEH is defined as a required field; it does not contain any".

Can you please let me know if i am missing out any other mandatory fields in the structure. Please guide me.