Skip to Content
avatar image
Former Member


Good morning gurus,

I have an issue regarding the BAPI_NETWORK_COMP_ADD.

I am currently working on a program that uses this BAPI to produce a reservation in the warehouse using wbs element, netowrk and material alongside with other details.

The issue is that currently the code is written to test if the material is movable, but it tests the XWAOK field on the RESB table after the order has been produced (after the COMMIT WAIT).

The result is that, even if the material linked to the NETWORK is not MOVABLE an error is raised but the order is produced.

I would like to know if it's possible to test if that material is movable BEFORE the commit of the BAPI_NETWORK_COMP_ADD, I tried to serach on the net and i debugged the BAPI many times but come up with nothing.

Do you have any suggestions on how to check if a material is movable right after the BAPI and before the commit? (or even before the call of the BAPI?).

The XWAOK field is set inside this BAPI and I noticed that it checks the stock for the material along with other details related to the material.

I thank you very much

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers