SAP Reports / Programs | Payroll | Finland(PY-FI) SAP PY

HFINISA0_FORMS SAP ABAP INCLUDE - Include HFINISA0_FORMS







HFINISA0_FORMS is a standard ABAP INCLUDE 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 HFINISA0_FORMS into the relevant SAP transactions such as SE38 or SE80


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


Text pool values


Title: Include HFINISA0_FORMS


INCLUDES used within this REPORT HFINISA0_FORMS

No INCLUDES are used within this REPORT code!


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:

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = ' ' no_print = 'X' TABLES error = hrerror EXCEPTIONS OTHERS = 4.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = feature struc_content = kind_of_error = kind_of_error IMPORTING back = back CHANGING status = status 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 = 0.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' "BI session opened EXPORTING client = sy-mandt group = bname user = sy-uname keep = keep holddate = holddate.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = l_low_date end = l_high_date IMPORTING hire_date = date1 fire_date = date2 TABLES pp0000 = p0000 "input pp0001 = p0001 "input pphifi = phifi. "output

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = 'X' i_callback_program = g_repid i_structure_name = 'bi_log' is_layout = l_layout it_fieldcat = l_fieldcat i_save = 'A' TABLES t_outtab = t_bi_log[].

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = p_arbgb msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = wa_employee-hired second_date = h_date * modify_interval = space IMPORTING years_between_dates = p_number.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = wa_0002-gbdat second_date = sy-datum * modify_interval = space IMPORTING years_between_dates = l_age.

HR_PCLX_INIT_BUFFER CALL FUNCTION 'HR_PCLX_INIT_BUFFER'. "Initialize PCLX-buffers

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' "Read RGDIR, Cluster CU EXPORTING persnr = p_employee-pernr TABLES in_rgdir = evp EXCEPTIONS no_record_found = 1 OTHERS = 2.

PYXX_GET_EVALUATION_PERIODS CALL FUNCTION 'PYXX_GET_EVALUATION_PERIODS' EXPORTING clusterid = 'FI' employeenumber = p_employee-pernr bonus_date = w_evp-bondt inper_modif = w_evp-permo inper = w_evp-inper pay_type = w_evp-payty pay_ident = w_evp-payid TABLES evaluated_periods = pay_result EXCEPTIONS no_payroll_results = 1 no_entry_found_on_cu = 2 import_error = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = 'X' i_callback_top_of_page = 'TOP_OF_PAGE' i_callback_program = g_repid i_structure_name = dis_struc is_layout = layout i_save = 'A' is_variant = g_alv_variant TABLES t_outtab = output_list[].

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = listheader * I_LOGO = * I_END_OF_LIST_GRID = .



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