HRULNDFL_CE 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 HRULNDFL_CE 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.
Selection Text: P_FUPAR = D .
Selection Text: P_FUTPER = D .
Selection Text: P_FUTYEA = D .
Selection Text: P_GPRSN = D .
Selection Text: P_GPVAL = D .
Selection Text: P_GUID = D .
Selection Text: P_IDETA = D .
Selection Text: P_IMNS = Data of Tax Office
Selection Text: P_INSTL = Data of Organization
Selection Text: P_JUPER = D .
Selection Text: P_LOG = Switch Off Log in Background
Selection Text: P_MON = D .
Selection Text: P_NEGAT = D .
Selection Text: P_NOMER = D .
Selection Text: P_OBJID = D .
Selection Text: P_OCPAR = D .
Selection Text: P_OCRSN = D .
Selection Text: P_PATH = D .
Selection Text: P_PAYID = D .
Selection Text: P_PAYTY = D .
Selection Text: P_PNPEND = D .
Selection Text: P_RIMNS = D .
Selection Text: P_SOORT = D .
Selection Text: P_TEST = D .
Selection Text: P_YEAR = D .
Selection Text: P_FRGADR = Temporary Residence in Russia
Selection Text: P_FILFRM = D .
Selection Text: P_EMPL = D .
Selection Text: P_CARD = D .
Selection Text: P_BONDT = D .
Selection Text: P_AUTH = D .
Selection Text: P_AUT2 = D .
Selection Text: P_ADR = D .
Selection Text: P_2011 = D .
Selection Text: P_2010 = D .
Selection Text: FRMNAM_1 = D .
Selection Text: FORMNAME = D .
Title: Income Tax (2-NDFL)
INCLUDE: PUINIRU0_CE.
INCLUDE PUFRMRU0.
INCLUDE PGDOCRU0.
INCLUDE PULOGRU0_CE.
INCLUDE PLNDLRUS_CE.
INCLUDE PLTAXRUN_CE.
INCLUDE PUSELRU4.
INCLUDE PLNDLRUD_CE.
INCLUDE RPUPMF10.
No SAP DATABASE tables are accessed within this REPORT code!
HR_RU_GET_RESIDENT_STATUS call function 'HR_RU_GET_RESIDENT_STATUS' EXPORTING pernr = go_pers->ms_pernr p0002 = P0002 p0006 = P0006 * p0048 = p0048 fpper = g_endper IMPORTING resident = l_resident EXCEPTIONS WRONG_PERIODS = 1 T7RUR2_NOT_CUSTOMIZED = 2 FEATURE_ERROR = 3 others = 4.
HR_RU_GET_ADDRESS call function 'HR_RU_GET_ADDRESS' EXPORTING SPRSL = sy-langu P0006 = p0006 * THINK = 'X' TABLES LOOKS = g_t_looks ADDRS = l_t_addrs.
HR_RU_GET_ADDRESS call function 'HR_RU_GET_ADDRESS' EXPORTING SPRSL = sy-langu P0006 = l_p0006_209 * THINK = 'X' TABLES LOOKS = g_t_looks ADDRS = l_t_addrs.
HR_RU_GET_ADDRESS call function 'HR_RU_GET_ADDRESS' EXPORTING SPRSL = sy-langu P0006 = l_p0006_210 * THINK = 'X' TABLES LOOKS = g_t_frg_looks ADDRS = l_t_addrs.
HR_RU_IDENTITY_CARD CALL FUNCTION 'HR_RU_IDENTITY_CARD' EXPORTING begda = g_begda endda = pnpendda rptgr = p_rptgrp molga = g_molga IMPORTING docdsc = p_s_docdsc TABLES p0290 = pt_p0290 EXCEPTIONS priority_not_found = 1 document_not_found = 2 others = 3.
CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = '33TPS' struc_content = ls_prutx IMPORTING back =-resst 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.
SCP_CODEPAGE_BY_EXTERNAL_NAME CALL FUNCTION 'SCP_CODEPAGE_BY_EXTERNAL_NAME' EXPORTING external_name = 'windows-1251' IMPORTING sap_codepage = lv_codepage EXCEPTIONS not_found = 1 OTHERS = 2.
HR_RU_2NDFL_FILE_NAME CALL FUNCTION 'HR_RU_2NDFL_FILE_NAME' EXPORTING p_prefix = 'NO_NDFL2' p_taker = p_rimns P_IFNS = l_ifns P_SENDER = l_sender P_DATE = l_date1 IMPORTING P_FILENAME = l_filename P_FILEID = l_fileid CHANGING P_GUID = lv_guid.
FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = g_fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.
FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.
HR_RU_READ_T5Y9A CALL FUNCTION 'HR_RU_READ_T5Y9A' EXPORTING KEY = l_s_t7ru9A TABLES RESULT = l_t_t7ru9A EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
HR_RU_READ_T7RU9A call function 'HR_RU_READ_T7RU9A' EXPORTING KEY = l_s_t7ru9A TABLES RESULT = l_t_t7ru9A EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = g_fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.
FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.
HR_RU_GET_1_NDFL_NUMBER call function 'HR_RU_GET_1_NDFL_NUMBER' exporting pernr = go_pers->ms_pernr-pernr cyear = p_year intrg = lv_intger strng = lv_string okato = lv_okato exkey = g_t_exkeys-exkey importing numbr = gs_1ndfl-c_nomer.
HR_RU_GET_RESIDENT_STATUS call function 'HR_RU_GET_RESIDENT_STATUS' EXPORTING pernr = pernr fpper = lv_period IMPORTING resident = lv_resident EXCEPTIONS WRONG_PERIODS = 1 T7RUR2_NOT_CUSTOMIZED = 2 FEATURE_ERROR = 3 OTHERS = 4.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = 'HR_RU_DATASET_NDFL' CHANGING physical_filename = lv_dns EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_string filetype = 'ASC' codepage = lv_abap_enc TABLES data_tab = g_t_efdata 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.
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 HRULNDFL_CE or its description.