Application Development 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: 

question on bapi_material_savedata

bala_krishna007
Participant
0 Kudos

Hi,

I want to update only the material unit of measure( meins) and MAKTX and do not want to chnage remaining fileds in material master data using BAPI BAPI_MATERIAL_SAVEDATA. Could you please let me know the necessary fields to be passed only for updating these fields.

thanks,

balu

2 REPLIES 2

rajkumarnarasimman
Active Contributor
0 Kudos

Hi Balakrishna t Krishna,

"I want to update only the material unit of measure( meins) and MAKTX 

The field which you want to update in material master, update only those field in BAPI BAPI_MATERIAL_SAVEDATA.

Pass the Material number in HEADDATA-MATERIAL. To update UOM, use field(BASE_UOM, BASE_UOM_ISO) in structure(CLIENTDATA, CLIENTDATAX) and to update the MAKTX, maintain the value in MATERIALDESCRIPTION table.

Regards

Rajkumar Narasimman

raymond_giuseppi
Active Contributor
0 Kudos

As with many BAPI, pass the key fields where required, only provide value to other fields you want to change in required parameter and set the related BAPIUPDATE type field, same field name in the parameterX parameter.

First read the BAPI FM documentation, it's already explained there.