SAP Reports / Programs | Payroll | Payroll: General Parts | Data Transfer(PY-XX-DT) SAP PY

RPCIPQ00 SAP ABAP Report - Reorganization: Delete detailed information on posting run







RPCIPQ00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can reorganize posting runs using the report, that is, delete the data records of the posting runs...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 RPCIPQ00 into the relevant SAP transactions such as SE38 or SE80


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 RPCIPQ00. "Basic submit
SUBMIT RPCIPQ00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCIPQ00 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_TYPE = Run type
Selection Text: P_SIMU = Simulation runs
Selection Text: P_RUNID = Run number
Selection Text: P_PROD = Live deleted runs
Selection Text: P_IGND = Ignore reorganized runs
Selection Text: P_ASK = Query before deletion?
Title: Reorganization: Delete detailed information on posting run
Text Symbol: WAR = Warning
Text Symbol: TI2 = Confirmatn Prompt
Text Symbol: TI1 = Selection criteria for posting runs
Text Symbol: RJ6 = Run deleted
Text Symbol: RJ5 = Application has declined reorganisation of the run
Text Symbol: RJ4 = Error when checking the run attribute "DELBYREORG"
Text Symbol: RJ3 = Ignored, as run was already reorganized by:
Text Symbol: RJ2 = Live run: In acc.w. selection, do not delete
Text Symbol: RJ1 = Simulation run: In acc.w. selection, do not delete
Text Symbol: OP5 = Ignore reorg. runs
Text Symbol: OP4 = Live runs
Text Symbol: OP3 = No
Text Symbol: OP2 = Y
Text Symbol: OP1 = Simulation runs
Text Symbol: ME2 = No runs selected for deletion
Text Symbol: ME1 = Notific
Text Symbol: HE9 = User name
Text Symbol: HE8 = Status
Text Symbol: HE7 = Run name
Text Symbol: HE6 = Sim
Text Symbol: HE5 = Runs to be deleted
Text Symbol: HE4 = Message Text
Text Symbol: HE3 = Run number
Text Symbol: HE2 = Cat
Text Symbol: HE1 = Rejected run
Text Symbol: H12 = Options
Text Symbol: H11 = Time
Text Symbol: H10 = Created on
Text Symbol: AED = Make changes?
Text Symbol: 004 = Message Text
Text Symbol: 003 = Deleted runs





Text Symbol: 002 = Rejected run
Text Symbol: 001 = Run was rejected.


INCLUDES used within this REPORT RPCIPQ00

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:

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = 'HRPAY00_PCP0' IMPORTING is_implemented = l_sw_pcp0_badi_implemented CHANGING instance = l_pcp0_badi_instance.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy_repid dynumb = '1000' translate_to_upper = 'X' TABLES dynpfields = t_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 OTHERS = 10.

HR_EVAL_HELPVIEW CALL FUNCTION 'HR_EVAL_HELPVIEW' EXPORTING type = p_type IMPORTING runid = p_runid-low EXCEPTIONS no_entries = 1 type_not_valid = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy_repid dynumb = '1000' translate_to_upper = 'X' TABLES dynpfields = t_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 OTHERS = 10.

HR_EVAL_HELPVIEW CALL FUNCTION 'HR_EVAL_HELPVIEW' EXPORTING type = p_type IMPORTING runid = p_runid-high EXCEPTIONS no_entries = 1 type_not_valid = 2 OTHERS = 3.

HR_EVAL_STATUS_GET CALL FUNCTION 'HR_EVAL_STATUS_GET' EXPORTING type = p_type runid = gt_run-runid lock = 'X' IMPORTING status = del_run_tab-status name = del_run_tab-name simu = del_run_tab-simu creator = del_run_tab-creator creadate = del_run_tab-creadate creatime = del_run_tab-creatime EXCEPTIONS run_not_found = 1 run_locked = 2 OTHERS = 3.

HR_EVAL_ATTR_GET CALL FUNCTION 'HR_EVAL_ATTR_GET' EXPORTING type = p_type runid = gt_run-runid attr = 'DELBYREORG' IMPORTING value = attrvalue EXCEPTIONS run_not_found = 1 attr_not_found = 2 OTHERS = 99.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING language = sy-langu message_id = reject_mess_tab-msgid message_number = reject_mess_tab-msgno message_var1 = reject_mess_tab-msgv1 message_var2 = reject_mess_tab-msgv2 message_var3 = reject_mess_tab-msgv3 message_var4 = reject_mess_tab-msgv4 IMPORTING message_text = message_text EXCEPTIONS message_not_found = 1 OTHERS = 2.

HRPP_DOC_LINES_DELETE CALL FUNCTION 'HRPP_DOC_LINES_DELETE' EXPORTING type = p_type runid = del_run_tab-runid.

HR_EVAL_STATUS_SET CALL FUNCTION 'HR_EVAL_STATUS_SET' EXPORTING type = p_type runid = del_run_tab-runid status = '91' lock = ' ' unlock = 'X'.

HR_EVAL_ATTR_SET CALL FUNCTION 'HR_EVAL_ATTR_SET' EXPORTING type = p_type runid = del_run_tab-runid attr = 'DELBYREORG' value = l_value.

DEQUEUE_EPEVST CALL FUNCTION 'DEQUEUE_EPEVST' EXPORTING type = l_evtyp runid = l_runid.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy_repid i_structure_name = is_sname CHANGING ct_fieldcat = xt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_del_run i_save = gc_save it_events = gt_events_del_run TABLES t_outtab = lt_del_run_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy_repid is_layout = gs_layout it_fieldcat = gt_fieldcat_reject i_save = gc_save it_events = gt_events_reject TABLES t_outtab = it_reject_mess_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_header.






POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-aed "'Änderung durchführen?'(AED) titel = text-war "'Warnung'(WAR) IMPORTING answer = answer.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' dokname = dokname doktitle = title msg_var_1 = g_hide-msgv1 msg_var_2 = g_hide-msgv2 msg_var_3 = g_hide-msgv3 msg_var_4 = g_hide-msgv4 TABLES links = dummy_links.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events TABLES t_outtab = it_table EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_header.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events TABLES t_outtab = gt_sel_info EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_heading_select_info.



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