SAP Reports / Programs

HCOFIEP0 SAP ABAP Report - Pensioner electronic integrated form







HCOFIEP0 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 HCOFIEP0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M38_FIEP - Pensioners Integrated form


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 HCOFIEP0. "Basic submit
SUBMIT HCOFIEP0 AND RETURN. "Return to original report after report execution complete
SUBMIT HCOFIEP0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_TYPEN = Ty. of Social Insurance entity
Selection Text: SO_ENTIT = Social Insurance entity
Selection Text: SO_BRANC = Branch
Selection Text: P_PTYPP = Form type of pensioner
Selection Text: P_DAPAY = Payment date
Title: Pensioner electronic integrated form
Text Symbol: RTF = Rich Text Format (*.RTF)|*.RTF|
Text Symbol: S01 = Output
Text Symbol: S02 = SAP List Viewer
Text Symbol: S03 = Layout variant
Text Symbol: S04 = ALV grid control
Text Symbol: S05 = Self-assessment form
Text Symbol: S06 = PC file template
Text Symbol: S07 = Self-assessment Integrated Form
Text Symbol: S08 = Output archive
Text Symbol: S12 = Normal form
Text Symbol: S13 = Retro acctg
Text Symbol: S14 = Correction
Text Symbol: S15 = of
Text Symbol: S16 = Self-assessment Electronic Integrated Form
Text Symbol: S17 = Class.
Text Symbol: SLS = List
Text Symbol: ST1 = Other sel.
Text Symbol: T01 = AFP name
Text Symbol: T02 = EPS name
Text Symbol: T03 = CAJA name
Text Symbol: T04 = ARP name
Text Symbol: TXT = Texto files (*.TXT)|*.TXT|
Text Symbol: 008 = Record No.
Text Symbol: 009 = Do you really want to
Text Symbol: 010 = print curr. self-assessment result?
Text Symbol: 011 = Caution
Text Symbol: 012 = Reported mo.
Text Symbol: 013 = Prev.pgm Data medium exchange
Text Symbol: 014 = has been triggered
Text Symbol: 015 = SOCIAL INSURANCE GENERAL SYSTEM - RESOLUTION 2145
Text Symbol: 016 = SELF-ASSESSMENT OF CONTRIBUTIONS FOR PENSIONERS
Text Symbol: 017 = SELF-ASSESSMENT INTEGRATED ELECTRONIC FORM





Text Symbol: 112 = Print payroll result
Text Symbol: 199 = -
Text Symbol: ALL = File (all) (*.*)|*.*|
Text Symbol: AST = Agrmt text
Text Symbol: COR = Normal
Text Symbol: NOR = RA/Correction
Text Symbol: P01 = Contribution period
Text Symbol: P02 = Report year & month
Text Symbol: P03 = RA/Corr. initial year, month
Text Symbol: P04 = RA/Corr. final year, month
Text Symbol: P05 = Retro acctg. or corr. periods
Text Symbol: P06 = All periods
Text Symbol: P07 = Periods &1
Text Symbol: P08 = Retro acctg.
Text Symbol: P09 = Correction
Text Symbol: P10 = Payt date
Text Symbol: P11 = Add employee to list ...
Text Symbol: P12 = Generating ALV Report...


INCLUDES used within this REPORT HCOFIEP0

INCLUDE: PCFTBCO0, " TABLES COLOMBIA
INCLUDE RPCCCD09.


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:

BAPI_CURRENCY_GETDECIMALS CALL FUNCTION 'BAPI_CURRENCY_GETDECIMALS' EXPORTING currency = pco00_cuky IMPORTING currency_decimals = gv_curdec return = gv_return.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = gv_ind_text percentage = 100 EXCEPTIONS OTHERS = 0.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = pn-begda end = pn-endda IMPORTING hire_date = gl_hiredate fire_date = gl_firedate TABLES pp0000 = p0000 "input pp0001 = p0001 "input pphifi = phifi. "output

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = 'PCO_PTYPP' text = 'X' TABLES values_tab = lt_values_tab EXCEPTIONS no_values_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = slis_ev_pf_status_set " PF_STATUS_SET i_callback_user_command = slis_ev_user_command " USER_COMMAND i_structure_name = gc_struct is_layout = ls_layout it_fieldcat = lt_fieldcat[] i_save = gc_on it_events = lt_events_top is_variant = grid_template TABLES t_outtab = p_pernr_info EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = slis_ev_pf_status_set " PF_STATUS_SET i_callback_user_command = slis_ev_user_command " USER_COMMAND i_structure_name = gc_struct_fiep is_layout = ls_layout it_fieldcat = lt_fieldcat[] i_save = gc_on it_events = lt_events_top is_variant = grid_template TABLES t_outtab = p_pernr_info EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = iv_repname * I_INTERNAL_TABNAME = i_structure_name = gc_struct * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = PRONAME CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = iv_repname * I_INTERNAL_TABNAME = i_structure_name = gc_struct_fiep * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = PRONAME CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET





CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_event_top.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_alv_list_top_of_page[].

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = text-011 diagnosetext2 = text-013 diagnosetext3 = text-014 textline1 = text-009 textline2 = text-010 titel = text-112 IMPORTING answer = answer EXCEPTIONS OTHERS = 0.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' CHANGING cs_variant = ov_template EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ov_template EXCEPTIONS not_found = 1 OTHERS = 2.

HRCO_LAST_DAY_OF_MONTHS CALL FUNCTION 'HRCO_LAST_DAY_OF_MONTHS' EXPORTING day_in = p_gl_begda IMPORTING last_day_of_month = p_gl_endda EXCEPTIONS day_in_no_date = 1 OTHERS = 2.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space no_img = space EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = t500l-relid employeenumber = p_pernr sequencenumber = p_gl_rgdir-seqnr read_only_international = ' ' check_read_authority = ' ' CHANGING payroll_result = p_gl_results EXCEPTIONS OTHERS = 1.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p_pernr_pernr TABLES in_rgdir = p_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING void_indicator = ' ' TABLES in_rgdir = p_in_rgdir out_rgdir = p_out_rgdir EXCEPTIONS OTHERS = 1.

CD_SELECT_DATE_RANGE CALL FUNCTION 'CD_SELECT_DATE_RANGE' EXPORTING fpper_begda = p_begda fpper_endda = p_endda TABLES in_rgdir = p_in_rgdir out_rgdir = p_out_rgdir EXCEPTIONS OTHERS = 1.

CD_SELECT_SRTZA CALL FUNCTION 'CD_SELECT_SRTZA' EXPORTING record_type = cd_c-actual TABLES in_rgdir = p_in_rgdir out_rgdir = p_out_rgdir EXCEPTIONS OTHERS = 1.

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = gx_acc_mode_on EXCEPTIONS OTHERS = 1.

SO_SPLIT_FILE_AND_PATH CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH' EXPORTING full_name = lv_file_fiep IMPORTING stripped_name = gv_filename file_path = gv_path.

SO_SPLIT_FILE_AND_PATH CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH' EXPORTING full_name = lv_file_fiep IMPORTING stripped_name = gv_filename file_path = gv_path.

SO_SPLIT_FILE_AND_PATH CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH' EXPORTING full_name = gv_file_path IMPORTING stripped_name = gv_filename file_path = gv_path.



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