Skip to Content
Author's profile photo Ranjith Karuvadiyil

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.


/wp-content/uploads/2014/12/1_601183.png

Step 2. Created PCR ZPKO for fetching BASIC and HRA and added to 9914 and 9915 in order to calculate pension .

/wp-content/uploads/2014/12/2_601190.png

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.

/wp-content/uploads/2014/12/3_601191.png

Step 4. Inserted under subschema ZAK9 copy of XAP9


/wp-content/uploads/2014/12/4_601192.png


Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      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... 🙂

      Author's profile photo Former Member
      Former Member

      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 :

      /wp-content/uploads/2015/05/shot5_705778.png

      Author's profile photo Manuel Campos Cordoba
      Manuel Campos Cordoba

      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.

       

      Author's profile photo Former Member
      Former Member

      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?