PCR RULE
HI,
I want to know the pcr for wage type ??
what is t code in pe02..
Regards,
pramod
Hi,
Decimal factor of Salary wage type.
Earlier I have the problem with rounding off of leave encashment for which u have suggested to maintain rule in inval in pe02,
the same thing i have incorported as suggested, but it get impact on other salary head like pt, hra retro cal...
Rounding off decimal has taken place , but it disturb to other salary head, unwanted entries appear in sal head...
Please advice...
Regards,
pramod
Similar Messages
-
Any body help me How do we config PCR rules in SCHEMAS.can any body tell me in deep or with Screen shots.
Thanks & Regards
SrinivasHi Srini
I would be happy to share a useful doc that tell What Payroll Functions and Operations are doing and how to read rules and schemas..
it was posted by biswajit das What Payroll Functions and Operations are doing?
Biswajit Das
Business Card
Company: www.tcs.com
Posted on Oct. 20, 2006 09:09 AM in ABAP
i quite see yur contact mail in buss card..could u emal me and wil be happy to share it..
infact kndly igmore it ,its the document siki mate has sent you...i quite dint chk that..
No Worries
Karthik
Edited by: SAPenjoy:) on May 11, 2009 8:41 AM -
Understanding of PCR Rule based on calendar days
I wrote below pcr 8000/31 days = 258 It should add 258 to wage type 1400 but it is throwing an error
Table
Rule
In XT00
This is what it shows -
Hi,
Could you help me in querrying hire date in a PCR.
I need to differentiate b/w EEs who joined from 1st-15th of a month to the ones who joined in the later part of the month.
Any help is highly appreciated.Hi,
what about this quick idea - use VARSTREDAY in PCR rule and make 01, 02, . . . .31 as a result from query. Continue with wtriting the rows and choose some time type. Store the value 1 into the time type. Then put a HRS query with the chosen time type before the VARST - it will prevent the rule to check itself over again. Store the time type into SALDO. If you generate qoutas according to some time types, then the time type can also be stored in the PCR rule with Varst. Then you need to solve roll-over if the qouta needs to be generated the next year.
ex.
HRS=BZZZ1
HRS?1
= nothing
VARSTREDAY
01 HRS=1
01 ADDDBZZZ1
01 HRS=1
01 ADDDBQBAS (time type for qouta base)
It is not some smooth solution but it should work.
Cheers
xDracula -
Hi Dears,
We are doing payroll configurations for one of our client in india, Regarding our requirement ,we jus tried in test system, we have written a pcr rule stating 01st feb 2015, new allowance need to paid to employees belonging to L&T1 pa and LT ESG.. Allowance will be percent based on gross pay..allowance percentage differs according to the ESG..
Before writing the PCR, Allowance percentage has been maintained in T511K.. And have configured as payroll constant ZTST 1 should be calculated with a value 2%.
i have created a new wage type 9021 allowance wage type and this wage type amount should be automatically generated in payslip based on the pcr i have written while running payroll for an employee.
EARNINGS DEDUCTIONS
l&t basic pay 9000 54838.71 INCOME TAX
l&t conveyance 9100 2741.94 12394.00
l&t hra 9200 4387.10
l&t allownace 9021 1239.36
TOTAL Gross amount 63,207.11 Take Home pay (net pay) 49,573.75
But the actual net amount should be 50,813.11..Based on the allowance wagetype i have created which is automatically generting using the pcr i have written , is getting calculated in the gross amount..
but not getting added in net amount .so please help me out guys on how to solve this issue???
Regards,
Surya PrabhaHi Remi,
Thanks for your kind reply, yes these values are taken from the remuration statement of a particular pernr whom am running the payroll..
i have checked the processing classs and i have maintained 5 and 70 which add this new allowance amount to my net amount. now the net amount is proper.
EARNINGS DEDUCTIONS perks/other income/exemptions
l&t basic pay 9000 54838.71 NCOME TAX l&t leave encashment 1239.36
l&t conveyance 9100 2741.94 12416.00
l&t hra 9200 4387.10
TOTAL Gross amount 61,967.75 Take Home pay (net pay) 50 791.11
Regards,
Surya Prabha -
Validity period to be next year
Hi,
we have scenario where in we are supposed to generate quota on August 1 st of this year with validity and deduction period being the next year ( ie .1.1.2010 - 31.12.2010) .
we use both pcr s and config. for quota generation.
In the PCRs we specify the date ie august 1st and the quota number ( ie number of days).
But we get a error saying ' Validity period is not in current period'.
We have tried the solution proposed in the earlier posts, but it does not work in our case....
Any other alternate that you can think of ...
Or any other user exits that can be looked at ...
Regds
SK.Hi,
Whatever validity period you have given to your quotas in selection rules, and your PCR rules dates are mismatched.
Map the two dates correctly and generate the time evaluation. Set the validity and deduction period correctly V_T559L table, here use the other period or relative position as per calendar year , then we can achieve your problem.
Regards
Devi -
Reg: Infotype 0015 data is not showing in payroll run
Hi All,
I have an issue as below:
I have an employee where IT 0001 Contract field is: Hourly paid employee is maintained,
and IT - Wage(Basic salary - hourly) amount 100 SD.
When i maintain custom wage in IT and in Number/units field as 5 HOURS.
Now when i run payroll and check in CRT Table, system has to show the amount of hours maintained in IT but it is showing only hours.
Calculation has to happen as per below
Based on IT 0001 Contract field as hourly paid employee and also IT 0008 Basic salary- Hourly wage amount, system has to multiply hours maintained in IT and show the amount.
Wage amount DESIGNED * 5 hours = 500 SD , should be shown under amount column.
Please advise me why amount is not showing in CRT Table.
Regards,
sajithV_512w_D - valuation basis is 100%
PCR
Rule ESGPCR VaKey Operation
ZZ11 * VWTCL 76
ZZ11 * * VAKEYPAYTY
ZZ11 * * * GCY ZX11
ZX11 * AMT= BETRG
ZX11 * NUM= ANZHL
ZX11 * VAKEYZEINH
ZX11 * *** VWTCL 47
ZX11 * *** * OPIND NA
ZX11 * *** * ADDWT *
ZZ11 Additional payments/deductions PC76
" VWTCL 76 Processing class
" VAKEYPAYTY Payroll Type
GCY ZX11 With exact w.types
A
B
" 1
" VAKEYPAYTY Payroll Type
" A
GCY RX11 With exact w.types
B
" 2
" VAKEYPAYTY Payroll Type
GCY RX11 With exact w.types
" A
GCY RX11 With exact w.types
B
" 3
" VAKEYPAYTY Payroll Type
GCY RX11 With exact w.types
" A
GCY RX11 With exact w.types
" B
GCY RX11 With exact w.types
ZX11 Additional payments/deductions PC47
AMT= BETRG Set
NUM= ANZHL Set
" VAKEYZEINH Time unit in v.key
" VWTCL 47 Processing class
OPIND NA Operation indicator
ADDWT * OT Output table
" A
OPIND NA Operation indicator
ADDWT * OT Output table
" R51P1?14N Rec.exists for ind?
" X
R51P1=14N Read record for ind.
ZERO= RN AmtNumRteTime = 0
ADDWT * OT Output table
" Q
ELIMI * Elim.time period ID
ADDWTE* RT Results table
ADDWT&MY10 VAR Variable table
" 012
" VWTCL 47 Processing class
OPIND N Operation indicator
ELIMI 123 Elim.time period ID
ADDWT * OT Output table
" 3
" VAKEYZEINH Time unit in v.key
ZX11 Additional payments/deductions PC47
AMT= BETRG Set
NUM= ANZHL Set
" VAKEYZEINH Time unit in v.key
" VWTCL 47 Processing class
OPIND NA Operation indicator
ADDWT * OT Output table
" A
OPIND NA Operation indicator
ADDWT * OT Output table
" R51P1?14N Rec.exists for ind?
" X
R51P1=14N Read record for ind.
ZERO= RN AmtNumRteTime = 0
ADDWT * OT Output table
" Q
ELIMI * Elim.time period ID
ADDWTE* RT Results table
ADDWT&MY10 VAR Variable table
" 012
" VWTCL 47 Processing class
OPIND N Operation indicator
ELIMI 123 Elim.time period ID
ADDWT * OT Output table
" 3
" VAKEYZEINH Time unit in v.key
ZX11 Additional payments/deductions PC47
AMT= BETRG Set
NUM= ANZHL Set
" VAKEYZEINH Time unit in v.key
" VWTCL 47 Processing class
OPIND NA Operation indicator
ADDWT * OT Output table
" A
OPIND NA Operation indicator
ADDWT * OT Output table
" R51P1?14N Rec.exists for ind?
" X
R51P1=14N Read record for ind.
ZERO= RN AmtNumRteTime = 0
ADDWT * OT Output table
" Q
ELIMI * Elim.time period ID
ADDWTE* RT Results table
ADDWT&MY10 VAR Variable table
" 012
" VWTCL 47 Processing class
OPIND N Operation indicator
ELIMI 123 Elim.time period ID
ADDWT * OT Output table
" 3
" VAKEYZEINH Time unit in v.key
" VWTCL 47 Processing class
OPIND Operation indicator
ADDWT * OT Output table
" A
OPIND Operation indicator
ADDWT * OT Output table
" R51P1?14N Rec.exists for ind?
" X
R51P1=14N Read record for ind.
ZERO= RN AmtNumRteTime = 0
ADDWT * OT Output table
" Q
ELIMI * Elim.time period ID
ADDWTE* RT Results table
ADDWT&MY10 VAR Variable table -
Hi Sap guru,
I am facing error in time management, can any one help me out,
I maintained paid absence type of sickness/illness in 2001 infotype, and I went for time evaluation, where it evaluated successfully, then I went for payroll process, during processing it is throwing an error of u201CNo entry in table T554C for key 10 02 00u201D
The error breaks down as follows:
Molga: 10 u2013 USA
Absence valuation grouping 02
Valuation rule: 00
But my valuation rule suppose to be 04
I had checked the table of T554C, T554S Via V_554S_G, T555y and also the pcr rule TMOD, where all the configuration is correct.
So can any one help me out of how to resolve this issue.
With Regards,
SheryasenHi Shreya,
Since your absence valuation group is 02, please see that MODIF A=02 is maintanined in the pcr XMOD or not.
If not, copy XMOD to custom defined and maintain the correct groupings. It will resolve your issue.
regards,
shyam -
I wrote my first PCR. It is supposed to add 1.00 to day balances if the employee is not at work
YM04 Personnel Calculation Rule YM04
VARSTABSCE Employee absent
Y
HRS=1.00 Set
ADDDB0001 Add to day balance
I get the following error when ever I try to run the schema. Any ideas what the issue could be
ACTIO YM04 Cumilate 0001
Processing
Call rule YM04
STOP: No rule under key $ YM04******
Technical error no. 57
01/01/2009 Processing terminated for EE 00000825 Test Quota Deduction
Appreciate any guidance on the same hereI had to add another line for cocndition fail
i.e N
and do nothing and that resolved. -
PCR for Social Security: Errro: 'Stop: No Rule in key'
Dear Gurus,
hop u'll be fine and enjoying good health. I have following requirement:
I want to calculate Social Security Contribution for all employees having Gross pay Less than or Equal to 10,000/- @ 6%.
I am writing PCR first time, which is copied from an existing PCR.
ZSSM Personnal Calculation Rule ZSSM
3
6004 Social security Contrib
AMT= 0001 Set
AMT+ 0002 Addition
AMT+ 0003 Addition
AMT+ 0004 Addition
AMT+ 1001 Addition
ROUNDGK100 Round AMT to next
AMT?ZPESI Comparison
<
AMT*ZMESI Multiplication
AMT/100 Division
RTE=TKSOLL Set
RTE-TKAU** Subtraction
ROUNDGK100 Round AMT to next
ADDWT * OT Output table
=
AMT/TKDIVI Division
RTE=TKSOLL Set
RTE=TKAU** Set
MULTI ARA Multipl.amt/no/rate
AMT=ZPESI Set
ROUNDGK100 Round AMT to next
ADDWT * OT Output table
Kindly guide me where is I am going wrong.
best regards,Hi,
You don´t have to worry. The idea of the forum is to give help on what you know no matter you are an expert or not.
Being ZPESI a constant from t511k it must have a K before. For example AMT?KZPESI.
Being ZMESI a constant from t511p it must have an I before. For example NUM=IZMESI
And as Remi say you should check the parameters use in the schema to call the PCR.
Hope this helps.
Kind Regards,
Edoardo -
How to Comment the PCR specific rule
Dear Consultants,
I want to know how to comment the rule.
Requirement: -
Following line should be commented in this rule- IN44
/AF5 ELIMI * ADDWTI/ZF5
Changes according to SAP Note: 431991
please do needful
NareshDear Srikrishna,
Thanks for reply, I have checked the Note thoroughly, I want to know what is the exact meaning of below line. (Highlighted in yellow color)
Can any one help on this, what we have to do in PCR to command the line.
Regards,
Naresh -
Hi,
I need to work on PCR's. Can you provide documentation on PCR's. What is the role of Technical people in PCR's.
Thanks,
Rama.Hi
http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/PAXX/PYINT_REGEL.pdf
Regards
Pavan -
Dear Experts,
For country grouping 24 we have GOSI(Insurance). wagetype /370 for GOSI applicable earnings /320 - EE contribution /321- EMP contribution .
Percentage of /321 is 10 of /370 and /321 is 12 of /370. As per the standard it is calculating correctly.
Scenario:
If employee age is => 60 age as per Hijri calendar, calculation should be /9% & 11% of /370 respectively.
PCR for your reference
when inserted PCR in schema and tried to run payroll it is throwing error STOP No rule in Key.
Kindly suggest how to create and overwrite the existing /321 & /320 with age 60 calculation.
Thanks
VinodhBy what Function are you calling these PCRs in your Payroll Schema, and with what values for Par1 and Par2 ?
In ZA29, operation CMPER is useless if the only return value is *.
In ZA30, the syntax of Operation AMT*ZGO10 seems incorrect. By what are you trying to multiply the Amount of WT /370 ?
In ZA30, the syntax of Operation ADDWT/321 seems incorrect. If you want to add the Rate, Number and modified Amount of WT /370 into WT /321 in the Output Table, there should be a space between ADDWT and /321.
If the Output is elsewhere, use the appropriate character. -
Error message with PCR.
The logic of PCR is as follows :
Compute 15% of /117.And assign this to WT 1223.
Compute 27% of /117
Subtract Wt /3F4,MF10,9805,9809 and 9810 from 27% of /117.Assign this to WT 1224.
I have written a PCR which is giving an output error message :
****Variable ZVAR does not exist in table VAR * ZX
I have written a PCR with following code
" /117 Superannuation Basis
TABLEP0185 Read table fields
" VARGBICTYP Tab.field VVVVV v.ky
" ZX
ZERO= RNA AmtNumRteTime = 0
AMT= /117 Set
AMT*0.15 Multiplication
ZERO=&ZVAR VVVV Set zero
ADDWT&ZVAR VAR Variable table
ADDWT 1223 OT Output table
ZERO= RNA AmtNumRteTime = 0
AMT= /117 Set
AMT*0.27 Multiplication
ZERO=&ZVA1 VVVV Set zero
ADDWT&ZVA1 VAR Variable table
PRINT&ZVA1 Print variable VVVV
ZERO= RNA AmtNumRteTime = 0
AMT= /3F4 Set
AMT+ MF10 Addition
AMT+ 9805 Addition
AMT+ 9809 Addition
AMT+ 9810 Addition
ZERO=&ZVAR VVVV Set zero
ADDWT&ZVAR VAR Variable table
PRINT&ZVAR Print variable VVVV
ZERO= RNA AmtNumRteTime = 0
AMT=&ZVA1 Set
AMT-&ZVAR Subtraction
ADDWT 1224 OT Output table
I am attaching the output from payroll log which is as follows :
Rule ESGPCR VaKey Operation
ZSAN * TABLEP0185
ZSAN * VARGBICTYP
ZSAN * ZX ZERO= RNA
ZSAN * ZX AMT= /117
ZSAN * ZX AMT*0.15
ZSAN * ZX ZERO=&ZVAR
ZSAN * ZX ADDWT&ZVAR
ZSAN * ZX NEXTR A
ZSAN * ZX ADDWT 1223
ZSAN * ZX ZERO= RNA
ZSAN * ZX AMT= /117
ZSAN * ZX AMT*0.27
ZSAN * ZX ZERO=&ZVA1
ZSAN * ZX NEXTR B
ZSAN * ZX ADDWT&ZVA1
ZSAN * ZX PRINT&ZVA1
WType Rate Number Amount
ZVA1 0.00 0.00 5,751.00
ZSAN * ZX ZERO= RNA
ZSAN * ZX AMT= /3F4
ZSAN * ZX AMT+ MF10
ZSAN * ZX NEXTR C
ZSAN * ZX AMT+ 9805
ZSAN * ZX AMT+ 9809
ZSAN * ZX AMT+ 9810
ZSAN * ZX ZERO=&ZVAR
ZSAN * ZX ADDWT&ZVAR
ZSAN * ZX NEXTR D
ZSAN * ZX PRINT&ZVAR
****Variable ZVAR does not exist in table VAR * ZX PRINT&ZVAR****
ZSAN * ZX ZERO= RNAHi
Other variables are correct, please check, like ZVA1 etc.
ZERO=&ZVAR VVVV Set zero
ADDWT&ZVAR VAR Variable table
In the first lines, you did not maintain print statement. Please check.
Regards
Team Member. -
Leave Quota generation with diifferent rules for different countries
Hi,
I have the following requirement need help in achieving this.
Employers must grant 10 days paid leave to employees that worked for six consecutive months from the time of hiring and who worked on not less than 80 per cent of all schedule work days. This paid leave may be taken consecutively or separately. Where an employee's application to take paid leave will hinder the normal business operations, the employer may require the employee to take such paid leave at a different time.
The number of days of paid leave available to employees increases in proportion to employees' length of service as set forth in the below table.
Years of Service 0.5 1.5 2.5 3.5 4.5 5.5 6.5+
Paid Holidays 10 11 12 14 16 18 20
The right to annual paid leave expires after two years. In other words, annual paid leave left over from one year may be carried over and taken the next year only. For example, if an employee is awarded 10 days paid leave after their first 6 months of employment; those paid holidays will become invalid after 2.5 years of employment. Use them or lose them.
Simply put, holidays from one year can be carried over to the next year, but not to the third year. So, if you don't take your leave from one particular year within 12 months of that year ending, you will lose that first year's allowance.
Employee can take leave encashment of holiday leave only when leaving their employer. It is not legal for companies to buy up the holiday leave of those still working for the firm.
In my organization one PSG grouping has been used for all countries, it wont be possible to change the grouping now. In such a case how can we provide different rule for different country without customizing the Leave module.
Do we have to use any PCR for this, if yes which??
Regards,
Jailakshmi
Edited by: Jailakshmi on Aug 3, 2011 7:16 AMHi,
Use QUOMO Feature to give different entitilement to employees.
Leave entitlement as per seniority can be configured in base entitlement.
Keep validity and deduction period for 2 years by using :Relative postion" option in validity and deduction period table.
Rgds,
Lata
Rgds,
Maybe you are looking for
-
PDF Thumbnail view in windows explorer
Hi guys, hope you can give me a hand! I`m about to lose my mind here. I have 4 machines with adobe reader 8.1 installed and in those 4 machines I can see my pdf files as thumnails (they´re books, so I see the cover of each one of them). On my 5th com
-
Hi In BLT I am FTPing a CSV file with approx 7000 lines, then loading it with "TextLoader" and parsing with "FlatFileParser" then stepping through with a repeater running an SQL insert. It all works OK, but takes about half an hour, I was wondering i
-
Change Layer Tab Width (might be willing to pay)
Hi, I'm trying out the cs4 demo (I was using cs2 prior) and while I like the new customizability options for the UI I have one issue with it. In cs2 the layer tab was a lot smaller. In cs4 it's quite a bit wider. It's 65px wider in cs4 using medium t
-
Why does my mouse sometimes cause my screen to erase as I move it? It started to happen after I downloaded Mountain Lion.
-
Trackpad scrolling not working, Windows 7 64 bit
I'm not sure if it's just a crappy driver on Apple's part or what. I'm using an early 2011 MacBook Pro 13" with Windows 7 Professional 64 bit. The trackpad works well most of the time, but sometimes the trackpad loses two finger scrolling and right c