HGRUTSM1 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 on a monthly basis to generate a file with data about the employee’s and employer’s contributions to the Engineers & Public Constructors Pension Fund (TSMEDE)...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 HGRUTSM1 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_M45_TSM1 - TSMEDE Contributions ASCII File
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: P_CB = Christmas bonus
Selection Text: P_CURR = D .
Selection Text: P_EB = Easter bonus
Selection Text: P_EFAPAJ = For Lump Sum
Selection Text: P_EIDPRS = For Special Surcharge
Selection Text: P_EPIK = For Supplementary Pension
Selection Text: P_FILE = Filename
Selection Text: P_KYT = For Health Branch(KYT)
Selection Text: P_LB = Vacation bonus
Selection Text: P_MAIN = For Main Pension
Selection Text: P_MONTH = Calendar Month
Selection Text: P_NORM = Normal payroll
Selection Text: P_PAYMTH = Payment Method
Selection Text: P_PAYTY = Include OffCycles periods
Selection Text: P_PYTYP = D .
Selection Text: P_SDATE = Submission Date
Selection Text: P_SEQNR = Company Data Sequential No.
Selection Text: P_YEAR = Calendar Year
Title: TSMEDE Contributions ASCII File
Text Symbol: 147 = Date From
Text Symbol: 148 = Date To
Text Symbol: 910 = File already exists. To Overright ?
Text Symbol: 920 = File already exists !
Text Symbol: 930 = File was not created ....
Text Symbol: F90 = Grand Totals
Text Symbol: F93 = Totals for Employees Insured before 1/1/93
Text Symbol: F94 = Totals for Employees Insured after 1/1/93
Text Symbol: H01 = Company's Reg No:
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...
Text Symbol: T01 = TSMEDE Contributions ASCII File Overview
Text Symbol: T02 = Page
Text Symbol: 146 = Payment
Text Symbol: 001 = Header payroll type
Text Symbol: 002 = Additional Fees
Text Symbol: 010 = Notification No. for
INCLUDE OLE2INCL.
INCLUDE HGRUCMP0.
INCLUDE HGRUINS0.
INCLUDE HGRUIKA0.
INCLUDE HGRUGEN0.
INCLUDE HGRUACT0.
No SAP DATABASE tables are accessed within this REPORT code!
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_tsmede.
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.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = gs_tsmede-pernr INFTY = '0001' BEGDA = gs_tsmede-begda ENDDA = gs_tsmede-endda TABLES INFTY_TAB = p0001 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.
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 HGRUTSM1 or its description.