/SAPPO/BAPI_ORDER_CREATE - Create Postprocessing Order

rdisp/max_wprun_time - Maximum work process run time   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

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 memoryof 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

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.


Length: 4277 Date: 20120525 Time: 131700     triton ( 107 ms )