SAP Reports / Programs | Payroll(PY) SAP PY

HROCHIE0 SAP ABAP Report - Health house - contributions







HROCHIE0 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 HROCHIE0 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 HROCHIE0. "Basic submit
SUBMIT HROCHIE0 AND RETURN. "Return to original report after report execution complete
SUBMIT HROCHIE0 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: P_DBF = DBF File
Selection Text: P_EE = List of EE
Selection Text: P_ERR = Print Error
Selection Text: P_FILE = File Name
Selection Text: P_HEHID = Health House
Selection Text: P_INSUC = Grp. for ER Health Insurance
Selection Text: P_NREP = Last Name
Selection Text: P_PREP = First Name
Selection Text: P_RCAP = Recapitulation
Selection Text: P_SISP = Empty Lines Before Sign
Selection Text: P_TAXOF = Tax Office
Selection Text: P_WKAC = Only EE with WkAcc&OccDisease
Title: Health house - contributions
Text Symbol: 036 = Health house:
Text Symbol: 037 = All health houses
Text Symbol: E01 = Negative amounts in Recap.:
Text Symbol: E02 = Negative amounts:
Text Symbol: H01 = List selection
Text Symbol: H02 = The name of person who sing the document
Text Symbol: H10 = Restriction
Text Symbol: I01 = Processing of personnel numbers. PERNRs processed:
Text Symbol: I02 = Processing of data. Records processed:
Text Symbol: S01 = Summarize amounts per year
Text Symbol: S02 = Grouping by Health Houses
Text Symbol: S03 = Add EEs with WkAcc&OccDisease
Text Symbol: S04 = each group on separate page
Text Symbol: S05 = Add EEs with zero amounts
Text Symbol: S06 = Create retro records
Text Symbol: S07 = Add 'S' line when long SickLeave
Text Symbol: S10 = Print errors
Text Symbol: S11 = in ALV table
Text Symbol: S20 = Structure for .DBF file
Text Symbol: S21 = variant 1
Text Symbol: S22 = variant 2
Text Symbol: 035 = (zz.ll.aaaa)
Text Symbol: 001 = no.
Text Symbol: 002 = Pers. ID
Text Symbol: 003 = Last Name





Text Symbol: 004 = First Name
Text Symbol: 005 = Category
Text Symbol: 006 = TotalOwed
Text Symbol: 007 = OwedCurrMonth
Text Symbol: 008 = TotalPaid
Text Symbol: 009 = PaidCurrMonth
Text Symbol: 010 = Hire Date
Text Symbol: 011 = Fire Date
Text Symbol: 012 = Per. No
Text Symbol: 013 = Year:
Text Symbol: 014 = Month:
Text Symbol: 015 = Health House
Text Symbol: 016 = Contribution paid by ER
Text Symbol: 017 = Contribution paid by EEs
Text Symbol: 018 = Payment date of
Text Symbol: 019 = Legal representative:
Text Symbol: 020 = Name of ER:
Text Symbol: 021 = Fiscal code:
Text Symbol: 022 = No. from Trade Register:
Text Symbol: 023 = LIST
Text Symbol: 024 = With EEs for which is paid the contribution for health insurance
Text Symbol: 025 = Recapitulation
Text Symbol: 026 = With the contribution for the FNUASS
Text Symbol: 027 = TOTAL for
Text Symbol: 028 = INSURED
Text Symbol: 029 = AMOUNT OWNED
Text Symbol: 030 = TOTAL AMOUNT PAID
Text Symbol: 031 = TotalFromWhich
Text Symbol: 032 = CurrentMonth
Text Symbol: 033 = of Insurance
Text Symbol: 034 = retrib.


INCLUDES used within this REPORT HROCHIE0

No INCLUDES are used within this REPORT code!


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_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_cntee-pernr infty = '0000' TABLES infty_tab = p0000.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_cntee-pernr infty = '0001' TABLES infty_tab = p0001.

HR_READ_INFOTYPE





CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_cntee-pernr infty = '0002' TABLES infty_tab = p0002.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_cntee-pernr infty = '0003' TABLES infty_tab = p0003.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_cntee-pernr infty = '0016' TABLES infty_tab = p0016.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_cntee-pernr infty = '0519' TABLES infty_tab = p0519.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = wa_cntee-pernr infty = '2003' TABLES infty_tab = p2003.

HR_RO_READ_PYRES_INTERVAL * CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' * EXPORTING * pernr = wa_cntee-pernr * mode = 'M' * begda = pn-begda * endda = pn-endda * tprun = '' * tpall = '' * TABLES * runs = it_runs * myrg = it_myrg * rtdet = it_rtdet.

HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = wa_cntee-pernr "**** begin of nt1316191del ** mode = 'M' "nt1309887del * mode = 'S' "nt1309887ins "**** end of nt1316191del mode = 'M' "nt1316191ins begda = pbegd "nt1046443ins endda = pendd "nt1046443ins "begda = pn-begda "nt1046443ins "endda = pn-endda "nt1046443ins * bondt = bondt * payty = payty * payid = payid tprun = '' tpall = '' TABLES runs = it_runs myrg = it_myrg rtdet = it_rtdet.

HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_eedbfa2 fieldnames = it_header.

HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_eedbfa2 fieldnames = it_header.

HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_eedbfb2 fieldnames = it_header.

HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_eedbfb2 fieldnames = it_header.

HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_rcapdbf2 fieldnames = it_header.

HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'DBF' filetype_no_show = 'X' TABLES data_tab = it_rcapdbf2 fieldnames = it_header.

HR_RO_WORKDAYS_IN_INTERVAL CALL FUNCTION 'HR_RO_WORKDAYS_IN_INTERVAL' EXPORTING begda = lv_wpbp-begda endda = lv_wpbp-endda mofid = t001p-mofid TABLES i2003 = p2003 CHANGING wrkdays = tmp_wkda.

HR_RO_WORKDAYS_IN_INTERVAL CALL FUNCTION 'HR_RO_WORKDAYS_IN_INTERVAL' EXPORTING begda = lv_ab-begda endda = lv_ab-endda mofid = t001p-mofid TABLES i2003 = p2003 CHANGING wrkdays = lv_abday.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' * EXPORTING * BEG = '18000101' * END = '99991231' IMPORTING fire_date = wa_eecon-endda "nt1350596 hire_date = wa_eecon-begda TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001 .

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING it_fieldcat = fc[] TABLES t_outtab = it_error.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = lv_perc text = lv_indicator_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 HROCHIE0 or its description.