SAP Reports / Programs | Payroll | Russia(PY-RU) SAP PY

HRULNDFL SAP ABAP Report - Income Tax (2-NDFL)







HRULNDFL 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 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 HRULNDFL. "Basic submit
SUBMIT HRULNDFL AND RETURN. "Return to original report after report execution complete
SUBMIT HRULNDFL 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: P_EMPL = D .
Selection Text: P_FILFRM = D .
Selection Text: P_FRGADR = Temporary Residence in Russia
Selection Text: P_FUPAR = D .
Selection Text: P_FUTPER = D .
Selection Text: P_FUTYEA = D .
Selection Text: P_GUID = D .
Selection Text: P_IMNS = Data of Tax Office
Selection Text: P_INSTL = Data of Organization
Selection Text: P_KRE = 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_BONDT = D .
Selection Text: P_AUT2 = D .
Selection Text: P_AUT1 = D .
Selection Text: P_ADR = D .
Selection Text: P_2011 = D .
Selection Text: P_2010 = D .
Selection Text: P_2006 = D .
Selection Text: P_2005 = D .
Selection Text: FORMNAME = D .
Title: Income Tax (2-NDFL)
Text Symbol: 701 = Period
Text Symbol: 702 = Other Payroll Run (Optional)
Text Symbol: 703 = Person Data





Text Symbol: 704 = Data Selection
Text Symbol: 705 = Form Properties
Text Symbol: 706 = Legal Person Data
Text Symbol: 707 = Electronic Format
Text Symbol: 708 = Data Selection in Accordance With:
Text Symbol: FR1 = Purpose of Report
Text Symbol: FRM = Form Parameters
Text Symbol: T07 = Display Form
Text Symbol: T08 = Download File
Text Symbol: X98 = Payroll Reason
Text Symbol: X99 = Off-Cycle Payroll
Text Symbol: __1 = Additional Form Adjustment


INCLUDES used within this REPORT HRULNDFL

INCLUDE: PUINIRU0.
INCLUDE PUFRMRU0.
INCLUDE PGDOCRU0.
INCLUDE PULOGRU0.
INCLUDE PLNDLRUS.
INCLUDE PUSELRU4.
INCLUDE PLNDLRUD.
INCLUDE PLTAXRUO.
INCLUDE RPUPMF00.


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_RU_GET_RESIDENT_STATUS call function 'HR_RU_GET_RESIDENT_STATUS' exporting pernr = 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_PERNR_NAME call function 'HR_RU_GET_PERNR_NAME' exporting i_pernr = pernr i_begda = pnpendda i_endda = pnpendda i0002 = p0002 importing e_cname = it_2ndfl-fio e_nachn = it_2ndfl-nachn e_vorna = it_2ndfl-vorna e_midnm = it_2ndfl-midnm exceptions infty_0002_not_found = 1 others = 2.

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 = p0290 exceptions priority_not_found = 1 document_not_found = 2 others = 3.

HR_RU_GET_ORGANIZATION call function 'HR_RU_GET_ORGANIZATION' exporting key = l_s_t7ru9a tables org = 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.






HR_FEATURE_BACKFIELD 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.

HR_FEATURE_BACKFIELD call function 'HR_FEATURE_BACKFIELD' exporting feature = '33KBK' struc_content = l_prunc importing back = l_kbk exceptions 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.

HR_RU_2NDFL_FILE_NAME call function 'HR_RU_2NDFL_FILE_NAME' exporting 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.

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.



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