SAP Reports / Programs

RPAR1D00 SAP ABAP Report - PA: Archiving; Delete Program for Payroll Results (PA_CALC)







RPAR1D00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This 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 RPAR1D00 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 RPAR1D00. "Basic submit
SUBMIT RPAR1D00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPAR1D00 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: PROTOCOL = Detailed Log
Selection Text: TESTRUN = Test Run
Selection Text: P_DELPRD = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Title: PA: Archiving; Delete Program for Payroll Results (PA_CALC)
Text Symbol: E42 = Error while updating IT 0283
Text Symbol: ER1 = Program terminated
Text Symbol: NOM = Ctry grpg not in archive header
Text Symbol: NUM = Number of objects deleted
Text Symbol: SE1 = Test Options


INCLUDES used within this REPORT RPAR1D00

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:

ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = protocol IMPORTING e_protocol_handle = lv_protocol_handle.

PA_CALC_TESTMODE CALL FUNCTION 'PA_CALC_TESTMODE' EXPORTING testmode_on_off = protocol.

ARCHIVE_OPEN_FOR_DELETE CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' EXPORTING archive_name = space "select from popup object = this_object test_mode = testrun IMPORTING archive_handle = my_archive_handle EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 archiving_standard_violation = 8.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_protocol_handle = lv_protocol_handle i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 2.

ARCHIVE_OPEN_FOR_DELETE * CALL FUNCTION 'ARCHIVE_OPEN_FOR_DELETE' * EXPORTING * archive_name = space "select from popup * object = this_object * test_mode = testrun * IMPORTING * archive_handle = my_archive_handle.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING archive_handle = my_archive_handle IMPORTING archive_document = my_document archive_name = my_archive_name object_number_in_file = gv_objects_to_delete.

ARCHIVE_GET_CUSTOMIZING_DATA CALL FUNCTION 'ARCHIVE_GET_CUSTOMIZING_DATA' EXPORTING object = this_object IMPORTING commit_count_for_delete_prg = my_commit_count.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = my_archive_handle IMPORTING object_offset = l_offset archive_name = my_archive_name object_id = l_object_id EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5.

ARCHIVE_DELETE_OBJECT_DATA CALL FUNCTION 'ARCHIVE_DELETE_OBJECT_DATA' EXPORTING archive_handle = my_archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_protocol_handle = lv_protocol_handle i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 2.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_protocol_handle = lv_protocol_handle i_object = lv_object_text i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 1 i_msgv1 = l_object_id-pernr.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_protocol_handle = lv_protocol_handle i_object = 'Fehler bei Update auf IT 0283 für'(e42) i_msgid = sy-msgid i_msgno = sy-msgno i_msgtype = 1 i_msgv1 = l_object_id-pernr.

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE' EXPORTING i_protocol_handle = lv_protocol_handle.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = my_archive_handle.

PA_CALC_INFO_GET CALL FUNCTION 'PA_CALC_INFO_GET' EXPORTING archive_handle = my_archive_handle IMPORTING molga_out = p_molga argrp_out = l_argrp EXCEPTIONS no_info_found = 1.



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