SAP Reports / Programs

HROCERG0 SAP ABAP Report - Contribution G - Data Mining







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


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 HROCERG0. "Basic submit
SUBMIT HROCERG0 AND RETURN. "Return to original report after report execution complete
SUBMIT HROCERG0 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: 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


INCLUDES used within this REPORT HROCERG0

INCLUDE HROIREP0.
INCLUDE HROICLS0.


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_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.



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