SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

RPUARTX1 SAP ABAP INCLUDE - Forms for Creating/Changing Archiving Groups







RPUARTX1 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RPUARTX1 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 RPUARTX1. "Basic submit
SUBMIT RPUARTX1 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUARTX1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Forms for Creating/Changing Archiving Groups


INCLUDES used within this REPORT RPUARTX1

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:

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-b01 textline2 = text-b02 titel = text-i17 start_column = 12 start_row = 15 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

HR_ARCH_B2_ARCHDATE CALL FUNCTION 'HR_ARCH_B2_ARCHDATE' EXPORTING recalc_until = dialog-dialog_032-prtime IMPORTING arch_until = dialog-dialog_031-artime EXCEPTIONS no_recalc_until = 1 recalc_until_gt_sy_datum = 2 period_not_found = 3 OTHERS = 4.

RP_ARCHIVE_TRAVEL_ARTRAVEL CALL FUNCTION 'RP_ARCHIVE_TRAVEL_ARTRAVEL' EXPORTING prtravel = dialog-dialog_032-prcalc molga = dialog-dialog_00-calcmolga IMPORTING artravel = dialog-dialog_031-artrav error_type = error_type error_number = error_number EXCEPTIONS prtravel_gt_sy_datum = 1 OTHERS = 2.

HR_ARCH_B2_RECALCDATE CALL FUNCTION 'HR_ARCH_B2_RECALCDATE' EXPORTING arch_until = dialog-dialog_031-artime molga = dialog-dialog_00-calcmolga IMPORTING recalc_until = dialog-dialog_032-prtime arch_until_corr = arch_until_corr EXCEPTIONS no_arch_until = 1 recalc_until_gt_sy_datum = 2 period_not_found = 3 arch_until_gt_sy_datum = 4 OTHERS = 5.

RP_ARCHIVE_TRAVEL_PRTRAVEL CALL FUNCTION 'RP_ARCHIVE_TRAVEL_PRTRAVEL' EXPORTING artravel = dialog-dialog_031-artrav molga = dialog-dialog_00-calcmolga IMPORTING prtravel = dialog-dialog_032-prtrav error_type = error_type error_number = error_number EXCEPTIONS artravel_gt_sy_datum = 1 prtravel_gt_sy_datum = 2 OTHERS = 3.

HR_ARCH_B2_RECALCDATE_COMP CALL FUNCTION 'HR_ARCH_B2_RECALCDATE_COMP' EXPORTING recalc_till = dialog-dialog_032-prtime recalc_till_new = dialog-dialog_0311-prti_new EXCEPTIONS recalc_till_new_gt_sy_datum = 1 recalc_till_new_lt_recalc_till = 2 OTHERS = 3.

HR_ARCH_B2_ARCHDATE_COMP CALL FUNCTION 'HR_ARCH_B2_ARCHDATE_COMP' EXPORTING arch_until = dialog-dialog_031-artime arch_until_new = dialog-dialog_0321-arti_new EXCEPTIONS arch_until_new_gt_sy_datum = 1 arch_until_new_gt_arch_until = 2 OTHERS = 3.

RP_ARCHIVE_CALC_PRCALC_CHANGE CALL FUNCTION 'RP_ARCHIVE_CALC_PRCALC_CHANGE' EXPORTING prcalc = dialog-dialog_032-prcalc prcalc_new = dialog-dialog_0311-prca_new molga = dialog-dialog_00-calcmolga IMPORTING error_type = error_type error_number = error_number CHANGING prcalc_maximum = prcalc_maximum EXCEPTIONS prcalc_new_gt_sy_datum = 1 prcalc_new_lt_prcalc = 2 prcalc_new_gt_prcalc_maximum = 3 "XULL9CK000336 OTHERS = 4.

RP_ARCHIVE_CALC_ARCALC_CHANGE CALL FUNCTION 'RP_ARCHIVE_CALC_ARCALC_CHANGE' EXPORTING arcalc = dialog-dialog_031-arcalc arcalc_new = dialog-dialog_0321-arca_new molga = dialog-dialog_00-calcmolga IMPORTING error_type = error_type error_number = error_number EXCEPTIONS arcalc_new_gt_arcalc = 1 OTHERS = 2.

RP_ARCHIVE_TRAVEL_PRTRAVEL_CHA CALL FUNCTION 'RP_ARCHIVE_TRAVEL_PRTRAVEL_CHA' EXPORTING prtravel = dialog-dialog_032-prcalc prtravel_new = dialog-dialog_0311-prca_new * MOLGA = dialog-dialog_00-calcmolga IMPORTING error_type = error_type error_number = error_number EXCEPTIONS prtravel_new_gt_sy_datum = 1 prtravel_new_lt_prtravel = 2 OTHERS = 3.

RP_ARCHIVE_TRAVEL_ARTRAVEL_CHA CALL FUNCTION 'RP_ARCHIVE_TRAVEL_ARTRAVEL_CHA' EXPORTING artravel = dialog-dialog_031-artrav artravel_new = dialog-dialog_0321-artr_new * MOLGA = dialog-dialog_00-calcmolga IMPORTING error_type = error_type error_number = error_number EXCEPTIONS artravel_new_gt_artravel = 1 OTHERS = 2.

RP_ARCHIVE_CHECK_PRCALC_PRTIME CALL FUNCTION 'RP_ARCHIVE_CHECK_PRCALC_PRTIME' EXPORTING prcalc = dialog-dialog_032-prcalc prtime = dialog-dialog_032-prtime arcalc = dialog-dialog_031-arcalc artime = dialog-dialog_031-artime IMPORTING error_type = error_type error_number = error_number EXCEPTIONS prcalc_gt_prtime = 1 artime_ge_prcalc = 2 OTHERS = 3.

RP_ARCHIVE_CHECK_PRCALC_PRTIME CALL FUNCTION 'RP_ARCHIVE_CHECK_PRCALC_PRTIME' EXPORTING prcalc = dialog-dialog_032-prcalc prtime = dialog-dialog_032-prtime arcalc = dialog-dialog_031-artrav artime = dialog-dialog_031-artime IMPORTING error_type = error_type error_number = error_number EXCEPTIONS prcalc_gt_prtime = 1 artime_ge_prcalc = 2 OTHERS = 3.

RP_ARCHIVE_CHECK_PRCALC_PRTIME CALL FUNCTION 'RP_ARCHIVE_CHECK_PRCALC_PRTIME' EXPORTING prcalc = dialog-dialog_0311-prca_new prtime = dialog-dialog_0311-prti_new arcalc = dialog-dialog_031-arcalc artime = dialog-dialog_031-artime IMPORTING error_type = error_type error_number = error_number EXCEPTIONS prcalc_gt_prtime = 1 artime_ge_prcalc = 2 OTHERS = 3.

RP_ARCHIVE_CHECK_PRCALC_PRTIME CALL FUNCTION 'RP_ARCHIVE_CHECK_PRCALC_PRTIME' EXPORTING prcalc = dialog-dialog_032-prcalc prtime = dialog-dialog_032-prtime arcalc = dialog-dialog_0321-arca_new artime = dialog-dialog_0321-arti_new IMPORTING error_type = error_type error_number = error_number EXCEPTIONS prcalc_gt_prtime = 1 artime_ge_prcalc = 2 OTHERS = 3.

RP_ARCHIVE_CHECK_PRCALC_PRTIME CALL FUNCTION 'RP_ARCHIVE_CHECK_PRCALC_PRTIME' EXPORTING prcalc = dialog-dialog_0311-prca_new prtime = dialog-dialog_0311-prti_new arcalc = dialog-dialog_031-artrav artime = dialog-dialog_031-artime IMPORTING error_type = error_type error_number = error_number EXCEPTIONS prcalc_gt_prtime = 1 artime_ge_prcalc = 2 OTHERS = 3.

RP_ARCHIVE_CHECK_PRCALC_PRTIME CALL FUNCTION 'RP_ARCHIVE_CHECK_PRCALC_PRTIME' EXPORTING prcalc = dialog-dialog_032-prcalc prtime = dialog-dialog_032-prtime arcalc = dialog-dialog_0321-artr_new artime = dialog-dialog_0321-arti_new IMPORTING error_type = error_type error_number = error_number EXCEPTIONS prcalc_gt_prtime = 1 artime_ge_prcalc = 2 OTHERS = 3.

RP_ARCHIVE_CHECK_CALC_TRAVEL CALL FUNCTION 'RP_ARCHIVE_CHECK_CALC_TRAVEL' EXPORTING prtravel = dialog-dialog_032-prtrav arcalc = dialog-dialog_031-arcalc artravel = dialog-dialog_031-artrav IMPORTING error_type = error_type error_number = error_number prcalc_changed = prcalc_changed CHANGING prcalc = dialog-dialog_032-prcalc EXCEPTIONS OTHERS = 1.

RP_ARCHIVE_CHECK_CALC_TIME_TRA





CALL FUNCTION 'RP_ARCHIVE_CHECK_CALC_TIME_TRA' EXPORTING prtravel = dialog-dialog_032-prtrav arcalc = dialog-dialog_031-arcalc artime = dialog-dialog_031-artime artravel = dialog-dialog_031-artrav IMPORTING error_type = error_type error_number = error_number prcalc_changed = prcalc_changed prtime_changed = prtime_changed CHANGING prcalc = dialog-dialog_032-prcalc prtime = dialog-dialog_032-prtime EXCEPTIONS OTHERS = 1.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '01' object = 'HRARCHIVE' IMPORTING number = arc_group returncode = rc EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.

RP_ARCHIVE_WRITE_T51B1_2 CALL FUNCTION 'RP_ARCHIVE_WRITE_T51B1_2' EXPORTING arch_group = arc_group i_t51b1 = i51b1 i_t51b2 = i51b2 modify = ' ' EXCEPTIONS write_error_t51b1 = 1 write_error_t51b2 = 2 OTHERS = 3.

RP_ARCHIVE_WRITE_T51B1_2 CALL FUNCTION 'RP_ARCHIVE_WRITE_T51B1_2' EXPORTING arch_group = arc_group i_t51b1 = i51b1 i_t51b2 = i51b2 modify = 'X' EXCEPTIONS write_error_t51b1 = 1 write_error_t51b2 = 2 OTHERS = 3.

RP_ARCHIVE_READ_T51B1_2 CALL FUNCTION 'RP_ARCHIVE_READ_T51B1_2' EXPORTING arch_group = arc_group IMPORTING i_t51b1 = i51b1 i_t51b2 = i51b2 EXCEPTIONS read_error_t51b1 = 1 read_error_t51b2 = 2 OTHERS = 3.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-b01 textline2 = text-b02 titel = text-i17 start_column = 12 start_row = 15 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = $titel text_object = $object EXCEPTIONS text_not_found = 1 OTHERS = 2.

DDUT_TEXT_FOR_VALUE CALL FUNCTION 'DDUT_TEXT_FOR_VALUE' EXPORTING tabname = 'T51AV_A' fieldname = 'RELUNIT' value = dialog-dialog_10-aver_unit IMPORTING text = aver_unit_text EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = 'SET_PF_STATUS_D' i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = alv_fieldcat[] it_events = events[] TABLES t_outtab = summary_list_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = alv_fieldcat[] it_events = events[] TABLES t_outtab = summary_list_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_commentary_write.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_commentary_write.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid is_layout = alv_layout it_fieldcat = alv_fieldcat[] it_events = events[] TABLES t_outtab = reise_status_tab EXCEPTIONS program_error = 1 OTHERS = 2.



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