SAP Reports / Programs | Payroll(PY) SAP PY

HROCUNE0 SAP ABAP Report - Unemployment EE file







HROCUNE0 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 HROCUNE0 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 HROCUNE0. "Basic submit
SUBMIT HROCUNE0 AND RETURN. "Return to original report after report execution complete
SUBMIT HROCUNE0 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_ALV = Display ALV
Selection Text: PA_DEP = Department
Selection Text: PA_FAX = Fax
Selection Text: PA_FORMX = Split Documents
Selection Text: PA_MAIL = E-mail
Selection Text: PA_PDF = Display PDF
Selection Text: PA_PMTD = Date of Payment
Selection Text: PA_REPR = Legal Representative
Selection Text: PA_REPR2 = Legal Representative
Selection Text: PA_TEL = Phone
Selection Text: PA_VARIA = ALV Variant
Selection Text: P_FPNAM = PDF Form Name
Selection Text: P_PRN = Spool Output Device
Title: Unemployment EE file
Text Symbol: H01 = Report Parameters
Text Symbol: H02 = Signature
Text Symbol: I01 = No relevant data found.
Text Symbol: PDF = PDF Output


INCLUDES used within this REPORT HROCUNE0

INCLUDE: HROIREP0.
INCLUDE: HROIREP2.
INCLUDE HROUSFP1.
INCLUDE HROUSFP2.


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:

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = pn-begda end = pn-endda IMPORTING fire_date = cv_fire hire_date = cv_hire TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001.

HR_RO_GET_ADDRESS CALL FUNCTION 'HR_RO_GET_ADDRESS' EXPORTING anart = 'RO' vargu = lv_vargu IMPORTING ev_street = lv_er_street ev_number = lv_er_number ev_flat = lv_er_flat ev_stair = lv_er_stair ev_floor = lv_er_floor ev_apart = lv_er_apart ev_area = lv_er_area ev_distr = lv_er_distr ev_longname = cs_er-name ev_fiscode = cs_er-fiscode ev_caencode = cs_er-caen EXCEPTIONS no_data = 1 OTHERS = 2.

HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'R' begda = ls_t549q-begda endda = ls_t549q-endda tprun = '' tpall = '' initb = 'X' TABLES runs = lt_runs " basic info abou payroll run (date, ...)

HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'B' begda = pv_begda endda = pv_endda tprun = '' tpall = '' initb = '' "X is not needed as report should run for several EE TABLES runs = lt_runs " info o spusteni payrollu (datum, ...)

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_top_of_page = 'TOP_OF_PAGE' i_callback_user_command = 'ALV_PROCESS_COMMAND' i_callback_pf_status_set = 'ALV_PF_COMMAND' is_layout = ls_layout it_fieldcat = pt_fieldcat i_save = 'X' is_variant = ls_variant TABLES t_outtab = pt_data EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_header.



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