SAP Reports / Programs | Cross-Application Components(CA) SAP CA

FRE_OP_PO_KEY_REORG SAP ABAP Report - Deletion of Completed Records From Key Table for Purchase Orders







FRE_OP_PO_KEY_REORG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program reorganizes table FRE_OP_PO_KEY in which key information on the order items transferred to SAP F&R and, in some cases, the SAP F&R order proposal numbers are saved...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 FRE_OP_PO_KEY_REORG 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

FRE34 - Maintenance of Table FRE_OP_PO_KEY


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 FRE_OP_PO_KEY_REORG. "Basic submit
SUBMIT FRE_OP_PO_KEY_REORG AND RETURN. "Return to original report after report execution complete
SUBMIT FRE_OP_PO_KEY_REORG 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: P_BLOCKH = Package f. Purchasing Document
Selection Text: P_DELAY = Retention Period in Days
Selection Text: P_BLOCK = D .
Selection Text: P_PARAL = D .
Selection Text: P_SVRGR = D .
Selection Text: P_TASKS = D .
Selection Text: S_EBELN = D .
Selection Text: S_WERKS = D .
Title: Deletion of Completed Records From Key Table for Purchase Orders
Text Symbol: 001 = Processing Options
Text Symbol: 002 = Delete Completed Records
Text Symbol: 003 = Relevance Check and Deletion of Non-Completed Records
Text Symbol: 004 = Records Deleted From Table FRE_OP_PO_KEY!
Text Symbol: 005 = Deletion Options
Text Symbol: 006 = Relevance Check Options
Text Symbol: 007 = Parallel Processing
Text Symbol: E06 = Authorization Check Failed!
Text Symbol: E07 = No Authorization to Carry Out the Report!


INCLUDES used within this REPORT FRE_OP_PO_KEY_REORG

INCLUDE FRE_OP_PO_KEY_REORGTOP . " GLOBAL DATA
INCLUDE FRE_OP_PO_KEY_REORGF01 . " FORM-ROUTINES
INCLUDE FRE_CONSTANTS.


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:

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = p_svrgr IMPORTING max_pbt_wps = wp_total free_pbt_wps = wp_free EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 cant_init_different_pbt_groups = 6 OTHERS = 7.

FRE_ORD_REORG_PARALLEL CALL FUNCTION 'FRE_ORD_REORG_PARALLEL' EXPORTING is_send_option = gwa_send_option ip_deldat = deldat ip_parallel = p_paral ip_svrgr = p_svrgr ip_tasks = p_tasks ip_block = p_block ip_check = '' irt_werks = lrt_werks irt_ebeln = lrt_ebeln ip_block_oph = p_blockh " Note 1611190 IMPORTING ep_del_rec = ip_del_rec.

FRE_ORD_REORG_PARALLEL CALL FUNCTION 'FRE_ORD_REORG_PARALLEL' EXPORTING is_send_option = gwa_send_option ip_deldat = deldat ip_parallel = p_paral ip_svrgr = p_svrgr ip_tasks = p_tasks ip_block = p_block ip_check = 'X' irt_werks = lrt_werks irt_ebeln = lrt_ebeln ip_block_oph = p_blockh " Note 1611190 IMPORTING ep_del_rec = ip_del_rec.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' exporting mode = 'CURRENT' IMPORTING out_archive_parameters = arcpar out_parameters = pripar valid = valid EXCEPTIONS archive_info_not_found = 0 invalid_print_params = 0 invalid_archive_params = 0 others = 0.



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 FRE_OP_PO_KEY_REORG or its description.