Hi SAP Gurus,
I have a requirement where in I need to fetch the Remaining time quota for an employee for Annual Leave (AQ 60).
I found a field in P2006-ANZHL, but this field gives the total time evaluated, not the time remaining.
When I went to tcode PT50, I am able to see the remaining time as well as the total time (ANZHL).
Do we have any FM or table which stores the remaining time quota. As we need it to display on the WD screen.
Also,
We also want a check wherein, if the Annual Leave (AQ 60 ) is greater then 40 days, error should be populated.
I am new to HR so please help me in getting this done.
Please provide sample logic too if possible as as per I know, time displayed will be in Hours, need to convert it into days and then validate.
Waiting for your valuable feedback.
Regards,
Aakash Awasthi