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: 

bapi for materials update

Former Member
0 Kudos
293

Hi,

is there any bapi for update materials

2 REPLIES 2

Former Member
0 Kudos
54

BAPI_MATERIAL_EDIT, for example. Look at SWO1, business object BUS1001.

Former Member
0 Kudos
54

Hi,

I usually work with a better bapi (in my opinion...) - BAPI_MATERIAL_SAVEDATA. U will find good documentatio in se37 (function module docu.) and also in trnx BAPI, under StandardMaterial -> SaveData (BUS1001006) in the documentation tab.

The parameters are itabs for each aspect of the material (plant data, storage location data, valuation data, etc).

As it is done in many BAPIs, here also, for each field u wish to update u have to put X in the corresponding field in the X structure (each itab in the parameters has a corresponding itab which is called the same as the original with an X suffix containing the same field list but they can contain only X).

Good luck

Igal