Ansicht
Dokumentation
/SAPCEM/BAPI_SHIPDOCCEM_CREATE - Create Shipping Document
PERFORM Short Reference Vendor Master (General Section)This 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_VSSUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 2348 Date: 20240419 Time: 090743 sap01-206 ( 35 ms )