SAP Reports / Programs

HIECTFA0 SAP ABAP Report - HR Ireland: Update Of Tax Credit







HIECTFA0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Tax Credit Upload Program (Ireland) Use this program to upload the tax credits from the diskette supplied by the Revenue Commission...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 HIECTFA0 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 HIECTFA0. "Basic submit
SUBMIT HIECTFA0 AND RETURN. "Return to original report after report execution complete
SUBMIT HIECTFA0 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: TAX_YEAR = Tax Year Starting 6th April
Selection Text: MAPNAME = Batch Input Name
Selection Text: LFILE = Tax Credit Upload Filename
Selection Text: BINPT = Batch input session
Title: HR Ireland: Update Of Tax Credit
Text Symbol: 907 = Begin
Text Symbol: 906 = CRD Week
Text Symbol: 905 = CRD Month
Text Symbol: 904 = CRD Year
Text Symbol: 903 = Personnel Number
Text Symbol: 901 = PPS Number
Text Symbol: 510 = ** VHIFILE ERROR - File is not in the correct format
Text Symbol: 311 = P R O C E S S I N G T E R M I N A T E D
Text Symbol: 308 = Other reasons
Text Symbol: 307 = Normal Cases
Text Symbol: 306 = Special Cases
Text Symbol: 305 = In selection but not on upload file
Text Symbol: 304 = On upload file but NOT in selection
Text Symbol: 303 = Number of personnel numbers rejected
Text Symbol: 302 = Number of personnel numbers accepted
Text Symbol: 301 = Number of records on upload file
Text Symbol: 300 = Number of personnel numbers selected
Text Symbol: 207 = CRD Upload
Text Symbol: 206 = Continue ?
Text Symbol: 205 = Exit CRD Upload and process batch input ?
Text Symbol: 204 = CRD Upload Totals
Text Symbol: 203 = Statistics of CRD Upload
Text Symbol: 202 = Special Case Employee Listing
Text Symbol: 201 = Rejected Employee Listing
Text Symbol: U10 = redo
Text Symbol: U02 = redo
Text Symbol: SEB = Incorrect personnel number on CRD upload diskette for
Text Symbol: SEA = No personnel number on CRD upload diskette for
Text Symbol: RSD = redo
Text Symbol: RSC = redo
Text Symbol: RSB = redo
Text Symbol: RSA = redo
Text Symbol: REC = Mandatory Personnel details (Infotype 0002) not found for





Text Symbol: REB = The following Employees were selected but are NOT on the upload file
Text Symbol: REA = The following PPS NUMS were ON the Upload file but were NOT included in the selection parameters
Text Symbol: 999 = Processing CRD file
Text Symbol: 998 = Processing employee
Text Symbol: 997 = Creating List
Text Symbol: 918 = Cut-off Point
Text Symbol: 917 = Addr 3
Text Symbol: 916 = Addr 2
Text Symbol: 915 = Addr 1
Text Symbol: 914 = First Name
Text Symbol: 913 = Surname
Text Symbol: 912 = Date
Text Symbol: 910 = Tax Basis
Text Symbol: 909 = Tax Table
Text Symbol: 908 = Enddate
Text Symbol: 027 = SESSION OPEN NOT SUCCESSFUL. SY-SUBRC:
Text Symbol: 026 = (pence)
Text Symbol: 025 = (pence)
Text Symbol: 024 = (pounds)
Text Symbol: 023 = (people)
Text Symbol: 022 = Weekly CRD
Text Symbol: 021 = Monthly CRD
Text Symbol: 020 = Number of Employee Details Updated :
Text Symbol: 019 = Yearly CRD
Text Symbol: 018 = Employees
Text Symbol: 017 = Detail Record
Text Symbol: 016 = Trailer Record
Text Symbol: 014 = Employee No. differs from Works No. on Diskette :
Text Symbol: 013 = Co. Code
Text Symbol: 012 = Create Batch Input Session
Text Symbol: 011 = Tax Year Starting 6th April
Text Symbol: 010 = Number of Employee Detail Records :
Text Symbol: 009 = * CRDFILE ERROR - Different Weekly CRD Totals
Text Symbol: 008 = * CRDFILE ERROR - Different Monthly CRD Totals
Text Symbol: 007 = * CRDFILE ERROR - Different Yearly CRD Totals
Text Symbol: 006 = From Server
Text Symbol: 005 = Local File
Text Symbol: 004 = * CRDFILE ERROR - Different Employee Counts
Text Symbol: 003 = No Tax / PRSI data record found for employee:





Text Symbol: 002 = No amounts found for employee:
Text Symbol: 001 = TAX CRED C O N T R O L R E P O R T
Text Symbol: 028 = Employee number:
Text Symbol: 200 = Accepted Employee Listing
Text Symbol: 105 = --
Text Symbol: 104 = Employee Stats
Text Symbol: 103 = No batch input sesion created.
Text Symbol: 102 = Batch Input Details
Text Symbol: 101 = Batch input session created under session name
Text Symbol: 100 = --
Text Symbol: 099 = S T A T I S T I C S R E P O R T
Text Symbol: 047 = Additional Information
Text Symbol: 046 = ** ERROR - Cannot read CRD upload diskette **
Text Symbol: 045 = No entry in table T001 like 'IE'.
Text Symbol: 044 = CRD File :
Text Symbol: 043 = SESSION INSERT NOT SUCCESSFULL. SY-SUBRC:
Text Symbol: 042 = System (T7ie1) :
Text Symbol: 041 = ** ERROR - Employer Reg Num on CRD upload file and table T7IE6 do NOT match **
Text Symbol: 040 = Number of Employee Warnings :
Text Symbol: 039 = User Input Tax Year :
Text Symbol: 038 = CRD File Tax Year :
Text Symbol: 037 = ** ERROR - File & System Tax Years DO NOT MATCH **
Text Symbol: 036 = Upload stats
Text Symbol: 035 = R E J E C T E D E M P L O Y E E S R E P O R T
Text Symbol: 034 = Total number of persons not processed:
Text Symbol: 033 = Number not processed for this reason:
Text Symbol: 031 = ** WARNING - ALL RECORDS HAVE NOT BEEN PROCESSED **
Text Symbol: 030 = Number of Employees rejected :
Text Symbol: 029 = NO EMPLOYEES SELECTED - CRD File not processed.


INCLUDES used within this REPORT HIECTFA0

INCLUDE PCIETFA1.


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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = D020S-PROG DYNUMB = D020S-DNUM TABLES DYNPFIELDS = DYNP_VALUE_TAB EXCEPTIONS INVALID_ABAPWORKAREA = 04 INVALID_DYNPROFIELD = 08 INVALID_DYNPRONAME = 12 INVALID_DYNPRONUMMER = 16 INVALID_REQUEST = 20 NO_FIELDDESCRIPTION = 24 UNDEFIND_ERROR = 28.

WS_FILENAME_GET * CALL FUNCTION 'WS_FILENAME_GET' * EXPORTING * DEF_FILENAME = SPACE * DEF_PATH = LFILE * MASK = MASK * MODE = 'O' * TITLE = TEXT-005 * IMPORTING * FILENAME = LFILE * RC = DUMMY * EXCEPTIONS * INV_WINSYS = 04 * NO_BATCH = 08 * SELECTION_CANCEL = 12 * SELECTION_ERROR = 16.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 5 TEXT = text-999.

SAPGUI_PROGRESS_INDICATOR



CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PROGRESS.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING CLIENT = SY-MANDT GROUP = MAPNAME KEEP = 'X' USER = SY-UNAME.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'PA30' TABLES DYNPROTAB = BDCDATA.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = 80 TEXT = text-997.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = REPID I_INCLNAME = REPID I_INTERNAL_TABNAME = 'ACCEPT_EE' CHANGING CT_FIELDCAT = FIELDCAT[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = 'HIECTFA0' I_CALLBACK_PF_STATUS_SET = 'SET_STATUS_LV' I_CALLBACK_USER_COMMAND = 'CALLBACK_LV' IS_LAYOUT = LAYOUT I_SAVE = 'A' IT_FIELDCAT = FIELDCAT[] IT_EVENTS = GT_EVENTS[] TABLES T_OUTTAB = DATA EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DIAGNOSETEXT1 = TEXT-205 TEXTLINE1 = TEXT-105 TITEL = TEXT-100 IMPORTING ANSWER = OPTION.

HR_IE_XML_DISPLAY_MASTER_DATA CALL FUNCTION 'HR_IE_XML_DISPLAY_MASTER_DATA' " CLCEG4K004773 EXPORTING PERSON = PNUMBER CHOICE = CHOICE BEGIN_DATE = SY-DATUM END_DATE = SY-DATUM.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DIAGNOSETEXT1 = TEXT-101 TEXTLINE1 = TEXT-105 TITEL = TEXT-100 IMPORTING ANSWER = OPTION.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = RT_EVENTS.



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