HROLREG2 is a standard Executable ABAP Report 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 HROLREG2 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_ALL = Save All Changes
Selection Text: P_FILE = File name
Selection Text: P_PERN = Personnel number
Title: EE register - create XML file
Text Symbol: 000 = Selection
Text Symbol: 001 = Date
Text Symbol: 002 = to
Text Symbol: 003 = from
Text Symbol: I01 = Selection is empty
Text Symbol: I02 = File
Text Symbol: I03 = saved
Text Symbol: S11 = Selection Criteria:
Text Symbol: S12 = Date Interval
Text Symbol: S13 = Run
Text Symbol: S14 = date
Text Symbol: S15 = time
Text Symbol: S16 = Save All Changes
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_RO_SPLIT_COMPLETE_FILENAME CALL FUNCTION 'HR_RO_SPLIT_COMPLETE_FILENAME' EXPORTING complete_filename = lv_fname IMPORTING drive = lv_drive name_with_ext = lv_fname path = lv_fpath EXCEPTIONS invalid_drive = 1 invalid_extension = 2 invalid_name = 3 invalid_path = 4 OTHERS = 5.
GUI_FILE_SAVE_DIALOG CALL FUNCTION 'GUI_FILE_SAVE_DIALOG' EXPORTING window_title = 'Save XML file' default_file_name = lv_fnames initial_directory = lv_fpaths IMPORTING fullpath = lv_fnames filename = lv_str.
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act =
-top_line entry_from = 1 entry_to = -lines last_page_full = 'X' loops = ok_code = p_ok overlapping = 'X' IMPORTING entry_new = l_tc_new_top_line EXCEPTIONS * NO_ENTRY_OR_PAGE_ACT = 01 * NO_ENTRY_TO = 02 * NO_OK_CODE_OR_PAGE_GO = 03 OTHERS = 0.
HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'LAUFD' titel = text-s01 no_display_of_pers_values = 'X' IMPORTING ind = sy-tabix TABLES fields = tab_fields full_table = tab_lauf EXCEPTIONS OTHERS = 4.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = tab_update EXCEPTIONS OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.