HMXCIPDPBS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for ISSSTE requires every government institution, upon completion of every payroll run, to submit payroll data for that institution's employees...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 HMXCIPDPBS 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_CIPD - Payroll information report
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: YEAR = Year
Selection Text: USE_OLD = Credits and loans layout
Selection Text: TEST = Generate Report Files
Selection Text: SF_NAME = Smart Form
Selection Text: PX_LFVAR = Form variant
Selection Text: PX_LFORM = Form
Selection Text: OCRSN = Exclude off-cycle reason
Selection Text: FILEORD = Logical name, ord. file
Selection Text: FILENAME = Logical file name
Selection Text: FILEEXTM = Logical name, extemporary file
Selection Text: FILECANC = Logical name, cancel. file
Selection Text: BRNAME = ISSSTE branch name
Title: ISSSTE - Payroll Data File and Report
Text Symbol: E91 = Cannot include payroll area
Text Symbol: E92 = Specify the payroll area
Text Symbol: E93 = Employee with no infotype 0369
Text Symbol: I01 = The magnetic media file has been saved at:
Text Symbol: I02 = Error
Text Symbol: I03 = Success
Text Symbol: I04 = Warning
Text Symbol: I05 = ISSSTE exempt personnel number
Text Symbol: S01 = Output format
Text Symbol: TM1 = TemSe file
Text Symbol: TM2 = TemSe file
Text Symbol: TM3 = Save TemSe format
Text Symbol: TM4 = Read TemSe file
Text Symbol: TM5 = TemSe object
Text Symbol: TM6 = already exists
Text Symbol: TM7 = Replace it?
Text Symbol: 100 = RFC
Text Symbol: 101 = Name
Text Symbol: 102 = SOC.SEC. #
Text Symbol: 103 = MSG
Text Symbol: 104 = CONCEPT
Text Symbol: 105 = CASES
Text Symbol: 106 = ORDINARY PAYROLL
Text Symbol: 107 = CANCELLED PAYROLL
Text Symbol: 108 = EXTRAORDINARY PAYROLL
INCLUDE HMXCIPDPBS_DATA.
INCLUDE RPPPXD10. "COMMON PART BUFFER PCL1/PCL2
INCLUDE RPC2RX09.
No SAP DATABASE tables are accessed within this REPORT code!
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING value_org = 'S' retfield = 'NAME' dynpprog = l_repid dynpnr = l_dynnr dynprofield = 'FILENAME' TABLES value_tab = lt_file EXCEPTIONS OTHERS = 0.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING value_org = 'S' retfield = 'L_OCRSN' dynpprog = l_repid dynpnr = l_dynnr dynprofield = 'OCRSN' TABLES value_tab = lt_offcycle EXCEPTIONS OTHERS = 0.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING client = sy-mandt logical_filename = file_name operating_system = sy-opsys use_presentation_server = 'X' IMPORTING file_name = filepath EXCEPTIONS file_not_found = 1 OTHERS = 2.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = filepath TABLES data_tab = tape_file EXCEPTIONS OTHERS = 4.
SSF_FUNCTION_MODULE_NAME CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = sf_name IMPORTING fm_name = fm_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = error_log EXCEPTIONS invalid_linesize = 1 OTHERS = 2.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = pererror EXCEPTIONS invalid_linesize = 1 OTHERS = 2.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_red_light info = text-i02 IMPORTING RESULT = stat_line-icon EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0 OTHERS = 0.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_yellow_light info = text-i04 IMPORTING RESULT = stat_line-icon EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0 OTHERS = 0.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_green_light info = text-i03 IMPORTING RESULT = stat_line-icon EXCEPTIONS icon_not_found = 0 outputfield_too_short = 0 OTHERS = 0.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_program i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' it_fieldcat = gt_fieldcat[] TABLES t_outtab = stat_table EXCEPTIONS program_error = 1 OTHERS = 2.
HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = feature_issste_appoint struc_content = appt IMPORTING back = return_mxapp EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.
HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = exit_name flt_val = molga IMPORTING is_implemented = is_implemented CHANGING instance = instance.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING begda = l_endda endda = l_endda istat = dummy langu = sy-langu objid = p0001_tab-stell otype = 'C' ointerval = ' ' plvar = '01' store = 'X' IMPORTING short = job_title_short stext = job_title_stext EXCEPTIONS not_found = 01.
HR_MX_PBS_FOVIST_LOAN_REV_RET CALL FUNCTION 'HR_MX_PBS_FOVIST_LOAN_REV_RET' EXPORTING pernr = pernr-pernr pay_period = semi_period begda = period_b endda = period_e TABLES record_tab = loan_data CHANGING error_flag = flg_error_loan.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ex_payper IMPORTING calcd = l_is_retro.
CD_READ_PREVIOUS CALL FUNCTION 'CD_READ_PREVIOUS' EXPORTING in_record = ex_payper exact = 'X' * LAST = ' ' * IGNORE_ABKRS = ' ' TABLES rgdir = rgdir out_rgdir = can_payper EXCEPTIONS no_record_found = 1 OTHERS = 2. "#EC *
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_program i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' * I_GRID_TITLE = * 'REPORTE DE CIFPAS CONTROL DE LA INFORMACION DE NOMINA' it_fieldcat = su_fieldcat[] it_events = gt_events[] TABLES t_outtab = report_data_c EXCEPTIONS program_error = 0 OTHERS = 0.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = gt_events.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = p_rgdir IMPORTING calcd = l_is_retro.
CD_READ_PREVIOUS CALL FUNCTION 'CD_READ_PREVIOUS' EXPORTING in_record = p_rgdir exact = 'X' TABLES rgdir = rgdir out_rgdir = h_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2. "#EC *
SSF_FUNCTION_MODULE_NAME CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = sf_name IMPORTING fm_name = fm_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3.
H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant options = l_options EXCEPTIONS OTHERS = 99.
H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = ls_data EXCEPTIONS OTHERS = 99.
H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = ls_data_2009 EXCEPTIONS OTHERS = 99.
CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.
HR_APPL_T596IJ_READ CALL FUNCTION 'HR_APPL_T596IJ_READ' EXPORTING i_molga = gc_molga i_appl = gc_appl i_date = per_end i_sumlg = gc_sumlg TABLES tab_sel_t596j = lt_596j tab_sel_t596i = lt_596i EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING employeenumber = pernr-pernr sequencenumber = lv_seqnr CHANGING payroll_result = lt_payroll_result.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING employeenumber = pernr-pernr sequencenumber = lv_seqnr CHANGING payroll_result = lt_payroll_result.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING employeenumber = pernr-pernr sequencenumber = lv_seqnr_old CHANGING payroll_result = lt_payroll_result.
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 HMXCIPDPBS or its description.