SAP Reports / Programs

/SAPPO/DELETE_ORDERS SAP ABAP Report - Deletion of Postprocessing Orders







/SAPPO/DELETE_ORDERS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report deletes postprocessing orders that the system has marked as 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/DELETE_ORDERS into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/SAPPO/DELETE_ORDERS - Delete Postprocessing Orders


ABAP code to call this SAP report using the submit statement

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.






SUBMIT /SAPPO/DELETE_ORDERS. "Basic submit
SUBMIT /SAPPO/DELETE_ORDERS AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPPO/DELETE_ORDERS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_PROCID = Business Process ID
Selection Text: S_PROC = Business Process
Selection Text: S_CRDATE = Created On
Selection Text: S_CHDATE = Change Date
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: Deletion of Postprocessing Orders
Text Symbol: 023 = Results for Delete Orders
Text Symbol: 022 = Simulation Results for Delete Orders
Text Symbol: 021 = Number
Text Symbol: 020 = Orders that are not to be Deleted
Text Symbol: 019 = Selected Orders
Text Symbol: 018 = Number of Orders that are not to be Deleted
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 Deleted Orders
Text Symbol: 006 = Selected Orders
Text Symbol: 005 = Error Converting Change Date to Time Stamp
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


INCLUDES used within this REPORT /SAPPO/DELETE_ORDERS

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

/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 = '06' 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.

DB_SET_ISOLATION_LEVEL CALL FUNCTION 'DB_SET_ISOLATION_LEVEL'.

/SAPPO/API_PO_ORDER_GET_LIST

/SAPPO/API_PROCESS_GET_LIST * CALL FUNCTION '/SAPPO/API_PO_ORDER_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_tstamp_change = g_rng_tstamp_change 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.

DB_RESET_ISOLATION_TO_DEFAULT CALL FUNCTION 'DB_RESET_ISOLATION_TO_DEFAULT'.

/SAPPO/API_ADMIN_DELETE CALL FUNCTION '/SAPPO/API_ADMIN_DELETE' 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_DELETE CALL FUNCTION '/SAPPO/API_ADMIN_DELETE' 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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name /SAPPO/DELETE_ORDERS or its description.