Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/SAPCEM/BAPI_SHIPDOCCEM_CREATE - Create Shipping Document

/SAPCEM/BAPI_SHIPDOCCEM_CREATE - Create Shipping Document

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
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

General Material Data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2348 Date: 20211204 Time: 025113     sap01-206 ( 50 ms )