SAP Reports / Programs | Personnel Management | Personnel Administration | Finland(PA-PA-FI) SAP PA

HFIUTCDL SAP ABAP Report - Download Tax Card (Finland)







HFIUTCDL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Download tax card (Finland) This report allows you to retrieve tax card information from the relevant infotype (0205) for the selected employee(s) and save it in ASCII format...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter HFIUTCDL 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_M44_TCDOWN - Tax card download


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 HFIUTCDL. "Basic submit
SUBMIT HFIUTCDL AND RETURN. "Return to original report after report execution complete
SUBMIT HFIUTCDL 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: PA_VARIA = D .
Selection Text: SE_ITXNO = Request Individual Tax Number
Selection Text: SE_TEST = Test Run (no update)
Selection Text: SE_TYEAR = Tax Year
Title: Download Tax Card (Finland)
Text Symbol: 001 = For Year
Text Symbol: 002 = Program Parameters
Text Symbol: 003 = Tax Card Download
Text Symbol: 004 = On key date:
Text Symbol: 005 = Test only - no file created!
Text Symbol: E01 = Download failed
Text Symbol: E02 = One or more exceptions raised
Text Symbol: E03 = Function module
Text Symbol: E04 = Download ended with errors.
Text Symbol: E05 = Check error list for details
Text Symbol: E06 = Download completed successfully
Text Symbol: E07 = Lines transferred to file
Text Symbol: E08 = Employee
Text Symbol: E09 = will not be processed
Text Symbol: E10 = No value found in TRQID and/or TXRNO


INCLUDES used within this REPORT HFIUTCDL

INCLUDE RPMSEL00.


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:

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = 'vkesspam.asc'

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting * BIN_FILESIZE = filename = fname FILETYPE = 'ASC' * IMPORTING * FILELENGTH = tables data_tab = p_taxauth[] exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 others = 5 .

DOWNLOAD * CALL FUNCTION 'DOWNLOAD' * EXPORTING ** BIN_FILESIZE = ' ' ** CODEPAGE = ' ' * filename = filename * filetype = 'ASC' ** ITEM = ' ' ** MODE = ' ' ** WK1_N_FORMAT = ' ' ** WK1_N_SIZE = ' ' ** WK1_T_FORMAT = ' ' ** WK1_T_SIZE = ' ' ** FILEMASK_MASK = ' ' ** FILEMASK_TEXT = ' ' ** FILETYPE_NO_CHANGE = ' ' ** FILEMASK_ALL = ' ' ** FILETYPE_NO_SHOW = ' ' ** SILENT = 'S' ** COL_SELECT = ' ' ** COL_SELECTMASK = ' ' ** NO_AUTH_CHECK = ' ' ** IMPORTING ** ACT_FILENAME = ** ACT_FILETYPE = ** FILESIZE = ** CANCEL = * TABLES * data_tab = p_taxauth ** FIELDNAMES = * EXCEPTIONS * invalid_filesize = 1 * invalid_table_width = 2 * invalid_type = 3 * no_batch = 4 * unknown_error = 5 * gui_refuse_filetransfer = 6 ** customer_error = 7 * OTHERS = 8 * .

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = p_error EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

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 = const_dis_struc is_layout = layout i_save = 'X' is_variant = g_alv_variant TABLES t_outtab = p_i_taxauth.

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