Ansicht
Dokumentation
/SAPPO/BAPI_ORDER_CLOSE - Close Open Postprocessing Orders
ROGBILLS - Synchronize billing plans Vendor Master (General Section)This documentation is copyright by SAP AG.
Functionality
You can use the BAPIs /SAPPO/BAPI_ORDER_OPEN, /SAPPO/BAPI_ORDER_SET, /SAPPO/BAPI_ORDER_SAVE and /SAPPO/BAPI_ORDER_CLOSE to change postprocessing orders.
You must use the following call up sequence:
- /SAPPO/BAPI_ORDER_OPEN
- DO
- /SAPPO/BAPI_ORDER_SET
- /SAPPO/BAPI_ORDER_SAVE
- BAPI_TRANSACTION_COMMIT
- ENDDO
- /SAPPO/BAPI_ORDER_CLOSE
After you call up /SAPPO/BAPI_PO_ORDER_OPEN, you can read the global memory of the function group using the BAPIs /SAPPO/BAPI_ORDER_GET_DETAIL and /SAPPO/BAPI_ORDER_GET_DETAILS.
The BAPI /SAPPO/BAPI_PO_ORDER_OPEN locks the postprocessing orders to be opened for postprocessing, reads them from the database, and writes them to the global memory.
The BAPI /SAPPO/BAPI_PO_ORDER_SET updates the global memory. You must specify the postprocessing orders to be changed and the new values for the changeable fields in the parameter ALLOWEDUPDATEFIELDS. Note that you must also enter the old contents for fields that cannot be changed. For more information, see the documentation for the parameter.
The BAPI /SAPPO/BAPI_PO_ORDER_SAVE persists the global memory.
The BAPI /SAPPO/BAPI_PO_ORDER_CLOSE deletes the global memory and removes the locks.
Notes
Authorization check
The system checks whether the change activity is allowed for the postprocessing orders to be opened.
Customer enhancements
A Business Add-In (BAdI) is available for this method, which you can find in the implementation guide (IMG) for the Postprocessing Officeunder Business Add-Ins (BAdIs) -> BAdIs for BAPIs-> BAdI for Changing Postprocessing Orders by BAPIs.
For more information about customer enhancements, see the SAP Library under Cross-Application Components -> Business Framework Architecture (CA-BFA) -> Further Development, Modifications -> Customer Enhancement and Modification of BAPIs -> Customer Enhancement of BAPIs.
Notifications
Messages are returned in the return parameter. For information about the return values and their meaning, see the parameter list documentation.
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
ALLKEYSORDERS
RETURN
Exceptions
Function Group
PO/SAPLBAPI_ORDERGeneral Data in Customer Master ROGBILLS - Synchronize billing plans
This documentation is copyright by SAP AG.
Length: 3604 Date: 20240426 Time: 180326 sap01-206 ( 61 ms )