RPLPENG0_LGPS_FUN2 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 RPLPENG0_LGPS_FUN2 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include RPLPENG0_LGPS_FUN2
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PA03_PERIODDATES_GET CALL FUNCTION 'PA03_PERIODDATES_GET' EXPORTING f_abkrs = lv_pnpxabkr IMPORTING f_permo = ov_permo f_current_begda = ov_begd_cal f_current_endda = ov_endd_cal CHANGING f_current_period = ov_abrp_cal f_current_year = ov_abrj_cal EXCEPTIONS pcr_does_not_exist = 1 abkrs_does_not_exist = 2 period_does_not_exist = 3 OTHERS = 4.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' CHANGING cs_variant = l_template EXCEPTIONS not_found = 1 OTHERS = 2.
REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = l_template EXCEPTIONS not_found = 1 OTHERS = 2.
TRANSFER_NAMES_TO_FIELDS CALL FUNCTION 'TRANSFER_NAMES_TO_FIELDS' EXPORTING selectfield = fieldname TABLES fields = fields namelist = list_of_fields EXCEPTIONS wrong_format_given = 1 OTHERS = 2.
HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = fieldname titel = title IMPORTING ind = ind TABLES fields = fields full_table = inttab EXCEPTIONS full_table_empty = 1 no_tablestructure_given = 2 no_tablefields_in_dictionary = 3 more_then_one_selectfield = 4 no_selectfield = 5 OTHERS = 6.
GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = gx_acc_mode_on EXCEPTIONS OTHERS = 1.
PYXX_SPECIFY_OBJECTS CALL FUNCTION 'PYXX_SPECIFY_OBJECTS' TABLES specified_objects = lt_specified_objects.
HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.
CA_CU_READ_RGDIR_NEW CALL FUNCTION 'CA_CU_READ_RGDIR_NEW' EXPORTING persnr = iv_pernr IMPORTING molga = ov_molga TABLES cu_ca_rgdir = ot_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = iv_pernr arbgb = sy-msgid msgty = sy-msgty msgno = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 EXCEPTIONS OTHERS = 1.
HRPY_PROCESS_SET_PERNR_STATUS CALL FUNCTION 'HRPY_PROCESS_SET_PERNR_STATUS' EXPORTING imp_pernr = iv_pernr imp_parcel = pyparaid imp_set_suc = true EXCEPTIONS OTHERS = 0.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ls_rgdir_1 IMPORTING calcd = lx_retro.
RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING format = $$format langu = sy-langu molga = iv_molga pp0002 = p0002 IMPORTING edit_name = l_ename.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = iv_relid employeenumber = iv_pernr sequencenumber = ls_evp-seqnr * READ_ONLY_BUFFER = ' ' CHANGING payroll_result = ls_result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ls_evp IMPORTING calcd = lx_retro.
HRGB_FILL_EOY_HEADER CALL FUNCTION 'HRGB_FILL_EOY_HEADER' EXPORTING p_pernr = iv_pernr p_p0001 = l_p0001 IMPORTING p_hdr = l_conts_by_perc-hdr TABLES errors = l_errors EXCEPTIONS error_found = 1 OTHERS = 2.
HR_PCLX_INIT_BUFFER CALL FUNCTION 'HR_PCLX_INIT_BUFFER'.
HR_IMPORT_RGDIR_FROM_PCLX CALL FUNCTION 'HR_IMPORT_RGDIR_FROM_PCLX' EXPORTING employee_number = iv_pernr cluster_id = iv_relid TABLES import_rgdir = it_evp EXCEPTIONS no_results = 1 no_read_authority = 2 OTHERS = 3.
CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ls_evp IMPORTING calcd = lx_retro.
PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = iv_relid employeenumber = iv_pernr sequencenumber = ls_evp-seqnr * READ_ONLY_BUFFER = ' ' read_only_international = 'X' CHANGING payroll_result = ls_result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8.
HR_GET_ERRORTAB_FROM_PNP_INFO CALL FUNCTION 'HR_GET_ERRORTAB_FROM_PNP_INFO' TABLES errortab = lt_pnp_error.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = ls_pnp_error-pernr arbgb = ls_pnp_error-arbgb msgty = ls_pnp_error-msgty msgno = ls_pnp_error-msgno msgv1 = ls_pnp_error-msgv1 msgv2 = ls_pnp_error-msgv2 msgv3 = ls_pnp_error-msgv3 msgv4 = ls_pnp_error-msgv4 EXCEPTIONS OTHERS = 1.
HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' EXPORTING use_abap_memory = 'X' TABLES error = lt_errortab EXCEPTIONS no_errors = 1 OTHERS = 2.
HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = ls_errortab-pernr arbgb = ls_errortab-arbgb msgty = ls_errortab-msgty msgno = ls_errortab-msgno msgv1 = ls_errortab-msgv1 msgv2 = ls_errortab-msgv2 msgv3 = ls_errortab-msgv3 msgv4 = ls_errortab-msgv4 EXCEPTIONS OTHERS = 1.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = c_null_pernr arbgb = 'PN' msgty = 'I' msgno = '016' msgv1 = text-i01 msgv2 = lv_sel EXCEPTIONS OTHERS = 1.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = c_null_pernr arbgb = 'PN' msgty = 'I' msgno = '016' msgv1 = text-i02 msgv2 = lv_proc EXCEPTIONS OTHERS = 1.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = c_null_pernr arbgb = 'PN' msgty = 'I' msgno = '016' msgv1 = text-i03 msgv2 = lv_rej EXCEPTIONS OTHERS = 1.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = c_null_pernr arbgb = 'PN' msgty = 'I' msgno = '016' msgv1 = text-i04 msgv2 = g_curryear_tab-cnt_ees EXCEPTIONS OTHERS = 1.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = c_null_pernr arbgb = 'PN' msgty = 'I' msgno = '016' msgv1 = text-i05 msgv2 = g_curryear_tab-red_ees EXCEPTIONS OTHERS = 1.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = 'RPLPENG0_LGPS_DET2' i_structure_name = 'P08_EE_CONT_NEW' is_layout = ls_layout i_save = 'A' is_variant = l_variant it_events = lt_events is_print = l_print TABLES t_outtab = p_tab[] EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = l_it_commentary.
HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' EXPORTING use_abap_memory = 'X' TABLES error = lt_errortab EXCEPTIONS no_errors = 1 OTHERS = 2.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_print = space no_img = 'X' no_msgno = 'X' EXCEPTIONS invalid_linesize = 1 OTHERS = 2.
HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'.
HR_EXTEND_STAT_LIST CALL FUNCTION 'HR_EXTEND_STAT_LIST' EXPORTING arbgb = arbgb msgno = msgnr msgv1 = text number = i_number.
HR_DISPLAY_STAT_LIST CALL FUNCTION 'HR_DISPLAY_STAT_LIST' EXPORTING no_std_entries = no_std " Do not Display Standard Entries no_popup = 'X' " Output with WRITE hidemsg = 'X' " Support LINE-SELECTION linesize = c_linsz. " Page Width for List Output
HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' EXPORTING use_abap_memory = 'X' TABLES error = lt_errortab EXCEPTIONS no_errors = 1 OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid i_callback_user_command = 'USER_COMMAND' i_structure_name = stru_name is_layout = layout it_fieldcat = l_fieldcatalog i_save = 'A' is_variant = variant TABLES t_outtab = data_tab EXCEPTIONS program_error = 1 OTHERS = 2.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXCEPTIONS invalid_linesize = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_structure_name = structure_name CHANGING ct_fieldcat = p_fieldcatalog EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ov_template i_save = 'A' IMPORTING e_exit = lv_rc es_variant = ov_template EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.
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 RPLPENG0_LGPS_FUN2 or its description.