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

ABAP - HR

Former Member
0 Likes
978

Hi All,

I got a requirement to get the appraisee names for the given date period.

is there any function module to get the appraisee name or pernr for the given date range.Please do the need full..

Thanks,

Naveen.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
943

Hi

Use the fun module

<b>RHPA_APPRAISEES_APP_READ</b>

for getting the required info

Reward points for useful Answers

Regards

Anji

Hi All,

I got a requirement to get the appraisee names for the given date period.

is there any function module to get the appraisee name or pernr for the given date range.Please do the need full..

Thanks,

Naveen.

6 REPLIES 6
Read only

Former Member
0 Likes
944

Hi

Use the fun module

<b>RHPA_APPRAISEES_APP_READ</b>

for getting the required info

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
943

ZBAPI_TIMEQUOTA_GETDETAIL is the FM

The following parameters need to be passed to the function module

-

Employee number(pernr) = PNP-PERNR

-

Entitlement Date(key_entitle) = PNP-BEGDA – 1 DAY

-

Key deduction date (key-ded) = PNP-BEGDA – 1 DAY

-

Begin Date(begda) = 01/01/1800

-

End Date(endda) = 12/31/9999

-

Deduction Start date(ded_start) = PNP-BEGDA

-

Deduction end date(ded_end) = PNP-ENDDA

Regards,

Pavan P.

Sorry this doesn't works...

Message was edited by:

pavan pachimatla

Read only

Former Member
0 Likes
943

hi naveen,

HRHAP_C_CATEGORY_APPEE_READ

if useful reward points.

Read only

amit_khare
Active Contributor
0 Likes
943

This FM HAP_S_HEADER_APPRAISEE returns the appraisee name.

Just you need to match with your requirement.

Can check this also - BAPI_APPRAISEE_GETLIST

Regards,

Amit

reward all helpful replies.

Read only

Former Member
0 Likes
943

Hi,

Try BAPI_APPRAISAL_GETDETAIL

RHPA_APPRAISEES_APP_READ

Regards

Read only

Former Member
0 Likes
943

Hi ... here is the program


report  zappriasel .

DATA: T_APPRAISEES TYPE TABLE OF HRSOBID,
REC_APPRAISEES LIKE LINE OF T_APPRAISEES,
T_APPRAISALS TYPE TABLE OF HRPE_PROFA,
REC_APPRAISALS LIKE LINE OF T_APPRAISALS.

GET PERNR.
REC_APPRAISEES-PLVAR = '01'.
REC_APPRAISEES = 'P'.
REC_APPRAISEES-SOBID = '00000017'." Pernr.
APPEND REC_APPRAISEES TO T_APPRAISEES.
* read appraisals
CALL FUNCTION 'RHPA_APPRAISEES_APP_READ'
EXPORTING
BEGDA = '19800101'
ENDDA = '99991231' "p_endda
TABLES
APPRAISEES = T_APPRAISEES " SOBIDS
APPRAISALS = T_APPRAISALS
EXCEPTIONS
NO_AUTHORITY = 1
UNDEFINED = 2
OTHERS = 3.
break-point.
LOOP AT T_APPRAISALS INTO REC_APPRAISALS.
WRITE : / REC_APPRAISALS-APPRAISAL_RESULT.
ENDLOOP.

reward points if it is usefull ...

Girish