We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
This BAPI is used for changing a shipping document (header and item data) or for deleting shipping document items.
Generally speaking, the following applies:
Possible UPDATEFLAGS: U = Update/change
D = Delete
If the sender/recipient is of category network or project definintion, you must enter a network activity or WBS element for the project definition in the HEADERDATA since the BAPI guidelines do not allow dialog.
If an equipment, which represents a package, is transferred into table ITEMDATA, this package is not exploded. The user is responsible for exploding and transfering the package items as part of the ITEMDATA. You can possibly use RFC function module /SAPCEM/HIER_PAKET_AUFLOESEN.
If an error is found (parameter RETURN contains entries of TYPE E or A) and the shipping documeent cannot therefore be changed, you must ensure that all locks are released.
The BAPI does not involve a database commit. This means that the calling application has to exit the commit so that changes can be made on the database. BAPI BAPI_TRANSACTION_COMMIT is available for this purpose.