on 03-09-2010 10:37 AM
Dear All,
My client wants to show Leave Balances in payslip. in SAP where we can get remaining leave balances.
In info type 2006 we can get total entitlement and used leave. But where we can get remaining leaves.
We are using time management status 0 (No time evaluation).
Please help me on this.
Venkat
Hi,
Use table ZKQ (Absensce Quota) .
Field name REST
Additinal Info - select the Identifier Deductible Time quotas and select the relevant quota.
Regards,
Dilek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In IT2006, you can get the deductions,
or else use FM : HR_GET_LEAVE_DATA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you can get entitlement and used leave, remaining leave is the difference.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank You Saini for Your reply,
we used the same logic and implemented. But My clients requirement is like this.
Opening Balance-used=Remaining, Remaing leaves (Balance leaves) should appear opening balance for next month.
For ex:= 12 Opening balance-2 used in april= 10 Remaining in April., The same 10 Should be appear as Opening balance in next month Payslip,
Say 10-1= 9 (May, suppose employee has taken one day leave)
9-0=9 (June leave not taken, so 9 need to apper in July as Opening Balance)
Remaining leaves won"t be store anywhere, if i am right. so what we did is, we passed remaining leaves into one ZTABLE. and that value we are picking that value. it is not working 100 percent. the problem is if we do any changes in 2001 info type after 3 payroll runs over, the ZTABLE not getting updated , hence the leaves on current payslip showing wrong values.
Please help me on this........
Is there any standard table to store the remaing leaves? or can we pass that entries in to time type and through which we need to write to PCR, I mean is there anu chance through PCR........?Any suggesitions...!!!!We are using TMSTA=0.
Venkat
Hi...
U will have to fetch the data from WPBP table and ABC table in the PC_Payresult....
Rgds,
Tej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
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.