on 07-20-2017 4:05 PM
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:
TABLEPENS
VARGBSCREF (or VARGBSUBTY)
***
D03 - logic 1
D04 - logic 2
Please advise.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.