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

HFIUTCUL SAP ABAP Report - Upload tax card (Finland)







HFIUTCUL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Upload tax card (Finland) This report allows you to read the up-to-date tax information returned by the tax office...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 HFIUTCUL 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_TCUP - Tax card upload


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 HFIUTCUL. "Basic submit
SUBMIT HFIUTCUL AND RETURN. "Return to original report after report execution complete
SUBMIT HFIUTCUL 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: TEST = Test run (no update)
Selection Text: PAY_AREA = Payroll Area
Selection Text: KEYDATE = Date
Selection Text: JOBNAME = Name of batch input job
Selection Text: IN_STAIR = Initialize staircase tax card
Selection Text: IN_BASE = Initialize base tax card
Selection Text: IN_ANCIL = Initialize ancilliary tax card
Title: Upload tax card (Finland)
Text Symbol: V02 = Program terminated.
Text Symbol: V01 = Upload from file unsuccessful.
Text Symbol: L01 = Information from tax card upload.
Text Symbol: I11 = Value from last year used.
Text Symbol: I10 = No data available for tax office.
Text Symbol: I09 = No tax card for Pers#
Text Symbol: I08 = Default value from T511K used.
Text Symbol: I07 = Has a non-unique SI no.
Text Symbol: I06 = No longer at company.
Text Symbol: I05 = Employee
Text Symbol: I04 = Employee was skipped.
Text Symbol: I03 = Tax card already updated.
Text Symbol: I02 = Use transaction SM35 to execute session.
Text Symbol: I01 = Batch input session created.
Text Symbol: 003 = Upload date
Text Symbol: 002 = Program parameters
Text Symbol: 001 = Upload file


INCLUDES used within this REPORT HFIUTCUL

No INCLUDES are used within this REPORT code!


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 = 'vkesspae.asc'

UPLOAD

GUI_UPLOAD * call function 'UPLOAD' * exporting ** CODEPAGE = ' ' * filename = f_name * filetype = 'ASC' * tables * data_tab = p_taxauth * exceptions * conversion_error = 1 * invalid_table_width = 2 * invalid_type = 3 * no_batch = 4 * unknown_error = 5 * gui_refuse_filetransfer = 6 * others = 7 CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = f_name FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * DAT_MODE = ' ' * CODEPAGE = ' ' * IGNORE_CERR = ABAP_TRUE * REPLACEMENT = '#' * CHECK_BOM = ' ' * VIRUS_SCAN_PROFILE = * IMPORTING * FILELENGTH = * HEADER = TABLES DATA_TAB = p_taxauth EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_tax-pernr infty = '0205' begda = p_keydate endda = p_keydate TABLES infty_tab = p0205 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = p_jobname user = sy-uname.

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

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = p_bdcdata.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = layout it_fieldcat = fieldcat i_grid_title = title TABLES t_outtab = p_itax.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty = '0001' begda = p_keydate endda = p_keydate TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_tax-pernr infty = '0205' begda = p_keydate endda = p_keydate TABLES infty_tab = p0205 EXCEPTIONS infty_not_found = 1 OTHERS = 2.



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