cancel
Showing results for 
Search instead for 
Did you mean: 

how to find the FUNCTION EXIT_SAPLHRLV_009.

Former Member
0 Kudos

Dear Freinds,

I have one requirement where i have to do validation for in the Exit

FUNCTION EXIT_SAPLHRLV_009 for the program RPTQTA00(transaction PT_QTA00).

but i am not able to trace the Enhancement name to which the EXIT_SAPLHRLV_009 belongs.

Please help me in this regard.

regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Freinds,

I have found the solution the The enhancment name is HRPTIM03 for the exit EXIT_SAPLHRLV_009.

Thanks & regards

Mahduri

Former Member
0 Kudos

maduri can you please give me what is business process

What do you want to do ?

Why do you wnat to do ?

Best Reagards

Former Member
0 Kudos

Hi Sreenu,

Actually the business process is if i have a record in the infotype 2006 01012008 to 31012008 for a quota type (ex : sick leave). IF for the same period 01012008 to 31012008 if i executed the program RPTQTA00, then i will not get any record , which is correct .

however if i run the report 02012008 to 01022008 for this period the repot executes because as per the logic written in the FM HR_QUOTAS_DEFAULT_AT_ENTRY,

LOOP AT def_value_tab INTO def_value_tab_wa

WHERE NOT prvqt IS INITIAL.

LOOP AT def_p2006 WHERE ktart EQ def_value_tab_wa-ktart

AND begda GE def_value_tab_wa-begda

AND endda LE def_value_tab_wa-endda.

def_value_tab_wa-anzhl = def_value_tab_wa-anzhl - def_p2006-anzhl.

ENDLOOP.

MODIFY def_value_tab FROM def_value_tab_wa.

ENDLOOP.

we can see that if the begda matches the criteria hence the "def_value_tab_wa-anzhl" value become

Zero due the calculation ( def_value_tab_wa-anzhl = def_value_tab_wa-anzhl - def_p2006-anzhl.

).

however in the second case the begda is not greater than def_value_tab_wa-begda so the loop fails

as such the anzhl value remains as it is.

so further after CALL CUSTOMER-FUNCTION '009'

you find DELETE def_value_tab WHERE anzhl LE 0.

so Def_value_tab will become empty in the first case which is correct and in the second case

it is not become empty ,

so as per our requirement if the begda falls in the range of the selection period of the Report it should act in the same way as of the first case date range (i.e 01012008 to 31012008 ) if we have record in the 2006 (01012008 to 31012008 ).

Please help me .

regards

madhuri

Former Member
0 Kudos

Dear Freinds,

I have found the solution the The enhancment name is HRPTIM03 for the exit EXIT_SAPLHRLV_009.

Thanks & regards

Mahduri