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
329

Hello.

I am Trying to use the Standard BAPI: BAPI_MATERIAL_SAVEDATA, to create and update materials. But I have problems because the BAPI is returning error messages related to WERKS and LGORT and it says that these fields are missing. I am not including WAREHOUSE_VIEW, so I do not know why is this happening?

I need some help to use properly this BAPI.

Thanks.

Diana.

1 REPLY 1
Read only

Former Member
0 Likes
304

Which fields of the " HEADDATA" structure did you move a value of 'X' to? You probably have STORAGE_VIEW = 'X' or MRP_VIEW = 'X'. If you specify only BASIC_VIEW = 'X', it should work. But again, if your configuration makes plant view mandatory, you may have to create it.