cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding RPTQTA00

Former Member
0 Kudos

Hi Experts,

Please answer my questions below

My question is Do we need to run RPTQTA00 once in a year or it should be run once?

when I run RPTQTA00 Program twice It is showing Total 20 casual leave (absence Quota) Instead of showing 10 Absence Quota Casual Leave.. What would be the reason for this? If i want 10 casual leave (absence quota) that i have configured Even If i run twice or thrice RPTQTA00 it should show 10?

Another question is I have configured Earned Leaves 20 ( Absence quota) when I run RPTATQ00 it is showing 18 instead of 20 same in case with other quotas Do I need to assign rounding rule for this?

suppose an X employee has taken a leave from his Casual leave on 04.04.2011 I dont see from and to date in PT 50 but i can see entitlements...

Edited by: My SAP Cronies on Oct 24, 2011 8:42 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Now I have assigned rounding rule I can see 20 Leaves which I have configured Unfortunetly those 20 leaves are in green color and 18 leaves are in white color same 18 it is reflecting in 2006...

Former Member
0 Kudos

whats happening in my case is when I run RPTQTA00 I can see two colors white and green color in white I can see 18.23434 leaves and in Green color line i can see 20 leaves... Whenever i run RPTQTA00 this is showing 18+20 i.e 38 leaves total..

in PT50 I can see 18.234 leaves as well as in 2006 infotype what would be the reason Expert please throw some light on this...

Former Member
0 Kudos

PT50 only displays the accruals and information about the Absence Quotas... It will not show the deductions.

If you want to see the deductions, go into PA20/PA30 and in the employee's Absence Quota record (IT2006) go into the Absence Quota record and then from the menu click GOTO and then DEDUCTIONS. Here you will see the list of deductions.

you can also look into the table PTQUODED to see the deduction record.

Former Member
0 Kudos

what you said was okay See when I run RPTQTA00 i can see 18.356+20 leaves casual i.e 38 it is showing..

when i see in absence quotas 2006 I can see 18.356 leaves.. For fhis i have assigned a rounding rule to make it 20 ..

Those 20 it is showing in green color and remaining 18.356 is showing in absence quota 2006 instead of 18.356 it should show 20 casual leaves in 2006 absence quotas...

please throw some light on this....

Former Member
0 Kudos

You can either adjust time constraint of it 2006 so that second record can not be generated. Or if it deletes the old record you can do the below mentioned solution.But I prefer an abaper to do the solution.

User exit 009 which is used in program PT_QTA00 should be activated and necessary coding should be made.

ZXPLAU10

With CMOD you have to create a project,(örn: ZHR)

Assign enhancement HRPTIM03 to it

So you can add component EXIT_SAPLHRLV_009 to the project.

After you activate the project

Double click on enhancement and reach to function

Here you have to access to include ZXPLAU10. If there is no include you have to create it

Sample code for ZXPLAU10

*&----


*

*& Include ZXPLAU10

*&----


*

TABLES pa2006 .

LOOP AT xdef_value_tab .

SELECT SINGLE * FROM pa2006 WHERE pernr = xpernr AND ktart = xdef_value_tab-ktart AND begda = xdef_value_tab-begda AND endda = xdef_value_tab-endda .

CHECK sy-subrc = 0 .

DELETE xdef_value_tab .

ENDLOOP .

Regards;

Okan

Former Member
0 Kudos

I have changed Time Constraint 02 in absence quotas under Time Quota Still it shows same...

sikindar_a
Active Contributor
0 Kudos

Go for Abap Changes that is the only way we have for achiveing the above said requirment

Former Member
0 Kudos

Thank you I have come across same at some clients place during support when I used to run program but never insist me on that . Now at new client Place User would like to see exact quotas I'll approach ABAPER for this.....

Base Entitlements: I have configured Absence Quotas based on seniority level So in Base Entitlement In Seniority Level Ican see they have given 001 age for 20 quotas and 001 to 002 I have given 30 quotas and 002 to 003 they have given 40 quotas.. I ran for one employee It is taking 20 quotas in to account How abt other quotas 30 and 40 How can system identifies based on this.. Is this is based on age inwhich record i need to store info inorder to test this scenario correctly

Answers (0)