Skip to Content

Need to use Pension Subtype into PCR for writing logic based on it

Hi All,

Need an help on below requirement:

We have 2 pensions WT D03 and D04, in which I have to write a logic based on Subtype of it.

The approach I used to attain is:

Used P0071 Function and it generated PENS table. In a PCR used TABLE operatiomn to read PENS and saved VARGBSUBTY. In the decision gave 3 options ***. D03 and D04. The Payroll runs fine if the employee has pensions sub type but if the employee doesn't have any pensions then it is going into error. (Note: Used P0071 directly in table but getting the same issue).

Now I have to check whether the PENS has some content and if there is something in PENS then I will run over the PCR nor skip. Is there any way to achieve it?

Or any one have better solution to achieve this.

Am I doing anything wrong while using table operation, skeleton of code is given below:




D03 - logic 1

D04 - logic 2

Please advise.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers