This article explains about designing of a PCR for a specific scenario of a company.

This document explains the method of using payroll constant table v_t511k and making the flexibility of controlling the PCR to stop or make payment.

Scenario:


A company wants to pay a deputation allowance for different grade of employees (employee sub-group). This allowance is calculated based on the percentage of basic pay wage type and this will vary for different grades of employees. This has to be fulfilled using a custom PCR. This payment may be delimited (stopped) as per the requirements.

Input:


a) Employee Sub-group (Grade) along with percentage

b) Basic pay wage type

c) Payment period

Output:


Deputation allowance wage type as per the grade entitlement.

Solution:


Employee Subgroup with the percentage is listed below:

img001.JPG

PCR switch to calculate deputation allowance WEF 01.06.2014 has been maintained in constant table V_T511K.

Constant name: ZCALO.

img002.JPG

Basic pay wage type 9000 is maintained in infotype 8. A new wage type ‘8002’ for storing the depuation allowance is created in infotype 15.

PCR for calculating the deputation allowance is given in the below diagram:

/wp-content/uploads/2015/06/image005_734821.png

Explanation for PCR:

Above PCR will load the constant ZCALO value from v_t511k and will be checked with the comparison operation. Based on the return value of this comparison, control will be branched to node A. Here the employee subgroup will be placed in the variable key using OUTWPPERSB. Then further calculation will happen to get the value of wage type 9000. Different calculation logic can be put for different employee sub-groups for flexibility.

Placement of PCR:

This PCR can be placed after the function P0015 in your payroll schema.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply