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

HGRUUNF0 SAP ABAP Report - Union Fees - Breakdown list







HGRUUNF0 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 obtain an overview report with the trade union fees paid by the employees for the selected period...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 HGRUUNF0 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_UNF0 - Union Fees - Breakdown List


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 HGRUUNF0. "Basic submit
SUBMIT HGRUUNF0 AND RETURN. "Return to original report after report execution complete
SUBMIT HGRUUNF0 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_CURR = D .
Selection Text: P_SEQNR = Company Data Sequential No.
Selection Text: P_YMFR = D .
Selection Text: P_YMTO = D .
Title: Union Fees - Breakdown list
Text Symbol: C01 = Period
Text Symbol: C02 = Surname
Text Symbol: C04 = Union Fee amount
Text Symbol: H02 = Union Fees List
Text Symbol: S01 = Page:


INCLUDES used within this REPORT HGRUUNF0

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

HR_GR_LAST_DAY_OF_MONTHS CALL FUNCTION 'HR_GR_LAST_DAY_OF_MONTHS' EXPORTING day_in = h_begda IMPORTING LAST_DAY_OF_MONTH = h_endda EXCEPTIONS DAY_IN_NO_DATE = 1 OTHERS = 2.

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

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' CALL FUNCTION 'REUSE_ALV_LIST_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 = W_MINUS.

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = p_endda IMPORTING last_day_of_month = p_endda EXCEPTIONS day_in_no_date = 1 OTHERS = 2.

HR_GR_READ_PYRES_INTERVAL CALL FUNCTION 'HR_GR_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'P' fmper = period_fm toper = period_to permo = lv_permo * BEGDA = * ENDDA = * INPER = p_inper * BONDT = APER-BONDT * PAYTY = APER-PAYTY * PAYID = APER-PAYID * TPRUN = ACURR = a_curr ACUDT = a_currdt TABLES all_runs = p_evp ** evp_runs = p_evp rtdet = lt_rtgr.

HR_99S_GET_EVAL_CLASS_VALUE CALL FUNCTION 'HR_99S_GET_EVAL_CLASS_VALUE' EXPORTING p_molga = p_molga p_lgart = p_lgart p_eval_class = p_evcls1 p_keydate = p_endda * P_T512W = IMPORTING p_value = p_evclv1.

HR_99S_GET_EVAL_CLASS_VALUE CALL FUNCTION 'HR_99S_GET_EVAL_CLASS_VALUE' EXPORTING p_molga = p_molga p_lgart = p_lgart p_eval_class = p_evcls2 p_keydate = p_endda * P_T512W = IMPORTING p_value = p_evclv2.

HR_99S_GET_EVAL_CLASS_VALUE CALL FUNCTION 'HR_99S_GET_EVAL_CLASS_VALUE' EXPORTING p_molga = p_molga p_lgart = p_lgart p_eval_class = p_evcls3 p_keydate = p_endda * P_T512W = IMPORTING p_value = p_evclv3.



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