HGRUGEN0 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter HGRUGEN0 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include for forms handling General data
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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 ACURR = a_curr ACUDT = a_currdt TABLES all_runs = p_evp rtdet = lt_rtgr.
HR_GR_READ_PYRES_INTERVAL CALL FUNCTION 'HR_GR_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'R' fmper = period_fm toper = period_to permo = lv_permo ACURR = a_curr ACUDT = a_currdt TABLES all_runs = p_evp rtdet = lt_rtgr.
HR_GR_READ_PYRES_INTERVAL CALL FUNCTION 'HR_GR_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'R' fmper = period_fm toper = period_to permo = lv_permo ACURR = a_curr ACUDT = a_currdt TABLES all_runs = p_evp rtdet = lt_rtgr.
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_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.
HR_GR_READ_PYRES_INTERVAL CALL FUNCTION 'HR_GR_READ_PYRES_INTERVAL' EXPORTING pernr = hpernr mode = 'A' fmper = period toper = period permo = lv_permo inper = period ACURR = p_acurr ACUDT = p_acurrdt TABLES * all_runs = p_evp rtdet = lt_rtgr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.