Ansicht
Dokumentation
/SAPCEM/BAPI_SHIPDOCCEM_CREATE - Create Shipping Document
General Material Data General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
BAPI /SAPCEM/BAPI_SHIPDOCCEM_CREATE can be used to create a CEM shipping document.
Example
The following data, at least, must be entered for the BAPI:
- HEADERDATA-DOC_TYPE (document type)
- HEADERDATA-SENDER (sender)
- HEADERDATA-RECIPIENT (recipient)
- HEADERDATA-DOC_DATE (document date)
- ITEMDATA-EQUIPMENT or ITEMDATA-MATERIAL
Notes
If there is an error (parameter RETURN contains entries of TYPE E or A), and the shipping document can therefore not be created, the caller of the BAPI is responsible for releasing all locks and also responsible for the commit work.
If the sender/recipient of category network or project definition, the user must enter a network activity or a WBS element for the project definition in the HEADERDATA since the BAPI guidelines do not allow a 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.
Further information
Parameters
EXTENSIONINHEADERDATA
ITEMDATA
NUMBER
RETURN
TESTRUN
USERFIELDS
Exceptions
Function Group
CEM/SAPLBAPI_VSBAL Application Log Documentation RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 2348 Date: 20240328 Time: 112515 sap01-206 ( 37 ms )