Application Development 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: 

how to to determine quota type in EXIT_SAPLHRLV_009

Former Member
0 Kudos

Hi,

I am currently using user exit EXIT_SAPLHRLV_009 for report program RPTQTA00 to compute leave quota. We have different computations per leave type. How can i determine the leave quota type inside the user exit EXIT_SAPLHRLV_009?

Thanks,

Steph

6 REPLIES 6

former_member907073
Participant
0 Kudos

Hi,

Use FM ' EXIT_SAPLHRLV_002' - Customer Enhancement for Quota Generation: Accrual Entitlement.It does have field for Type of Quota.

If this exit doesnt suit the reqmnt , go through exit FMs in Function grp XPLA.

Regd,

AS

Edited by: abheesawant on Oct 24, 2011 10:45 AM

0 Kudos

Hi AS,

Thanks for the reply.

It is true that EXIT_SAPLHRLV_002 has field for quota type but this user exit doesn't have like HRQTA_T_DEFAULT that will allow me to save computed quotas.

Thanks,

Steph

0 Kudos

Hi,

If RPTQTA00 is executed for a specific leave quota (e.g. Annual Leave), user exit EXIT_SAPLHRLV_009 cannot determine the leave quota so computations would be made for all leave types. Is there any other user exit for this?

Thanks,

Stephanie

0 Kudos

I still cannot find a solution for this one. It still computes for ALL leave quota which should only be for a specific leave quota defined in RPTQTA00.

regards,

Steph

0 Kudos

Can somebody help me with this?

Thanks,

Steph

Former Member
0 Kudos

created an enhancement spot in function module HR_QUOTAS_DEFAULT_AT_ENTRY to export the quota types then import it in user exit EXIT_SAPLHRLV_009.