Skip to Content
0
Aug 10, 2011 at 06:04 PM

BAPI_MATERIAL_SAVEDATA for NLAG

46 Views

Hi all,

I'm using BAPI_MATERIAL_SAVEDATA and it is working well for all types of material, less for NLAG. The material has only the views NLAG Basic, Purchasing and Accounting active.

when 'NLAG'.

st_headdata-basic_view = c_x.

st_headdata-purchase_view = c_x.

st_headdata-account_view = c_x.

However, when running my program, the BAPI returns errors requesting fields as VKORG, LGORT, which are fields of visions of Storage and Sales.

I can not find anything wrong in the program, since it works the same way for all other types.

There may be some setting wrong for this particular type of material or someone has an idea what might be happening?

Thank you!