SAP Reports / Programs | Payroll | Canada(PY-CA) SAP PY

RPCAUDK0 SAP ABAP Report - Audit/Reconciliation report







RPCAUDK0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The purpose of the Payroll Audit/Reconciliation Report is twofold: To ensure the integrity of the accumulated year-to-date payroll and/or wage type amounts within the payroll cluster results, and To reconcile the payroll cluster results with the reports produced during final payroll processing, including those results posted to Third-Party Remittance and mySAP Financials...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPCAUDK0 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

P000_M07_PARP - Payroll audit/reconciliation report


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 RPCAUDK0. "Basic submit
SUBMIT RPCAUDK0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCAUDK0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Audit report
Selection Text: ADJUST = Select correction runs only
Selection Text: APPL = Wage type application
Selection Text: ASOF = As-of-date
Selection Text: ASOFPREV =
Selection Text: BONDT =
Selection Text: COST_OVR = Cost centre overview
Selection Text: DETAIL = Employee details
Selection Text: DIFFER = YTD check / list of YTD errors
Selection Text: EXPVCO = Exclude prev. year corrections
Selection Text: FTAX_OVR = Audit overview
Selection Text: LAST = Select last result only
Selection Text: OFFCYC = Select off-cycle payrolls only
Selection Text: PAYID =
Selection Text: PAYTY = D .
Selection Text: WTDETA = Wage type bucket details
Selection Text: WPBP_OVR = Company overview
Selection Text: WHENP =
Selection Text: WHENE =
Selection Text: VOIDS = Select voided payrolls only
Selection Text: SO_LGART = D .
Selection Text: REVERS = Select reversed payrolls only
Selection Text: RETDET = Details per retrocalculation
Selection Text: RB_WTYPE = Specific wage types(s)
Selection Text: RB_OCSIN =
Selection Text: RB_OCMUL =
Selection Text: RB_APPL = Wage type application
Selection Text: PYDSEL = Details per pay date
Selection Text: PAYTYR = D .
Title: Audit/Reconciliation report
Text Symbol: T1G = Inflow
Text Symbol: T1F = (RT)
Text Symbol: T1E = + in interval
Text Symbol: T1D = Total Earnings
Text Symbol: T1C = (Last TCRT)
Text Symbol: T1B = interval begin
Text Symbol: T1A = Total YTD at
Text Symbol: T0B = Province :





Text Symbol: T0A = BusNr/QTxID:
Text Symbol: SUM = Summary:
Text Symbol: SS3 = When earned view
Text Symbol: SS2 = When paid view
Text Symbol: SS1 = Cost centre overview
Text Symbol: SEL = Selected employees with payment in tax year
Text Symbol: S14 = Reconciliation: Detailed Company (when paid)
Text Symbol: S13 = Reconciliation: Company per EE (when paid)
Text Symbol: S12 = Reconciliation: Company View (when paid)
Text Symbol: S10 = Reconciliation: Detailed Company (when earned)
Text Symbol: S09 = Reconciliation: Company per EE (when earned)
Text Symbol: S08 = Reconciliation: Audit Errors
Text Symbol: S07 = Reconciliation: Detailed Audit
Text Symbol: T1H = + into interval
Text Symbol: T1I = (TAXI)
Text Symbol: T1J = Outflow
Text Symbol: T1K = - from interval
Text Symbol: T1L = (TAXI)
Text Symbol: T1M = Total YTD at
Text Symbol: T1N = = interval end
Text Symbol: T1O = (TCRT)
Text Symbol: T1P = WT In- Payday For- Payday Pay
Text Symbol: T1Q = Period Period AR T I
Text Symbol: T2A = Summary YTD at
Text Symbol: T2B = interval begin
Text Symbol: T2C = (Last CRT)
Text Symbol: T2D = Total Earnings
Text Symbol: T2E = + in interval
Text Symbol: T2F = (RT)
Text Symbol: T2G = Summary YTD at
Text Symbol: T2H = = interval end
Text Symbol: T2I = (CRT)
Text Symbol: TAX = Audit Overview
Text Symbol: TIM = Report executed on:
Text Symbol: DWP = Detailed overview per employee and wage type (when paid)
Text Symbol: DIF = Overview of employees with balance problems
Text Symbol: DET = Detailed overview per employee (when earned)
Text Symbol: DEP = Detailed overview per employee (when paid)
Text Symbol: DAT = Details





Text Symbol: COS = Cost Centre:
Text Symbol: COR = Corrections for
Text Symbol: CCD = Comp.code :
Text Symbol: C11 = For-Period
Text Symbol: C10 = In-Period
Text Symbol: C09 = Payday
Text Symbol: C08 = Summary YTD at Interval End (CRT)
Text Symbol: C07 = Total Earnings in Interval (RT)
Text Symbol: C06 = Summary YTD at Interval Begin (Last CRT)
Text Symbol: C05 = Total YTD at Interval End (TCRT)
Text Symbol: C04 = Outflow from Interval (TAXI)
Text Symbol: C03 = Inflow into Interval (TAXI)
Text Symbol: C02 = Total YTD in Interval (RT)
Text Symbol: C01 = Total YTD at Interval Begin (Last TCRT)
Text Symbol: 021 = Exclude previous year corrections
Text Symbol: 020 = Multiple runs
Text Symbol: 019 = Single run
Text Symbol: 018 = Correction runs selection
Text Symbol: 017 = As-of-date (up to date)
Text Symbol: 016 = As-of-date (start from date)
Text Symbol: 013 = Specific wage type(s)
Text Symbol: 012 = Wage type application
Text Symbol: 009 = (with corrections from & to &)
Text Symbol: 008 = Corrections from future before as-of-date
Text Symbol: 007 = PerNo
Text Symbol: 006 = Payroll result selection
Text Symbol: 005 = Detail list selection (optional)
Text Symbol: 004 = Employee Name
Text Symbol: 003 = Pers. No. :
Text Symbol: 002 = Overview list selection
Text Symbol: 001 = Wage type selection
Text Symbol: S06 = Reconciliation: Audit per EE
Text Symbol: S05 = ------------------------------------------------
Text Symbol: S04 = Document DataSt Spool-Nr
Text Symbol: S03 = Reconciliation: Employee List
Text Symbol: S02 = Reconciliation: Company View (when earned)
Text Symbol: S01 = Reconciliation: Audit View
Text Symbol: PAY = Evaluation period:
Text Symbol: PAR = Pay Area :



Text Symbol: L13 = YTD Company view per EE, wage type and payday (when paid)
Text Symbol: L12 = YTD Company view per employee (when paid)
Text Symbol: L11 = YTD Earnings (Company view, when paid)
Text Symbol: L10 = YTD Audit view per EE, wage type and payday
Text Symbol: L09 = YTD Company view per EE, wage type and payday (when earned)
Text Symbol: L08 = YTD Company view per employee (when earned)
Text Symbol: L07 = YTD Audit error list
Text Symbol: L06 = YTD Audit view per employee
Text Symbol: L05 = Evaluated employees
Text Symbol: L03 = YTD Earnings (Company view, when earned)
Text Symbol: L02 = YTD Earnings (Tax view)
Text Symbol: INT = Evaluation interval:
Text Symbol: I02 = No earnings for this view were found
Text Symbol: FIN = Company View
Text Symbol: EMP = Employee list
Text Symbol: E12 = Error Messages
Text Symbol: E11 = TAX1 and TAXO have same splits. Sequence #
Text Symbol: E10 = Warning:
Text Symbol: E09 = Last result not supported for pay period eval.
Text Symbol: E08 = As-of date(s) not supported for pay period eval.
Text Symbol: E07 = Must specify as-of-date for correction runs eval.
Text Symbol: E06 = Pay type, id and date must be specified
Text Symbol: E05 = Reporting interval could not be determined
Text Symbol: E04 = Previous as-of-date must be < current as-of-date
Text Symbol: E03 = Specify a wage type application
Text Symbol: E02 = As-of date cannot precede period end date
Text Symbol: E01 = Period begin and end dates must be in the same year
Text Symbol: DWT = Detailed overview per employee and wage type (when earned)


INCLUDES used within this REPORT RPCAUDK0

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:

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING ENTRY = P_RGDIR IMPORTING CALCD = SW_RETRO.

HR_CA_GET_ORIGINAL_PAYROLL CALL FUNCTION 'HR_CA_GET_ORIGINAL_PAYROLL' EXPORTING IN_RGDIR = P_RGDIR IMPORTING OUT_RGDIR = TEMP_ORG TABLES RGDIR = P_RGDIR EXCEPTIONS OTHERS = 1.

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' "ANG0327068 EXPORTING "ANG0327068 ENTRY = P_RGDIR "ANG0327068 IMPORTING "ANG0327068 CALCD = SW_RETRO. "ANG0327068

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' "ANG0327068 EXPORTING "ANG0327068 ENTRY = P_RGDIR "ANG0327068 IMPORTING "ANG0327068 CALCD = SW_RETRO. "ANG0327068

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING ENTRY = P_RGDIR IMPORTING CALCD = SW_RETRO.

CD_EVALUATION_PERIODS CALL FUNCTION 'CD_EVALUATION_PERIODS' EXPORTING BONUS_DATE = ORG_RGDIR-BONDT INPER_MODIF = ORG_RGDIR-IPERM INPER = ORG_RGDIR-INPER PAY_TYPE = ORG_RGDIR-PAYTY PAY_IDENT = ORG_RGDIR-PAYID TABLES RGDIR = RGDIR EVPDIR = EVP IABKRS = IABKRS "Note 495794 EXCEPTIONS OTHERS = 1.

CD_EVALUATION_PERIODS_VOID CALL FUNCTION 'CD_EVALUATION_PERIODS_VOID' EXPORTING BONUS_DATE = ORG_RGDIR-BONDT INPER_MODIF = ORG_RGDIR-IPERM INPER = ORG_RGDIR-INPER PAY_TYPE = ORG_RGDIR-PAYTY PAY_IDENT = ORG_RGDIR-PAYID SPECIAL_VOID = 'V' TABLES RGDIR = S_RGDIR EVPDIR = EVP IABKRS = IABKRS "Note 495794 EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

CD_REORG_RGDIR CALL FUNCTION 'CD_REORG_RGDIR' TABLES RGDIR = EVP.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING SELECTFIELD = FIELD IMPORTING SELECT_VALUE = SELECT_VALUE TABLES FIELDS = FIELD_TAB FULL_TABLE = APPL_TAB EXCEPTIONS FULL_TABLE_EMPTY = 1 NO_TABLESTRUCTURE_GIVEN = 2 NO_TABLEFIELDS_IN_DICTIONARY = 3 MORE_THEN_ONE_SELECTFIELD = 4 NO_SELECTFIELD = 5 OTHERS = 6.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING DAY_IN = SY-DATUM IMPORTING LAST_DAY_OF_MONTH = PNPENDDA EXCEPTIONS DAY_IN_NO_DATE = 1 OTHERS = 2.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING REPORT = 'RPCAUDK0' NO_DIALOG = 'X' MODE = 'BATCH' DESTINATION = PRI_PARAMS-PDEST LINE_COUNT = PRI_PARAMS-LINCT LINE_SIZE = PRI_PARAMS-LINSZ LIST_TEXT = PRI_PARAMS-PRTXT IMMEDIATELY = PRI_PARAMS-PRIMM COPIES = PRI_PARAMS-PRCOP COVER_PAGE = PRI_PARAMS-PRBIG DATA_SET = PRI_PARAMS-PRDSN DEPARTMENT = PRI_PARAMS-PRABT EXPIRATION = PRI_PARAMS-PEXPI NEW_LIST_ID = PRI_PARAMS-PRNEW RECEIVER = PRI_PARAMS-PRREC SAP_COVER_PAGE = PRI_PARAMS-PRSAP TYPE = PRI_PARAMS-PTYPE RELEASE = PRI_PARAMS-PRREL AUTHORITY = PRI_PARAMS-PRBER ARCHIVE_MODE = PRI_PARAMS-ARMOD IMPORTING OUT_PARAMETERS = PRI_PARAMS EXCEPTIONS OTHERS = 0.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING I_MSGID = 'RP' I_MSGTY = 'E' I_MSGNO = '016' I_MSGV1 = LV_MSGV1 I_MSGV2 = SPACE I_MSGV3 = SPACE I_MSGV4 = SPACE EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = L_S_DISPLAY_PROFILE I_S_FLAT_PROFILE = L_S_FLAT_PROFILE EXCEPTIONS PROGRAM_ERROR = 1 NO_LOGS = 2 OTHERS = 3.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = pnpbegda end = pnpendda IMPORTING fire_date = fire_date hire_date = hire_date TABLES pphifi = l_phifi pp0000 = p0000 pp0001 = p0001.



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