HMXCFOVPBS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report takes the information relating to discounts for FOVISSSTE loans from the payroll results...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 HMXCFOVPBS 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_CFOV - FOVISSSTE 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: TOBJ_SA = TemSe file name
Selection Text: TOBJ_RE = TemSe file name
Selection Text: TEST = Generate files
Selection Text: SF_NAME = Control numbers form
Selection Text: PX_LFVAR = Form variant
Selection Text: PX_LFORM = Form
Selection Text: FILENAME = Logical file name
Selection Text: DPNAME = Payroll department name
Selection Text: BRNAME = Branch name
Title: Report of discounts for FOVISSSTE credits
Text Symbol: T12 = REPORT DATE
Text Symbol: T13 = Regular payroll
Text Symbol: T14 = Termination payroll
Text Symbol: T15 = Special payroll
Text Symbol: T16 = CONSTANT FOVISSSTE (55)
Text Symbol: T17 = GROWING FOVISSSTE (56)
Text Symbol: T18 = MINIMUM WAGE FOVISSSTE (64)
Text Symbol: T19 = DAMAGE INS.
Text Symbol: TM1 = TemSe file
Text Symbol: TM2 = TemSe file name
Text Symbol: TM3 = Save in TemSe format
Text Symbol: TM4 = Reading of TemSe file
Text Symbol: TM5 = TemSe object
Text Symbol: TM6 = exists.
Text Symbol: TM7 = Replace?
Text Symbol: 200 = OF MONTH
Text Symbol: 201 = OF HALF-MONTH
Text Symbol: 202 = OF WEEK
Text Symbol: 203 = OF TWO WEEKS
Text Symbol: E01 = Please specify the form name
Text Symbol: E02 = Employee number not found in payroll area
Text Symbol: E03 = RFC not found
Text Symbol: E04 = Payroll results not found
Text Symbol: I01 = Error
Text Symbol: I02 = Advice
Text Symbol: I03 = Success
Text Symbol: I04 = Data file(s) saved in
Text Symbol: I05 = , the file name begins with 'FVI'
INCLUDE RPPPXD10. "COMMON PART BUFFER PCL1/PCL2
INCLUDE RPC2RX09.
No SAP DATABASE tables are accessed within this REPORT code!
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.
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = p_structure_name CHANGING ct_fieldcat = pt_fieldcat[].
REUSE_ALV_GRID_DISPLAY_LVC CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING i_callback_program = g_program i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' it_fieldcat_lvc = pt_fieldcat[] TABLES t_outtab = stat_data_tab EXCEPTIONS program_error = 1 OTHERS = 2 .
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 * TEXT = ' ' info = text-i01 * ADD_STDINF = 'X' IMPORTING RESULT = record_line_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_green_light * TEXT = ' ' info = text-i03 * ADD_STDINF = 'X' IMPORTING RESULT = record_line_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
HR_MX_PBS_FOVIST_LOAN_REV_RET CALL FUNCTION 'HR_MX_PBS_FOVIST_LOAN_REV_RET' "SCWL6BK073561 EXPORTING pernr = pernr-pernr pay_period = cur_period begda = pnpdisbd endda = pnpdised TABLES record_tab = record_tab err_tab = error_log CHANGING error_flag = error_flag.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING client = sy-mandt logical_filename = filename operating_system = sy-opsys parameter_1 = pay_yr_period parameter_2 = payroll_type use_presentation_server = 'X' IMPORTING file_name = filepath EXCEPTIONS file_not_found = 1 OTHERS = 2.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * bin_filesize = filelength filename = filepath * filetype = 'BIN' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' WRITE_LF = ' ' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' ** IMPORTING ** FILELENGTH = TABLES data_tab = tape_line_tab EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22 .
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.
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_pdf_data EXCEPTIONS OTHERS = 99.
H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' IMPORTING pdf_result = l_result EXCEPTIONS OTHERS = 99.
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 HMXCFOVPBS or its description.
HMXCFOVPBS - Report of discounts for FOVISSSTE credits HMXCFOVPBS - Report of discounts for FOVISSSTE credits HMXCFON0 - Monthly bond FONACOT HMXCFON0 - Monthly bond FONACOT HMXCFNC0 - Generation of FONACOT initial file, issue and payments HMXCFNC0 - Generation of FONACOT initial file, issue and payments