Ansicht
Dokumentation
/SAPPO/BAPI_ORDER_SET_CONTEXT - Set Context Data for Creation of Postprocessing Order
General Material Data Fill RESBD Structure from EBP Component StructureThis 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 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
BUSINESSPROCESSBUSINESSPROCESSID
CHECKBAR
COMPONENT
EXTENSIONIN
PROCESSEXTENSION
PROCESSISACTIVE
RETURN
Exceptions
Function Group
PO/SAPLBAPI_ORDERABAP Short Reference BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 3576 Date: 20240523 Time: 065606 sap01-206 ( 58 ms )