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 (
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
Below is a list of transaction codes which are relevant to this SAP report
PC00_M44_TCDOWN - Tax card download
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: 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
INCLUDE RPMSEL00.
No SAP DATABASE tables are accessed within this REPORT code!
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 = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.