Use Infotype Fields in Payroll PCR
It’s often to use infotype fields validate to process different logics in payroll PCR. Here, a requirement which need to validate Nationality to calculate pension for Saudi Arabia Region.
Personnel Calculation Rule for Pension :
Saudi Nationals: 12% of Basic + HRA contribution from company and 10% of Basic + HRA contribution from employee (Employee contribution to be deducted and shown on the pay slip)
Other Nationals: 2% of Basic + HRA contribution from company only (no deduction from employee)
Step 1. Maintained Payroll Constants for above.
Step 2. Created PCR ZPKO for fetching BASIC and HRA and added to 9914 and 9915 in order to calculate pension .
Step 3. Created PCR ZPNO as below.
For fetching Nationality in Infotype 2 PCR using operation TABLE<infotype structure name> e.g TABLEP0002,
Then use VARGB<field name> e.g. VARGBNATIO.
NATIO field contains nationality data of the employee in infotype 2.
Step 4. Inserted under subschema ZAK9 copy of XAP9
Nice document..Very informative... Good work done .. Keep it up..
Also,, if possible throw some more light on HR policy of saudi Payroll comparing with indian payroll.. in terms of PF & other statuary contribution... May be in another Blog... 🙂
thanks for great Document
Please what about id i want to change wage type amount from infotype field value
i have written the PCR but its not working :
Hi Former Member
What field of table P3252 are you triyng to read?  I was checking that table an I didn´t see any field with the name YYGOS, that´s way I think your cycle is not working.
M.
one question
now in the payroll parameters, you created a values. and by the SAP documentation we should use "K" to get these values, and the "I" should be for the amount.
is "K" and "I" similar and can be used anywhere I want?