Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
1,038

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,

5 REPLIES 5
Read only

Former Member
0 Likes
715

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
715

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

Read only

0 Likes
715

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,

Read only

Former Member
0 Likes
715

Hai,

TCODE: SE37

BAPI_MATERIAL_SAVEDATA ,GOTO TABLES TAB,

BAPI_MARM - UNITSOFMEASURE

BAPI_MARM-GROSS_WT - GROSS WEIGHT

REGARDS,

VNEKAT

Read only

venkat_o
Active Contributor
0 Likes
715

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