SAP Reports / Programs | Personnel Management | Personnel Administration | Canada(PA-PA-CA) SAP PA

RPCAUDK0_CE SAP ABAP Report - Audit/Reconciliation report







RPCAUDK0_CE 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 Financial Accounting (FI) and Third-Party Remittance...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_CE 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 RPCAUDK0_CE. "Basic submit
SUBMIT RPCAUDK0_CE AND RETURN. "Return to original report after report execution complete
SUBMIT RPCAUDK0_CE 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 center 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 = Payroll type
Selection Text: PAYTYR = 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: PERASDET = Personnel assignment details
Title: Audit/Reconciliation report
Text Symbol: T1J = Outflow
Text Symbol: T1I = (TAXI)
Text Symbol: T1H = + into interval
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 center overview
Text Symbol: SEL = Selected employees with payment in tax year
Text Symbol: S14 = Reconciliation: Detailed Company (when paid)
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 at:
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 = Please specify a wage type application
Text Symbol: E02 = As of date cannot be earlier than period enddate
Text Symbol: E01 = Period begin & end dates must be in the same year.
Text Symbol: DWT = Detailed overview per employee and wage type (when earned)
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: COS = Cost Center:
Text Symbol: COR = Corrections for
Text Symbol: CCD = Comp.code :
Text Symbol: 022 = This line is not meant to be selected!
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: 010 = Person :
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 = Persnr :
Text Symbol: 002 = Overview list selection
Text Symbol: 001 = Wage type selection
Text Symbol: E07 = Must specify as-of-date for correction runs eval.
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: 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: 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.


INCLUDES used within this REPORT RPCAUDK0_CE

INCLUDE RPCAUDKD_CE. "PAYROLL EVALUATION DEFINITIONS
INCLUDE RPCAUDKP_CE. "PARAMETER/DATA DECLARATIONS


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.

HRCA_GET_MAINPERNR_PERSONID CALL FUNCTION 'HRCA_GET_MAINPERNR_PERSONID' EXPORTING * objid = person-objid objid = differen_temp-persn gprsn = 'CARN' begda = pn-begda endda = pn-endda IMPORTING * main_pernr = p_main_pernr personid = p_personid TABLES all_pernrs = person-all_pernrs EXCEPTIONS OTHERS = 1.

HRCA_GET_MAINPERNR_PERSONID CALL FUNCTION 'HRCA_GET_MAINPERNR_PERSONID' EXPORTING * objid = person-objid objid = findat-persn gprsn = 'CARN' begda = pn-begda endda = pn-endda IMPORTING * main_pernr = p_main_pernr personid = p_personid TABLES all_pernrs = person-all_pernrs EXCEPTIONS OTHERS = 1.

HRCA_GET_MAINPERNR_PERSONID CALL FUNCTION 'HRCA_GET_MAINPERNR_PERSONID' EXPORTING * objid = person-objid objid = taxdat-persn gprsn = 'CARN' begda = pn-begda endda = pn-endda IMPORTING * main_pernr = p_main_pernr personid = p_personid TABLES all_pernrs = person-all_pernrs EXCEPTIONS OTHERS = 1.

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