/SAPCEM/BAPI_SHIPDOCCEM_CREATE - Create Shipping Document

PERFORM Short Reference   ROGBILLS - Synchronize billing plans  
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 cantherefore 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 notexploded. 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

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.


Length: 2438 Date: 20120525 Time: 114610     triton ( 69 ms )