SAP Reports / Programs

HGRUTPE0 SAP ABAP Report - TEAPEP Contributions ASCII File







HGRUTPE0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You run this report to generate a file and an overview report with data about the employee’s and employer’s contributions to the Supplementary Insurance Fund for Personnel in the Oil Industry (TEAPEP)...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 HGRUTPE0 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_TPE0 - TEAPEP Contributions ASCII File


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 HGRUTPE0. "Basic submit
SUBMIT HGRUTPE0 AND RETURN. "Return to original report after report execution complete
SUBMIT HGRUTPE0 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_YMTO = D .
Selection Text: P_YMFR = D .
Selection Text: P_TIFID = D .
Selection Text: P_SEQNR = Company Data Sequential No.
Selection Text: P_SDATE = Submission Date
Selection Text: P_PYTYP = D .
Selection Text: P_FILE = Filename
Selection Text: P_CURR = D .
Title: TEAPEP Contributions ASCII File
Text Symbol: T02 = Page
Text Symbol: T01 = TEAPEP CONTRIBUTIONS ASCII FILE OVERVIEW
Text Symbol: MPR = File download in process...
Text Symbol: M16 = Error occured during conversion of codepage
Text Symbol: M15 = Error occured during reseting converter of codepage
Text Symbol: M10 = File conversion error occured...
Text Symbol: H01 = Company's Reg.No:
Text Symbol: F90 = Grand total :
Text Symbol: 930 = File was not created ....
Text Symbol: 920 = File already exists !
Text Symbol: 910 = File already exists. To Overright ?
Text Symbol: 500 = |
Text Symbol: 300 = Problem occured during File creation !
Text Symbol: 170 = TOTAL
Text Symbol: 160 = ER Contributions
Text Symbol: 150 = EE Contributions
Text Symbol: 140 = Insur.Gross
Text Symbol: 130 = Gross amount
Text Symbol: 120 = Insur.days
Text Symbol: 110 = Payment Date
Text Symbol: 100 = RegNo


INCLUDES used within this REPORT HGRUTPE0

INCLUDE OLE2INCL.
INCLUDE HGRUCMP0.
INCLUDE HGRUINS0.
INCLUDE HGRUIKA0.
INCLUDE HGRUGEN0.
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:

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = w_repid i_internal_tabname = itabname i_inclname = w_repid CHANGING ct_fieldcat = i_fieldcat_alv.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = i_events.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_background_id = 'ALV_BACKGROUND' " i_callback_program = w_variant-report i_default = 'X' " i_save = 'A' * is_variant = w_variant is_layout = w_layout " it_fieldcat = i_fieldcat_alv it_sort = i_sort it_events = i_events i_callback_top_of_page = 'TOP_OF_PAGE' is_print = w_print " TABLES t_outtab = gt_teapep.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' * EXPORTING * it_list_commentary = gt_list_top_of_page.

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