HROCERC0 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 HROCERC0 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_TEST = Test run
Selection Text: PA_DLOG = Save Detailed Log
Selection Text: PA_CGRHH = Contr. C - Group by Health Hou
Selection Text: PA_BSEPF = Separete File for Tech. Unemp.
Selection Text: PA_ALVAR = ALV Layout
Title: ER Contributions Overview - Data Mining
Text Symbol: SGK = K - Work accident (posting)
Text Symbol: SGJ = J - Work accident
Text Symbol: SGI = I - Granting Fund
Text Symbol: SGH = H - Sick leave and allowances
Text Symbol: SGG = G - Challenges
Text Symbol: SGF = F - Commision for ITM IDs
Text Symbol: SGE = E - Work accident IDs
Text Symbol: SGD = D - CASS - sick leave IDs
Text Symbol: SGC = C - Health IDs
Text Symbol: SGB = B - Pension IDs
Text Symbol: SGA = A - Unemployment IDs
Text Symbol: S05 = Additional Options
Text Symbol: S04 = Output options
Text Symbol: S03 = Insurances grouping
Text Symbol: S02 = Special run
Text Symbol: S01 = Additional options
Text Symbol: P06 = Finishing ...
Text Symbol: P05 = Saving data ...
Text Symbol: P04 = Computing Contributions ...
Text Symbol: P03 = Reading cluster data ...
Text Symbol: P02 = Getting deepest retro ...
Text Symbol: P01 = Initializing ...
Text Symbol: I01 = Data stored in cluster.
Text Symbol: E02 = Non-test run with PERNR selection
Text Symbol: E01 = The Company Code is mandatory
INCLUDE HROIREP0.
INCLUDE HROIREP3.
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_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.
HR_RO_WORKDAYS_IN_INTERVAL CALL FUNCTION 'HR_RO_WORKDAYS_IN_INTERVAL' EXPORTING begda = lw_wpbp-begda endda = lw_wpbp-endda mofid = lw_t001p-mofid TABLES i2003 = p2003 CHANGING wrkdays = lw_declb_ee-days_nrm.
HR_RO_WORKDAYS_IN_INTERVAL CALL FUNCTION 'HR_RO_WORKDAYS_IN_INTERVAL' EXPORTING begda = wa_ab-begda endda = wa_ab-endda mofid = lw_t001p-mofid TABLES i2003 = p2003 CHANGING wrkdays = lv_tmpday.
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_alvcon 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_alvbas EXCEPTIONS program_error = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = p_text.
HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = p_pernr mode = 'A' begda = lw_t549q_p-begda endda = lw_t549q_p-endda inper = p_paipe tprun = '' tpall = '' TABLES runs = lv_it_runs myrg = lv_it_myrg rtdet = lv_it_rtdet.
HR_RO_AB_CONCAT CALL FUNCTION 'HR_RO_AB_CONCAT' EXPORTING begda = lw_t549q-begda endda = lw_t549q-endda TABLES ab = p_ab pab = lv_pab ablog = p_ablog.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.