Introduction
Let’s say your company does not want to calculate Professional Tax (PTax) for employees who belong to country India and stay in XYZ state. For all other states of the country, your company wants to calculate PTax.
This requirement can be fulfilled using the following steps:
1. Create custom operation K-E1.
2. Write code for custom operation in include PCBURZIN0
3. Create custom personnel calculation rule ZKP1
4. Create custom schema ZN00 by copying ‘India Payroll’ schema
5. Create custom schema ZNN1 by copying ‘Gross to Net calculation – India’ schema
6. Edit schema ZN00 are replace sub schema INN1 by the custom sub schema ZNN1.
7. Place the rule ZKP1 in custom sub schema ZNN1.
The following section describes the above steps in detail.
Step1: Create custom operation K-E1
Use transaction PE04 to create customer specific operation K-E1
Step2: Create custom rule ZKP1
Use transaction PE02 to create custom rule ZKP1
Step3: Write code for custom operation in include PCBURZIN0
Step4: Create custom schema ZN00 by copying ‘India Payroll’ schema
Copy schema IN00 (HR-IN: India Payroll schema) to custom schema ZN00 using transaction PE01.
Step5: Create custom schema ZNN1 by copying ‘Gross to Net calculation – India’ schema
Copy standard sub schema INN1 (Gross to Net calculation – India) to custom schema ZNN1 using transaction PE01.
Step6: Modify schema ZN00 to replace sub schema INN1 by the custom sub schema ZNN1
Step7: Place rule ZKP1 in custom schema ZNN1
Use transaction PE01 to place rule ZKP1 in custom schema ZNN1
Your schema ZNN0 is now ready for handling Professional Tax (PTax) scenario as mentioned in the introduction section.