cancel
Showing results for 
Search instead for 
Did you mean: 

Remaining leave balance

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use table ZKQ (Absensce Quota) .

Field name REST

Additinal Info - select the Identifier Deductible Time quotas and select the relevant quota.

Regards,

Dilek

Former Member
0 Kudos

Dear Dilek,

u mean to say ZKQ is a Internal table ..right? (a little bit confusion)

Please clarify.

Thanks in advance.

Former Member
0 Kudos

No, in fact it is the table name speficied in single fields for PE51.

Do you use PE51 for payslip configuration or not?

Dilek

Former Member
0 Kudos

Dilek,

Thanks for ur quick reply,

We are not using Standard Payslip which is IN01.

We are using our own format.

Answers (3)

Answers (3)

Former Member
0 Kudos

In IT2006, you can get the deductions,

or else use FM : HR_GET_LEAVE_DATA

Former Member
0 Kudos

Dear Tirumala rao,

FS Which you said is not fulfill my client requirement i think so.

Friends Please give ur advices

vikram_n
Contributor
0 Kudos

Hi

Please check T.code PE51in the single field

try to assign the below option

I hope this will solve ur prbm

VAC Leave

VACPA Leave (current period)

ZKQ Absence quota

ZKT Attendance quota

with Regards

Vikram N

Former Member
0 Kudos

Hi,

If you can get entitlement and used leave, remaining leave is the difference.

Cheers

Former Member
0 Kudos

We had the same requirement. We took it from 2006 infotype. The [entilement] minus [leave used] is remaining leave. We displayed remaining leave on the pay stub. Please ask your ABAP Consultant to do this.

Thanks

Edited by: Revti Saini on Mar 10, 2010 1:27 AM

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi...

U will have to fetch the data from WPBP table and ABC table in the PC_Payresult....

Rgds,

Tej