Ansicht
Dokumentation

/SAPPO/BAPI_ORDER_CREATE - Create Postprocessing Order

/SAPPO/BAPI_ORDER_CREATE - Create Postprocessing Order

CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use the BAPIs /SAPPO/BAPI_ORDER_SET_CONTEXT, /SAPPO/BAPI_ORDER_CREATE and /SAPPO/BAPI_ORDER_SAVE to create postprocessing orders.

You can use two different call up sequences:

  • /SAPPO/BAPI_ORDER_SET_CONTEXT
  • DO
  • /SAPPO/BAPI_ORDER_CREATE
  • ENDDO
  • /SAPPO/BAPI_ORDER_SAVE
  • BAPI_TRANSACTION_COMMIT

or

  • /SAPPO/BAPI_ORDER_SET_CONTEXT
  • DO
  • /SAPPO/BAPI_ORDER_CREATE
  • /SAPPO/BAPI_ORDER_SAVE
  • ENDDO
  • BAPI_TRANSACTION_COMMIT

The creation process is initiated by /SAPPO/BAPI_ORDER_SET_CONTEXT, which first deletes the global memory of the function group and then sets the context data in the global memory, which is relevant for further processing.

/SAPPO/BAPI_ORDER_CREATE creates the postprocessing orders in the global memory.

/SAPPO/BAPI_ORDER_SAVE persists the postprocessing orders created in the memory and then deletes them from the global memory.

You can use /SAPPO/BAPI_ORDER_REFRESH to delete the postprocessing orders from the global memory.

Notes

Customer enhancements

Business Add-Ins (BAdIs) are available for this method. They can be found in the implementation guide (IMG) for the Postprocessing Office under Business Add-Ins (BAdIs) -> General BAdIs -> BADI : Create Postprocessing Orderand under Business Add-Ins (BAdIs) -> BAdIs for BAPIs-> BAdI for Creating Postprocessing Orders by BAPIs.

Notifications

Further information

For more information on postprocessing orders, see the SAP Library under SAPNetWeaver-> Application Platform (SAP Web Application Server) -> Cross Services -> Postprocessing Office (CA-GTF-TS-PPO).





Parameters

BASICOBJECT
CREATIONDATE
CRTBLE_ORDER_ATTR
CUSTOMEREXIT
ENVOBJECT1
ENVOBJECT2
EXTENSIONIN
MAINMESSAGE
MAINOBJECT
MESSAGES
OBJECTS
ORDER
POSTDATE
RETURN

Exceptions

Function Group

PO/SAPLBAPI_ORDER

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4163 Date: 20240427 Time: 042451     sap01-206 ( 58 ms )