SAP Reports / Programs

HKRCALC0 SAP ABAP Report - Payroll Driver, Version for South Korea







HKRCALC0 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 HKRCALC0 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_M41_CALC_SIMU - Simulation payroll accounting
PC00_M41_CALC - Start payroll


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 HKRCALC0. "Basic submit
SUBMIT HKRCALC0 AND RETURN. "Return to original report after report execution complete
SUBMIT HKRCALC0 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: TST_ON = Test run (no update)
Selection Text: SW_INTIM = Integration with Time Managemt
Selection Text: SCHEMA = Schema
Selection Text: RUECK-AB = Forced retro.accounting as of
Selection Text: P_VANAM = Display variant for log
Selection Text: PRT_PROT = Display log
Title: Payroll Driver, Version for South Korea
Text Symbol: Q55 = ==> all ACP the same: no APRELPA necessary
Text Symbol: Q56 = Information on payment period
Text Symbol: Q57 = Current APER :
Text Symbol: Q58 = CURRENT period :
Text Symbol: Q59 = LAST period :
Text Symbol: Q60 = unknown
Text Symbol: Q61 = No entry in T549Q for PERMO $ and DATE $
Text Symbol: Q62 = Table $AF
Text Symbol: Q63 = APZNR MOD0X FSTAF SCDAF
Text Symbol: Q64 = Fill table ACCR from table $RT
Text Symbol: Q65 = Fill ACCR from WType
Text Symbol: Q66 = - the following number is used as a basis
Text Symbol: Q67 = - the following amount is used as a basis
Text Symbol: Q68 = - the following factor is used as a basis
Text Symbol: Q69 = Working hours
Text Symbol: Q70 = Workdays
Text Symbol: Q71 = Calend. days
Text Symbol: Q73 = - amount:
Text Symbol: Q74 = - number:
Text Symbol: Q75 = Table ACCR
Text Symbol: Q76 = ABART LGART APZNR C1ZNR EDATE
Text Symbol: Q77 = Number Amount
Text Symbol: Q78 = ACCR wage types are linked to the last WPBP entry
Text Symbol: Q79 = No period found for LDCD
Text Symbol: Q80 = Set of BUKRS :
Text Symbol: Q81 = Internal error APRELPA: &AF entry not found
Text Symbol: Q54 = and i > n: nothing to do
Text Symbol: Q25 = Leave
Text Symbol: Q28 = Tax authority
Text Symbol: Q29 = Tax type
Text Symbol: Q30 = Taxable earnings





Text Symbol: Q31 = Tax-exempt deds
Text Symbol: Q33 = taxed earnings
Text Symbol: Q34 = Tax
Text Symbol: Q35 = Cumulated tax results over all payment types
Text Symbol: Q36 = TCRT from previous period, however after refreshing MTD etc.
Text Symbol: Q37 = Examine pay period
Text Symbol: Q38 = --> pay period from
Text Symbol: Q39 = to
Text Symbol: Q40 = with posting date
Text Symbol: Q41 = --> Payroll periods concerned are...
Text Symbol: Q42 = ... Payroll periods with start date :
Text Symbol: Q43 = ... Payroll periods with end date :
Text Symbol: Q44 = ... Payroll periods with posting date :
Text Symbol: Q45 = --> Earliest closing date of payroll periods concerned is
Text Symbol: Q46 = --> Latest payment period $x in which something can be done is
Text Symbol: Q47 = Latest document creation date of this period is
Text Symbol: Q48 = ==> If x < n: everything necessary was done in period x
Text Symbol: Q49 = ==> If x = n
Text Symbol: Q50 = and i > n: estimate future
Text Symbol: Q51 = and i = n: take act.values
Text Symbol: Q52 = and i < n: this is not possible
Text Symbol: Q53 = ==> If x > n
Text Symbol: RT0 = Origin of bank trans.
Text Symbol: RT1 = Origin of CCode CreTy CreNo ReqDate
Text Symbol: RTA = Number range soon exceeded
Text Symbol: RTB = Number is last number in number range
Text Symbol: RTC = Too many numbers requested from number range
Text Symbol: TC1 = No Pay. CC PAr Cost ctr Order ActTy Send CC PAr Cost ctr
Text Symbol: TK0 = PP No CoCde Plant Cost ctr Perc.
Text Symbol: TK2 = Nr Variable Information
Text Symbol: TR9 = T558C key date is not within the payroll period: Wage type
Text Symbol: U29 = Table LS
Text Symbol: U32 = Table ARRRS
Text Symbol: URL = ?...
Text Symbol: X01 = General program control
Text Symbol: X02 = Details for reporting
Text Symbol: X03 = Log
Text Symbol: X04 = Test options
Text Symbol: X05 = Remuneration statement parameters





Text Symbol: X06 = Display variant remun.statement
Text Symbol: X07 = Display variant for log
Text Symbol: X08 = Also display time data processing log
Text Symbol: X09 = HR form name
Text Symbol: X11 = No remuneration statement
Text Symbol: X16 = Display variant remun.statement
Text Symbol: X19 = HR form name
Text Symbol: X98 = Payroll reason
Text Symbol: X99 = Off-cycle payroll
Text Symbol: RM1 = Payroll cannot be repeated
Text Symbol: Q82 = APRELPA: restriction not fulfilled
Text Symbol: Q83 = LOPEN not found
Text Symbol: Q84 = Delay and last: do nothing
Text Symbol: Q85 = IMPRT F only in LPBEG RCF
Text Symbol: Q86 = IMPRT N not yet changed!
Text Symbol: Q87 = IMPRT O not yet changed!
Text Symbol: Q88 = IMPRT R not yet changed!
Text Symbol: Q89 = IMPRT W not yet changed!
Text Symbol: Q90 = IMPORT-T not yet changed!
Text Symbol: Q91 = GET_LAST_PERIOD not yet changed!
Text Symbol: Q92 = Tax company
Text Symbol: Q95 = P Wgtp AP# C1# Date Number Amount
Text Symbol: Q97 = Operation SETDL Parameter ZUORD req's DARLxxyy in P0015-ZUORD
Text Symbol: Q98 = Parameters not valid
Text Symbol: Q99 = Payroll already released or correction phase active!
Text Symbol: QA1 = No address infotype found for the employee
Text Symbol: QAH = There are two tax authorities at the same tax level
Text Symbol: R06 = Invalid parametrization of operation & in line :
Text Symbol: R48 = Invalid field $ in line :
Text Symbol: R62 = Table $ not supported in operation TABLE
Text Symbol: R77 = Time measurement not yet initialized
Text Symbol: R88 = Bal. for table EP <> 0, wage types in PRCL.32 incorrectly coded
Text Symbol: R89 = Too many splits (&) in table &
Text Symbol: R9B = IT and V0 are incompatible
Text Symbol: RET = Log Travel expenses Total Target Std. LU rate
Text Symbol: RH1 = Error when processing cost distribution
Text Symbol: Q24 = Cumultve
Text Symbol: AB8 = Determine start date for SI days reduction:
Text Symbol: AB9 = BEGDA ENDDA AWART



Text Symbol: ABA = Absence read
Text Symbol: ABB = Credited absence
Text Symbol: ABC = Granting of passive Berlin Allowance
Text Symbol: ABD = 1 2 3
Text Symbol: ABE = Days: 1234567890123456789012345678901
Text Symbol: ABF = Division of absence : Table SPLIT_TAB.
Text Symbol: ABG = BEGDA ENDDA AWART KLBEW
Text Symbol: ABH = Derived absence
Text Symbol: ABI = Absences from infotype 2001: Table P2001
Text Symbol: ABJ = BEGDA ENDDA AWART LFZED KRGBD KRGED
Text Symbol: ABK = "DUEVO"day string
Text Symbol: AD1 = Street
Text Symbol: AD2 = District
Text Symbol: AR1 = No payroll run is possible since HR preparation is running
Text Symbol: BAZ = T WTy. WS C1 C2 C3 AP CA Tr Ab V V# Designation Rate Number Total amount
Text Symbol: BEG = Start time msrmnt
Text Symbol: CAB = Year MoDy From/to No AT Number of hrs
Text Symbol: CAC = Function
Text Symbol: CAD = With pars
Text Symbol: CD1 = Error when scanning personal calendar
Text Symbol: CD2 = You are trying to read beyond
Text Symbol: CD3 = the generation date (P0003-PKGAB)
Text Symbol: COS = Error in cost distribution
Text Symbol: CS1 = # from to VS OZ SV Bf Fa Ki AV LA Pe LS FG JA PJ 69 35 68
Text Symbol: CVB = Specification & not intended for this type of ER share:
Text Symbol: D01 = Import periods for processing of averages
Text Symbol: $00 = Last update on : 24/06/1998 17:43:47
Text Symbol: $01 = ***************************************************************************
Text Symbol: $02 = * ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! *
Text Symbol: $03 = ***************************************************************************
Text Symbol: $04 = * *
Text Symbol: $05 = * Please maintain text elements in table T52CT instead of here *
Text Symbol: $06 = * Then start report RPUTXT00 to maintain the new text elements *
Text Symbol: $07 = * in the text pool of the report selected *
Text Symbol: $08 = * *
Text Symbol: $09 = ***************************************************************************
Text Symbol: $10 = * ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! *
Text Symbol: $11 = ***************************************************************************
Text Symbol: $12 = * *
Text Symbol: $13 = * Please update the text elements in table T52CT instead of here *
Text Symbol: $14 = * Then start report RPUTXT00 to update the text pool of the *
Text Symbol: $15 = * selected report with the new text elements *
Text Symbol: $16 = * *
Text Symbol: $17 = ***************************************************************************
Text Symbol: 001 = T5F2B (Process seniority date)
Text Symbol: 002 = T5F2B (Process rolling periods)
Text Symbol: 003 = Error while entering table NCALE in cluster PC
Text Symbol: 009 = No entry in table :
Text Symbol: 801 = Key
Text Symbol: AAA = Key
Text Symbol: AB4 = Absences for interruption in payment of tax: Table ST AB
Text Symbol: AB5 = Absences for interruption in payment of tax: Table OST AB
Text Symbol: AB6 = BEGDA ENDDA AWART ABWTG
Text Symbol: AB7 = First possible start date for SI day rdctn:
Text Symbol: D22 = Perform relevancy test for each imported period
Text Symbol: P27 = To Log Payroll
Text Symbol: P40 = Leave type & does not exist in leave year &
Text Symbol: P67 = The time units from derived payroll area and pay scale are incompatible
Text Symbol: P68 = Payroll area :
Text Symbol: P69 = P.scale time unit:
Text Symbol: P70 = Payroll area time unit:
Text Symbol: Q00 = Start of log for garnishments/cession of wages
Text Symbol: Q02 = Bonus date will be ignored
Text Symbol: Q03 = VOID_RESULT under const.
Text Symbol: Q04 = Invalid check date for pay period
Text Symbol: Q05 = Infotype: Res. tax area missing
Text Symbol: Q06 = Infotype: W4 for fed. tax auth.is missing
Text Symbol: Q07 = Pmnt date:
Text Symbol: Q08 = Allocation percentage of WORK TAX AREA exceeds 100
Text Symbol: Q09 = WORK TAX AREA entry is necessary
Text Symbol: Q10 = System could not determine the state for
Text Symbol: Q11 = unemployment insurance. Please specify it in P0209
Text Symbol: Q12 = wage type $ indicated taxable in processing class $
Text Symbol: Q13 = However no value in proc. class $
Text Symbol: Q14 = This information is needed to determine the tax class
Text Symbol: Q15 = This information is needed to determine whether wage type is taxable earning or non-taxable contribution
Text Symbol: Q16 = Wage type $ has invalid value $ in processing class $
Text Symbol: Q18 = wage type $ indicates a non-taxable contribution
Text Symbol: Q19 = wage type should be a taxable earning
Text Symbol: Q20 = Internal error in US_UPDATE_TXIT_FROM_TAXES
Text Symbol: Q21 = Tax results for payment type
Text Symbol: Q22 = Regular
Text Symbol: Q23 = Additional
Text Symbol: D28 = Adapt average bases to increased benefits
Text Symbol: D29 = Valuation basis for base month:
Text Symbol: D30 = Valuation basis for processed month:
Text Symbol: D31 = The increase factor is:
Text Symbol: D43 = WTYPE
Text Symbol: D44 = NUM
Text Symbol: D45 = RTE
Text Symbol: D46 = AMT
Text Symbol: DIF = Difference
Text Symbol: DU1 = From___To_____JobType__MultEmp_Retiree_Lock___Start
Text Symbol: DU4 = Type Day indicator
Text Symbol: DU5 = >....+....1....+....2....+....3.<
Text Symbol: DX1 = is missing for pers no.
Text Symbol: DX2 = Incorrect entry in table T512C
Text Symbol: E01 = Error when reading table
Text Symbol: END = End time msrmnt
Text Symbol: I01 = Error: Standard wage maint. is deactivated
Text Symbol: KET = WTYPE Designation Number Amount
Text Symbol: KUG = C/S from to RefNo CShift L T CEA W Pay rate CuDiv Bo Sp
Text Symbol: KUZ = ItID TType AbsID PHol C1ZNR CDay WDays WHrs
Text Symbol: LD2 = WagetypeCl Interval Amount
Text Symbol: LD3 = CRED
Text Symbol: LD4 = INTERVAL
Text Symbol: LD5 = Interval Startnr CompDt Begin End Periods
Text Symbol: LD6 = Total of derived wagetypes not equal 100 percent
Text Symbol: NA1 = Last name First name
Text Symbol: NA2 = Name at birth Addit. Prefix Title
Text Symbol: P26 = From Log Payroll


INCLUDES used within this REPORT HKRCALC0

INCLUDE RPCPLOG0.
INCLUDE RPC2PS00. " CLUSTER OF GENERATED SCHEMAS
INCLUDE RPC2PT00. " CLUSTER OF GENERATED SCHEMAS TEXTS
INCLUDE UP50QDAT. " COMMON PART PSOPER FOR UPDATE TASK
INCLUDE UP50QDAT. " COMMON PART PSOPER FOR UPDATE TASK

INCLUDE RPC2CD09.
INCLUDE RPCFOP00.
INCLUDE RPC2B201.
INCLUDE RPTDAT00. " COMMON PART OTABLES, ADDITIONAL FIELDS
INCLUDE RPTDAT00. " COMMON PART OTABLES, ADDITIONAL FIELDS

INCLUDE RPC4F_0C. " CONSTANTS
INCLUDE RPC4F100.
INCLUDE RPCFVP09.
INCLUDE RPCFPABS.
INCLUDE RPUMKC00.
INCLUDE RPCLG000.


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:

No SAP FUNCTION MODULES are executed within this report code!



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