HMXUSARPBS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Before the bi-monthly running of the SAR-ISSSTE Contributions report (HMXCSARPBS), you must carry out a data loading procedure using the latest data files that the company has sent through the SIRI system, in order to maintain table PAPBSMXSARC, which is used identify employee transactions...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 HMXUSARPBS into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M32_PBS_USAR - Load for contribution files
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: RPYEAR = D .
Selection Text: RPPERIOD = D .
Selection Text: RPENDDA = D .
Selection Text: RPBEGDA = D .
Selection Text: PAYAREA = Payroll area
Selection Text: MODE = Test mode
Selection Text: ACTION_F = Maintenance reports
Title: Program for SAR data initial loading
Text Symbol: T06 = Message
Text Symbol: T05 = ICEFA
Text Symbol: S05 = to
Text Symbol: S04 = Bimonthly no.
Text Symbol: S03 = Period
Text Symbol: S02 = Report control
Text Symbol: S01 = Name of the file to be loaded
Text Symbol: O02 = No
Text Symbol: O01 = Yes
Text Symbol: I03 = Error
Text Symbol: I02 = Caution
Text Symbol: I01 = No errors
Text Symbol: H06 = Errors found: table PAPBSMXSARC has not been changed.
Text Symbol: H05 = Reporting period:
Text Symbol: H03 = Employee maintenance reports:
Text Symbol: H02 = Test mode: table PAPBSMXSARPC has not been changed.
Text Symbol: H01 = Table PAPBSMXSARC has been maintained.
Text Symbol: F05 = Ignore and continue?
Text Symbol: F04 = Unable to load the data for table PAPBSMXSARC.
Text Symbol: F02 = Invalid global contributions report file:
Text Symbol: E02 = not found in the system for this date.
Text Symbol: E01 = RFC
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = g_restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9. "#EC *
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = gt_events.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PMXP_SAR_STAT_LINE' CHANGING ct_fieldcat = gt_fieldcat[].
REUSE_ALV_GRID_DISPLAY_LVC CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_buffer_active = space "OSS Note 339258 i_bypassing_buffer = c_true "OSS Note 339258 i_callback_program = sy-repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' it_fieldcat_lvc = gt_fieldcat[] it_events = gt_events[] TABLES t_outtab = lt_alv EXCEPTIONS program_error = 1 OTHERS = 2. "#EC *
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_green_light info = text-i01 IMPORTING RESULT = ic_success EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3. "#EC *
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_yellow_light info = text-i02 IMPORTING RESULT = ic_warning EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3. "#EC *
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light info = text-i03 IMPORTING RESULT = ic_error EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3. "#EC *
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = hrerror EXCEPTIONS invalid_linesize = 1 OTHERS = 2.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING collect_and_send = ' ' reset = 'X' i_identification = l_id IMPORTING e_identification = l_id.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'HRPBSMX1' msgty = sardata-msg msgv1 = l_errtab txtnr = '001' EXCEPTIONS message_type_not_valid = 1 not_active = 2. "#EC *
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXCEPTIONS inconsistent_range = 1 no_messages = 2 OTHERS = 3. "#EC *
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = file_name filetype = 'ASC' read_by_line = 'X' TABLES data_tab = action_tape_tab EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = questn text_button_1 = text-o01 text_button_2 = text-o02 display_cancel_button = ' ' IMPORTING answer = p_return EXCEPTIONS text_not_found = 1 OTHERS = 2. "#EC *
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.