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

Material Master: Update the Z fields using BAPI

Former Member
0 Likes
1,556

Hi to all,

My requirement is simple. But I do not have much knowledge on BAPI. I have got some information that we can extend th BAPI and update the Z fields in material master. I have added the z fields in MARA. So when I call the bapi z fields has to get update.

Which BAPI can i use? I have got one BAPI - BAPI_MATERIAL_SAVEDATA. plz suggest me to do it.

1. how do i enhance the BAPI or extend th BAPI.

2. Is ther any approch to do it.

thnks

Yerukala Setty

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
632

Hi

Check the below example,

http://help.sap.com/saphelp_nw04/helpdata/en/6b/3f6d2b6d0711d396a50004ac96334b/content.htm

Also this will help.

Regards

Gaurav

2 REPLIES 2
Read only

Former Member
0 Likes
632

Hi,

Append the z fields to BAPI_TE_MARA and BAPI_TE_MARAX structures using append structures.

Populate two structures for the fields in BAPI_TE_MARA and BAPI_TE_MARAX.

To BAPI_MATERIAL_SAVEDATA, under EXTENSIONIN parameters, pass structure name as BAPI_TE_MARA and Value Part1, 2, 3, 4 with the filled structure info.

Similarly append X structure as well.

Regards,

Ganga

Read only

Former Member
0 Likes
633

Hi

Check the below example,

http://help.sap.com/saphelp_nw04/helpdata/en/6b/3f6d2b6d0711d396a50004ac96334b/content.htm

Also this will help.

Regards

Gaurav