Ansicht
Dokumentation

/SAPCEM/BAPI_SHIPDOCCEM_CHANGE - Change Shipping Document

/SAPCEM/BAPI_SHIPDOCCEM_CHANGE - Change Shipping Document

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
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

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2996 Date: 20240329 Time: 112340     sap01-206 ( 42 ms )