Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/SAPCEM/BAPI_SHIPDOCCEM_CHANGE - Change Shipping Document

/SAPCEM/BAPI_SHIPDOCCEM_CHANGE - Change Shipping Document

General Data in Customer Master   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI is used for changing a shipping document (header and item data) or for deleting shipping document items.

Generally speaking, the following applies:

  • You only have to enter the data to be changed.
  • You must select this data with an X in the appropriate checkbox structures.
  • You should enter the value U in field UPDATEFLAG (in table ITEMDATAX) (D if you want to delete and item).
  • Always enter key fields when you make changes, also in the checkbox structure.

Possible UPDATEFLAGS: U = Update/change
D = Delete

Example

Notes

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.

Further information





Parameters

EXTENSIONIN
HEADERDATA
HEADERDATAX
ITEMDATA
ITEMDATAX
NUMBER
RETURN
TESTRUN
USERFIELDS
USERFIELDSX

Exceptions

Function Group

CEM/SAPLBAPI_VS

RFUMSV00 - Advance Return for Tax on Sales/Purchases   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2996 Date: 20211128 Time: 120403     sap01-206 ( 61 ms )