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

HGRUTAX2 SAP ABAP Report - Yearly ASCII File (KEPYO) for Tax Authorities







HGRUTAX2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The Yearly ASCII file (KEPYO) for tax authorities report (HGRUTAX2) is a text file to be sent to the Informatics Center of Ministry of Economy and Finance (in Greek “ΚΕντρο Πληροφορικής Υπουργείου Οικονομικών-ΚΕΠΥΟ)...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 HGRUTAX2 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_M45_TAX2 - Yearly ASCII File (KEPYO) for Tax


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 HGRUTAX2. "Basic submit
SUBMIT HGRUTAX2 AND RETURN. "Return to original report after report execution complete
SUBMIT HGRUTAX2 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_CARS = Display Company Cars
Selection Text: P_CURR = D .
Selection Text: P_DISM = Exclusion of Dismisal Compens.
Selection Text: P_FILE = Filename
Selection Text: P_SDATE = Submission Date
Selection Text: P_SEQNR = Company Data Sequential No.
Selection Text: P_YEAR = Calendar Year
Title: Yearly ASCII File (KEPYO) for Tax Authorities
Text Symbol: 300 = Problem occured during File creation !
Text Symbol: 910 = File already exists. To Overright ?
Text Symbol: 920 = File already exists !
Text Symbol: 930 = File was not created ....
Text Symbol: M10 = File conversion error occured...
Text Symbol: M15 = Error occured during reseting converter of codepage
Text Symbol: M16 = Error occured during conversion of codepage
Text Symbol: MPR = File download in process...


INCLUDES used within this REPORT HGRUTAX2

INCLUDE OLE2INCL.
INCLUDE HGRUCMP0.
INCLUDE HGRUINS0.
INCLUDE HGRUIKA0.
INCLUDE HGRUGEN0.
INCLUDE HGRUTAX0.
INCLUDE HGRUACT0.


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_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING filename = p_file query = 'FE' IMPORTING return = lv_return_code EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-910 titel = text-920 IMPORTING answer = lv_answer EXCEPTIONS OTHERS = 1.

POPUP_TO_DISPLAY_TEXT CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT' EXPORTING textline1 = text-930.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = text-mpr.

SYSTEM_CODEPAGE CALL FUNCTION 'SYSTEM_CODEPAGE' IMPORTING codepage = l_frcp.



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