/SAPPO/CLOSE_ORDERS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to set the status of postprocessing orders to completed...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter /SAPPO/CLOSE_ORDERS into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: S_PROCID = Business Process ID
Selection Text: S_PROC = Business Process
Selection Text: S_DATUM = Created On
Selection Text: P_UXTYPE = Completion Type
Selection Text: P_TEST = Test Run
Selection Text: P_PACK = Number of Packages
Selection Text: P_JOBS = Number of Processes
Selection Text: P_COMP = Component
Title: Complete Postprocessing Orders
Text Symbol: 023 = Complete Order Results
Text Symbol: 022 = Complete Simulation of Order Results
Text Symbol: 021 = Number
Text Symbol: 020 = Orders that are not to be Closed
Text Symbol: 019 = Selected Orders
Text Symbol: 018 = Orders that Cannot be Closed
Text Symbol: 017 = Settings
Text Symbol: 016 = Order Data
Text Symbol: 014 = No. of Processes:Entry Between 0 - 65536 Permitted
Text Symbol: 013 = Data is being processed
Text Symbol: 012 = Selecting data...
Text Symbol: 011 = No resources currently available for task
Text Symbol: 010 = System error occurred when starting task
Text Symbol: 009 = Task executed successfully
Text Symbol: 008 = TaskName
Text Symbol: 007 = Successfully Processed Orders
Text Symbol: 006 = Selected Orders
Text Symbol: 004 = Error Converting Creation Date to Time Stamp
Text Symbol: 003 = No. of Processes: Entry Between 1 and 50 Permitted
Text Symbol: 002 = You are not authorized to perform this action
Text Symbol: 001 = Software Component Does Not Exist
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/SAPPO/API_AUTH_CHECK_ORDER * CALL FUNCTION '/SAPPO/API_AUTH_CHECK_ORDER' * EXPORTING ** I_FLG_AUTH_CHECK = '1' * I_COMPONENT =
-COMPONENT * I_BUSINESS_PROCESS = -BUSINESS_PROCESS * I_ACTIVITY = 'A8' * EXCEPTIONS * NOT_AUTHORISED = 1 * OTHERS = 2 * .
/SAPPO/API_SRV_GRP_GET * CALL FUNCTION '/SAPPO/API_SRV_GRP_GET' * EXPORTING * I_COMPONENT = P_COMP * IMPORTING * E_CLASSNAME = G_GROUP * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.
/SAPPO/API_PO_ORDER_GET_LIST ** CALL FUNCTION '/SAPPO/API_PO_ORDER_GET_LIST'.
/SAPPO/API_PROCESS_GET_LIST * CALL FUNCTION '/SAPPO/API_PROCESS_GET_LIST' * EXPORTING * I_RNG_COMPONENT = L_TAB_RNG_COMPONENT * I_RNG_BUSINESS_PROC = S_PROC[] * I_RNG_BUSINESS_PROC_ID = S_PROCID[] * I_RNG_STATUS = L_TAB_RNG_STATUS * I_RNG_TSTAMP_CREATE = G_RNG_TSTAMP_CREATE * I_RNG_ERROR_CATEGORY = R_ERROR_CATEGORY * I_RNG_PK = U_RNG_PK * I_AUTH_CHECK = '0' * I_MAXCOUNT = 0 * IMPORTING * E_TAB_ORDER_HDR = L_TAB_ORDER_HDR * EXCEPTIONS * INPUT_INVALID = 1 * OTHERS = 2.
/SAPPO/API_ADMIN_CLOSE * CALL FUNCTION '/SAPPO/API_ADMIN_CLOSE' * STARTING NEW TASK U_TASKNAME * DESTINATION IN GROUP G_GROUP * PERFORMING RETURN ON END OF TASK * EXPORTING * I_TAB_ORDER_KEY = U_TAB_ORDER_KEY * EXCEPTIONS * COMMUNICATION_FAILURE = 1 * SYSTEM_FAILURE = 2 * RESOURCE_FAILURE = 3.
/SAPPO/API_ADMIN_CLOSE * CALL FUNCTION '/SAPPO/API_ADMIN_CLOSE' * EXPORTING * I_TAB_ORDER_KEY = L_TAB_ORDER_KEY * IMPORTING * E_CNT_TOTAL_ORDERS = L_CNT_TOTAL_ORDERS * E_CNT_FINISHED_ORDERS = L_CNT_FINISHED_ORDERS.
SAPGUI_PROGRESS_INDICATOR * CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' * EXPORTING ** PERCENTAGE = 0 * TEXT = U_TEXT.
/SAPPO/OBJ_EX_IFM_IS_CLOSEABLE * CALL FUNCTION '/SAPPO/OBJ_EX_IFM_IS_CLOSEABLE' * EXPORTING * I_CLOSEABILITY_ATTR = L_CLOSEABILITY_ATTR * IMPORTING * E_ORDER_CAN_BE_CLOSED = L_ORDER_CAN_BE_CLOSED.
/SAPPO/OBJ_EX_IFM_CLSABLE_MASS * CALL FUNCTION '/SAPPO/OBJ_EX_IFM_CLSABLE_MASS' * EXPORTING * I_TAB_CLOSEABILITY_ATTR = L_TAB_CLOSEABILITY_ATTR * IMPORTING * E_TAB_ORDER_CLOSEABILIY = L_TAB_ORDER_CLOSEABILIY.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPPO/CLOSE_ORDERS - Complete Postprocessing Orders /SAPPO/CLOSE_ORDERS - Complete Postprocessing Orders /SAPPO/ADD_CONSTANTS - /SAPPO/ADDCONSTANTS /SAPPCE/_COMPARE_TAX_SELECTION - /SAPPCE/COMPARETAXSELECTION /SAPPCE/TEMAR_SET_NEW_PFSTAF01 - /SAPPCE/TEMARSETNEWPFSTAF01 /SAPPCE/TEMAR_GET_GENERAL_PF01 - /SAPPCE/TEMARGETGENERALPF01