HROCERG0 is a standard Executable ABAP Report 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 HROCERG0 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.
Selection Text: PA_ALVAR = ALV Layout
Selection Text: PA_DLOG = Save Detailed Log
Selection Text: PA_INSUG = Grouping G
Selection Text: PA_MINCG = Check Min. EEs (T511K-MINCG)
Selection Text: PA_TEST = Test run
Title: Contribution G - Data Mining
Text Symbol: E01 = The Company Code is mandatory
Text Symbol: E02 = Non-test run with PERNR selection
Text Symbol: I01 = Data stored in cluster.
Text Symbol: P01 = Initializing ...
Text Symbol: P02 = Getting deepest retro ...
Text Symbol: P03 = Reading cluster data ...
Text Symbol: P04 = Computing Contribution ...
Text Symbol: P05 = Saving data ...
Text Symbol: P06 = Finishing ...
Text Symbol: S01 = Additional options
Text Symbol: S02 = Special run
Text Symbol: S03 = Insurances grouping
Text Symbol: S04 = Output options
INCLUDE HROIREP0.
INCLUDE HROICLS0.
No SAP DATABASE tables are accessed within this REPORT code!
HR_F4_FOR_ALV_VARIANT CALL FUNCTION 'HR_F4_FOR_ALV_VARIANT' EXPORTING current_report = sy-repid IMPORTING variant = pa_alvar.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty = '0004' TABLES infty_tab = p0004.
HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = p_pernr mode = 'B' begda = gv_pbegd endda = pn-endda tprun = '' tpall = '' initb = 'X' TABLES runs = lt_runs myrg = lt_myrg rtdet = lt_rtdet.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid it_fieldcat = lt_fieldcat i_callback_user_command = 'ALV_CB_COMMAND' it_sort = lt_alv_sort is_variant = lv_variant TABLES t_outtab = it_alvcog EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid it_fieldcat = lt_fieldcat TABLES t_outtab = lt_alvbag EXCEPTIONS program_error = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = p_text.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.