SAP Reports / Programs | Payroll(PY) SAP PY

HSKCPPU0 SAP ABAP Report - Overiview of cumulative totals for labour-law averages







HSKCPPU0 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 HSKCPPU0 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 HSKCPPU0. "Basic submit
SUBMIT HSKCPPU0 AND RETURN. "Return to original report after report execution complete
SUBMIT HSKCPPU0 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: ROZPIS = List of count in qauarters ?
Selection Text: SHRT = Reduction method long-term er.
Selection Text: TITLE2 = List title
Selection Text: VALU01 = Value range
Selection Text: VALU02 = Value range
Selection Text: VALU03 = Value range
Selection Text: VALU04 = Value range
Selection Text: VALU05 = Value range
Selection Text: VALU06 = Value range
Selection Text: VALU07 = Value range
Selection Text: VALU08 = Value range
Selection Text: VALU09 = Value range
Selection Text: VALU10 = Value range
Selection Text: VALU11 = Value range
Selection Text: VALU12 = Value range
Selection Text: VALU13 = Value range
Selection Text: VALU14 = Value range
Selection Text: VALU15 = Value range
Selection Text: VALU16 = Value range
Selection Text: VALU17 = Value range
Selection Text: VALU18 = Value range
Selection Text: VALU19 = Value range
Selection Text: VALU20 = Value range
Selection Text: ROK = Count in year
Selection Text: P_LVTEMP = Table variant
Selection Text: P_ALV = Import to table
Selection Text: KVART = Count in quarter
Selection Text: H_COUNT = Number of fields in header
Selection Text: DATUM = Date
Text Symbol: 000 = COUNT IN OVERVIEW FOR LABOUR-LAW AVERAGES FOR THE PERIOD &1 - &2
Text Symbol: 001 = Incorrect value entry!!! Allowed values are:
Text Symbol: 002 = 'SHRT', 'SHTT', 'SHRP', SHTP, ' '.
Text Symbol: 003 = RFact.:
Text Symbol: 004 = Ori.WTF:
Text Symbol: 005 = Ori.OH:
Text Symbol: 011 = months
Text Symbol: 012 = Thursday
Text Symbol: BI1 = Entry WTF WH Income Estimate Hourly Presumab. Dayly Monthly Net month.





Text Symbol: E01 = Max.param.number can be in the table T7SK4D
Text Symbol: E02 = You can paginate only aft.data in header.
Text Symbol: E03 = Unknown period
Text Symbol: E12 = Missing value for:
Text Symbol: O01 = Net average calculation per deductinos as of:
Text Symbol: PHM = Mal
Text Symbol: PHZ = Fema
Text Symbol: XI1 = Entry FPD OH Income Estimate Hourly Dayly Monthly Net mont.


INCLUDES used within this REPORT HSKCPPU0

INCLUDE RPC2RX00.
INCLUDE PC2RXSK0.
INCLUDE RPPPXD00.
INCLUDE HSKLXXL0.
INCLUDE HSKLXXL2.
INCLUDE HSKLXXL1.
INCLUDE HSKLXXL3.
INCLUDE RPPPXM00.


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_SK_HIRE_FIRE CALL FUNCTION 'HR_SK_HIRE_FIRE' EXPORTING BEG = PN-BEGDA END = PN-ENDDA IMPORTING HIRE_DATE = HIREDATE FIRE_DATE = FIREDATE TABLES PP0000 = P0000 "input PP0001 = P0001 "input PPHIFI = PHIFI. "output

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr varky = 'HSKCPPU0' IMPORTING entrydate = e_hire TABLES entry_dates = e_dates EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR_SK_CALC_COEF_2002 CALL FUNCTION 'HR_SK_CALC_COEF_2002' EXPORTING BEGDA = PN-BEGDA ENDDA = PN-ENDDA TABLES T0000 = P0000 T0001 = P0001 T0007 = P0007 PPHIFI = PHIFI TSK06 = ITSK06 EXCEPTIONS OTHERS = 1.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING FIRST_DATE = P0002-GBDAT SECOND_DATE = ENDDA MODIFY_INTERVAL = ' ' IMPORTING YEARS_BETWEEN_DATES = AGE.

CD_READ_RGDIR CALL FUNCTION 'CD_READ_RGDIR' EXPORTING persnr = pernr-pernr TABLES in_rgdir = lt_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = 'SK' employeenumber = pernr-pernr sequencenumber = lt_rgdir-seqnr CHANGING payroll_result = ls_skres 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.



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