Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Derive absence type..

Former Member
0 Likes
1,481

Hi,

How can i derive the leave type from absence quota type? I have the absence quota type,but how can i get the corresponding leave type?

Thanks and Regards,

Arun,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,180

check infotype 2006

thanks

Hi,

How can i derive the leave type from absence quota type? I have the absence quota type,but how can i get the corresponding leave type?

Thanks and Regards,

Arun,

5 REPLIES 5
Read only

christine_evans
Active Contributor
0 Likes
1,180

>

> Hi,

>

> How can i derive the leave type from absence quota type? I have the absence quota type,but how can i get the corresponding leave type?

>

> Thanks and Regards,

> Arun,

If you

If you mean that you want to find a link between AWART absence type eg 1010 and KTART quota type eg 04, I have tried and failed to find an easy way to do this in the past and ended up creating a mapping custom table. This solution works ok but of course the table has to be maintained which is an overhead. There must be a way to do it since the SAP standard screens seem to manage, but even by using ST05 trace I couldn't find out how.

Read only

Former Member
0 Likes
1,181

check infotype 2006

thanks

Read only

0 Likes
1,180

Infotype PA2006 contains only absence quota type, i need the leave type for it.....

Read only

Former Member
0 Likes
1,180

A relationship exist in table T554S for Absence type (AWART) and Absence Quota Type (KTART).

Pre Requisite:

PERNR ~ Personnel Number

KTART ~ Absence Quota type

Steps:

1. First, get Personnel Area (WERKS) and Personnel Subarea (BTRTL) from PA0001.

2. Next, get Personnel Subarea grouping (MOABW) from table T001P using WERKS and BTRTL from step 1.

3. To get the Absence types related to Quota type, Query table T554S using MOABW from step2 and the Quota type (KTART),

you will get the differnt Absence types (1 or more) from field T554S-SUBTY.

4. Last but not the least, Search PA2001 for records with SUBTY IN T554S-SUBTY from step 4.

5. If there are no records shown it means that the current PERNR doesn't have a booked Absence with Quota.

Kindly let me know if you need further assistance. Thanks.

-Chris-

Read only

0 Likes
1,180

there are no values Quota type (KTART) in table T554S