RPCVACS0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The vacation and compensation debt report is done for monthly reporting of the growing debt of these absence quotas...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 RPCVACS0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M23_CVAC - Vacation and Compensation debt
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.
Selection Text: VARIANT = D Display variant
Title: Vacation and Compensation debt
Text Symbol: WER = Personnel area (techn.)
Text Symbol: VER = Used
Text Symbol: TRA = Transfer pool
Text Symbol: STE = Job (techn.)
Text Symbol: SAZ = Time rec. admin. (techn.)
Text Symbol: SAP = HR administrator (techn.)
Text Symbol: SAA = Payroll admin. (techn.)
Text Symbol: RET = Rem. on key date
Text Symbol: REL = Total remain.
Text Symbol: RA1 = Payroll data
Text Symbol: QUO = Quota
Text Symbol: PLA = Position (techn.)
Text Symbol: PES = Employee group (techn.)
Text Symbol: PER = EE subgrouping (techn.)
Text Symbol: PED = Personnr
Text Symbol: PD2 = Payroll result eval. until latest retrocalculation of keydate
Text Symbol: PD1 = Payroll result evaluated until keydate above
Text Symbol: ORG = Organizational unit (techn.)
Text Symbol: OR3 = Data format
Text Symbol: NAM = Name
Text Symbol: KOS = Cost center (techn.)
Text Symbol: H02 = Run date:
Text Symbol: H01 = Report periode:
Text Symbol: GSB = Business area (techn.)
Text Symbol: GEG = Compensated to key date
Text Symbol: GEB = Compens. from key date
Text Symbol: ENT = Entitlement
Text Symbol: EIN = Unit
Text Symbol: BUK = Company code (techn.)
Text Symbol: BTR = Pers. subarea (technical)
Text Symbol: BET = Rate
Text Symbol: BEA = Requested
Text Symbol: ANS = Work contract (technical)
Text Symbol: AMT = Amount
Text Symbol: ABK = Payroll area (technical)
Text Symbol: ABG = Calculated
INCLUDE RPC2RX01.
INCLUDE RPC2RX02.
INCLUDE RPC2RSS1.
No SAP DATABASE tables are accessed within this REPORT code!
CU_READ_RGDIR call function 'CU_READ_RGDIR' EXPORTING persnr = pernr-pernr TABLES in_rgdir = rgdir EXCEPTIONS no_record_found = 1 others = 2.
CD_EVALUATION_PERIODS call function 'CD_EVALUATION_PERIODS' EXPORTING bonus_date = '00000000' inper_modif = '01' inper = payroll_keydate pay_type = ' ' pay_ident = ' ' TABLES rgdir = rgdir evpdir = evpdir EXCEPTIONS no_record_found = 1 others = 2.
CD_RETROCALC_PERIOD call function 'CD_RETROCALC_PERIOD' EXPORTING entry = evpdir IMPORTING calcd = calcd EXCEPTIONS others = 0.
HR_GET_QUOTA_DATA call function 'HR_GET_QUOTA_DATA' exporting pernr = pernr qtype = '3' mod = 'B' * dedu_datum = '99991231' dedu_datum = keydate " doesnt matter when can ded * enti_datum = edatum begda = '18000101' * begda = keydate * endda = keydate ENDDA = '99991231' * dedubeg = '18000101' * deduend = '99991231' dedubeg = keydate deduend = keydate * LANGU = SY-LANGU * IMPORTING * RETCD = * CHANGED_DATE = tables * abwktart_sel = * ANWKTART_SEL = abwko = abwko iqttrans = iqttrans * anwko = * I2006 = * I2007 = * I0001 = * I0003 = * I0007 = * cum_values = cum_v exceptions infty_not_found = 1 missing_authority = 2 wrong_parameter = 4 others = 5.
HR_GET_QUOTA_DATA CALL FUNCTION 'HR_GET_QUOTA_DATA' EXPORTING PERNR = PERNR QTYPE = '3' MOD = 'B' DEDU_DATUM = KEYDATE " doesnt matter when can ded * enti_datum = edatum BEGDA = '18000101' * begda = keydate * ENDDA = KEYDATE "XDW508801 ENDDA = '99991231' "XDW508801 * DEDUBEG = '18000101' "XDW508801 * DEDUEND = '99991231' "XDW508801 DEDUBEG = keydate "XDW508801 DEDUEND = keydate "XDW508801 * LANGU = SY-LANGU * IMPORTING * RETCD = * CHANGED_DATE = TABLES * abwktart_sel = * ANWKTART_SEL = ABWKO = ABWKO IQTTRANS = IQTTRANS * anwko = * I2006 = * I2007 = * I0001 = * I0003 = * I0007 = * cum_values = cum_v EXCEPTIONS INFTY_NOT_FOUND = 1 MISSING_AUTHORITY = 2 WRONG_PARAMETER = 4 OTHERS = 5.
HR_GET_QUOTA_DATA call function 'HR_GET_QUOTA_DATA' EXPORTING pernr = pernr qtype = '1' mod = 'D' enti_datum = '99991231' begda = '18000101' ENDDA = '99991231' dedubeg = '18000101' deduend = '99991231' TABLES abwko = abwko EXCEPTIONS infty_not_found = 1 missing_authority = 2 wrong_parameter = 4 others = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPCVACS0 - Vacation and Compensation debt RPCVACS0 - Vacation and Compensation debt RPCV96A9 - SI Austria : Calculation of SI for G/D from 1996 RPCV96A9 - SI Austria : Calculation of SI for G/D from 1996 RPCV94A2 - SI Austria : Determination of SI for GKK from 1991 RPCV94A2 - SI Austria : Determination of SI for GKK from 1991