‎2009 Oct 06 3:06 PM
Hai friends,i need to upload material master data using BAPI_MATERIAL_SAVEDATA.but in the MM01 transaction MARA-BRGEW (gross weight) is mandataory field where as in the above said BAPI i cant find where to populate the gross weight field.so if i run the BAPI it is giving error saying 'The field MARA-BRGEW is defined as a required field; it does not contain an entry'.please help me.Thanks in advance.
Regards,
‎2009 Oct 06 3:14 PM
Hi,
Gross Wght is pass through BAPI_MARM & BAPI_MARMX Structure in bapi BAPI_MATERIAL_SAVEDATA
Check This Sample Code it might help u....
Regards
ABG
‎2009 Oct 06 3:16 PM
In table UNITSOFMEASUREX field gross_wt is brgew
check this link:[http://www.erpgenie.com/forum/viewtopic.php?f=1&t=11808]
Edited by: Keshu Thekkillam on Oct 6, 2009 7:47 PM
‎2009 Oct 07 5:24 AM
Hai firneds,thanks for the reply,i tried the same by populating brgew value in MARM table.but not yet resolved..any more suggestions pls.
Regards,
‎2009 Oct 07 5:43 AM
Hai,
TCODE: SE37
BAPI_MATERIAL_SAVEDATA ,GOTO TABLES TAB,
BAPI_MARM - UNITSOFMEASURE
BAPI_MARM-GROSS_WT - GROSS WEIGHT
REGARDS,
VNEKAT
‎2009 Oct 07 6:28 AM
Hi Rahul, Here is one sample program which used that function module. <li><b>[Program for creating material using BAPI_MATERIAL_SAVEDATA |https://wiki.sdn.sap.com/wiki/display/sandbox/Programforcreating+materialusing++BAPI_MATERIAL_SAVEDATA]</b> Thanks Venkat.O