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 ,custom fields

Former Member
0 Likes
675

Hi friends ,

I am using BAPI_MATERIAL_SAVEDATA to create ,change and delete the materials .Now my problem is ,i have 200 fields to pass into the bapi(given in excel sheet) ,out of which 60 are custom fields .

These 60 fields are an append structure in MARC table .How these fields are updated in the data base through the bapi ?

Can we extend the bapi ? what are the settings and procedure to achieve the same ..

Many thnx

Nugur .

1 ACCEPTED SOLUTION
Read only

former_member376453
Contributor
0 Likes
576

Hi - in SE37 you can go through the documentation of the BAPI, there you can find there is an extension segment EXTENSIONIN. You can pass your custom data through this segment. Go to SE11 and give BAPI_TE_MARC. Here you append your custom segment which you appended in MARC table. Do not forget to extend EXTENSIONINX table with the same sequence of fieldname with only Char1 value.

You can go through the documentation for more details.

Kuntal

2 REPLIES 2
Read only

former_member376453
Contributor
0 Likes
577

Hi - in SE37 you can go through the documentation of the BAPI, there you can find there is an extension segment EXTENSIONIN. You can pass your custom data through this segment. Go to SE11 and give BAPI_TE_MARC. Here you append your custom segment which you appended in MARC table. Do not forget to extend EXTENSIONINX table with the same sequence of fieldname with only Char1 value.

You can go through the documentation for more details.

Kuntal

Read only

former_member156446
Active Contributor
0 Likes
576

[Example for Filling the ExtensionIn Parameter|http://help.sap.com/saphelp_nw04/helpdata/en/6b/3f6d2b6d0711d396a50004ac96334b/content.htm]