SAP Reports / Programs | Payroll(PY) SAP PY

RPU180H1 SAP ABAP Report - Utility program for calculating sick pay base based on 180 day







RPU180H1 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 RPU180H1 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M21_RPU180H1 - Util.program sick pay base 180 days


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 RPU180H1. "Basic submit
SUBMIT RPU180H1 AND RETURN. "Return to original report after report execution complete
SUBMIT RPU180H1 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: PV_PAPER = Payroll period
Selection Text: P_TPBEG = Starting day of sick pay all.
Selection Text: SO_LGART = Wage types of sick leave
Title: Utility program for calculating sick pay base based on 180 day
Text Symbol: 027 = Total:
Text Symbol: E02 = Has no valid infotype 0001. Period:
Text Symbol: I03 = Number of days with income in the starting month of sick p.
Text Symbol: I05 = Income subject to contrib. in the starting month of SP (HUF)
Text Symbol: I09 = First month of relevant period
Text Symbol: I11 = Number of days with income in the first month of relevant per.
Text Symbol: I13 = Income subject to contrib. in the first month of relev. per. (HUF)
Text Symbol: I17 = Income subject to contrib. in further months of relev. per. (HUF)
Text Symbol: I19 = Total income subject to contrib. in the relevant per. (HUF)
Text Symbol: I20 = No. of days before starting SP in the month of starting SP
Text Symbol: I21 = No. of days to be considered in the first month of the rel. per.
Text Symbol: I22 = From which sick l.
Text Symbol: I23 = From which sick l. (HUF)
Text Symbol: I24 = Irregular income:
Text Symbol: I25 = WT Relev. per. Days Amount Crcy Paym.date Average
Text Symbol: I26 = Starting day of 180 days


INCLUDES used within this REPORT RPU180H1

INCLUDE: RPCCCD09.


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_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '21' * BEGDA = * ENDDA = IMPORTING waers = penznem EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = ' ' TABLES error = errortab EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = ' ' TABLES error = errortab EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

HR_HU_UTOLSO_BELEPES CALL FUNCTION 'HR_HU_UTOLSO_BELEPES' EXPORTING per_nr = pernr ref_date = max_date IMPORTING last_hire = hired massn = $massn massg = $massg EXCEPTIONS not_found = 1 t5h4e_error = 2 p0041_begda = 3 p0041_future = 4 p0041_sequence = 5 OTHERS = 6.

HR_HU_TBAT_IDOSZAK CALL FUNCTION 'HR_HU_TBAT_IDOSZAK' EXPORTING pernr = pernr hired = hired * ABBEG = fobike = fobike tpbeg = tpbeg IMPORTING * BEGDA = * ENDDA = itype = $itype EXCEPTIONS bad_dates = 1 no_interval = 2 invalid_date = 3 missing_date = 4 OTHERS = 5 .

HR_HU_KERESO_NAPOK_NAPTARI CALL FUNCTION 'HR_HU_KERESO_NAPOK_NAPTARI' EXPORTING pernr = pernr begda = $mon_beg endda = $mon_end hired = hired IMPORTING ndays = pv_nd.

HR_HU_TBAT_JARULEKALAP * CALL FUNCTION 'HR_HU_TBAT_JARULEKALAP' * EXPORTING * pernr = pernr * begda = $mon_beg * endda = $mon_end * hired = hired * IMPORTING * jalap = $mon_jalap.

HR_HU_TBAT_JALAP_RSZ_2002 CALL FUNCTION 'HR_HU_TBAT_JALAP_RSZ_2002' EXPORTING pernr = pernr begda = $mon_beg endda = $mon_end hired = hired jalap_nem_rsz = lv_dummy IMPORTING jalap_rsz = $mon_jalap.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = pernr * NO_AUTHORITY_CHECK = ' ' * IMPORTING * molga = TABLES in_rgdir = rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2 .

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = 'RH' employeenumber = pernr sequencenumber = $seqnr * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' * CHECK_READ_AUTHORITY = 'X' * IMPORTING * VERSION_NUMBER_PAYVN = * VERSION_NUMBER_PCL2 = CHANGING payroll_result = result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8 .

HR_HU_SZEMELY_NAPTAR_TORTENET CALL FUNCTION 'HR_HU_SZEMELY_NAPTAR_TORTENET' EXPORTING aktper = lv_aktper TABLES pcale = lt_pcale pchis = lt_pchis.

HR_HU_TBAT_JARULEKALAP * CALL FUNCTION 'HR_HU_TBAT_JARULEKALAP' * EXPORTING * pernr = pernr * begda = datum * endda = datum * hired = hired * IMPORTING * jalap = jalap.

HR_HU_TBAT_JALAP_RSZ_2002 CALL FUNCTION 'HR_HU_TBAT_JALAP_RSZ_2002' EXPORTING pernr = pernr begda = datum endda = lv_mon_endda hired = hired jalap_nem_rsz = lv_dummy IMPORTING jalap_rsz = jalap.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = 'RH' employeenumber = pv_pernr sequencenumber = lv_seqnr * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' * CHECK_READ_AUTHORITY = 'X' * IMPORTING * VERSION_NUMBER_PAYVN = * VERSION_NUMBER_PCL2 = CHANGING payroll_result = result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 OTHERS = 8 .

HR_HU_SZEMELY_NAPTAR_TORTENET CALL FUNCTION 'HR_HU_SZEMELY_NAPTAR_TORTENET' EXPORTING aktper = lv_aktper TABLES pcale = lt_pcale pchis = lt_pchis.



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