Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PCR Action

Dear Experts,

I have designed a calculation rule which is used to calculate a wage type as the following calculation:

WT 3047= WT 9501 - WT 3046

The following syntax was used:

Z777 Personnel Calculation Rule 



      9501 Gain Work Tax

        ADDWT *    OT   Output table

        AMT-& 3046 Subtraction

        ADDWT 3047 OT   Output table

I need to make this calculation rule activated only when the payroll includes a specific wage type which (WT 2055). In other words, whenever the  user adds WT 2055 for the employee, then this calculation rule is active. If not, then the payroll driver doesn't work on this rule.

I appreciate your help in the know how of doing this.

Thanks in advance.

Former Member

Do a Payroll Simulation for one employee with WT 2055 in IT0015 (or IT0014), and drill down into the log until you find pcr Z777 (the one that creates the temporary variable for WT 2055).

Double click on the pcr to confirm that the Input Table to the pcr includes WT 2055 with an Amount, that the pcr does process WT 2055 and that the processing uses operation ADDWT&2055.

If all conditions are met, the temporary variable to WT 2055 should exist in the Temporary Variables Table (which you can see if function PRINT is added in your schema with Par2 = VAR).

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question