Ansicht
Dokumentation

/SAPCEM/BAPI_SHIPDOCCEM_CREATE - Create Shipping Document

/SAPCEM/BAPI_SHIPDOCCEM_CREATE - Create Shipping Document

Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

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

EXTENSIONIN
HEADERDATA
ITEMDATA
NUMBER
RETURN
TESTRUN
USERFIELDS

Exceptions

Function Group

CEM/SAPLBAPI_VS

rdisp/max_wprun_time - Maximum work process run time   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2348 Date: 20240420 Time: 161411     sap01-206 ( 33 ms )