Ansicht
Dokumentation
/SAPCEM/BAPI_SHIPDOCCEM_CHANGE - Change Shipping Document
TXBHW - Original Tax Base Amount in Local Currency CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
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
EXTENSIONINHEADERDATA
HEADERDATAX
ITEMDATA
ITEMDATAX
NUMBER
RETURN
TESTRUN
USERFIELDS
USERFIELDSX
Exceptions
Function Group
CEM/SAPLBAPI_VSGeneral Data in Customer Master CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2996 Date: 20240427 Time: 012845 sap01-206 ( 42 ms )