2007 Jul 06 9:39 AM
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.
2007 Jul 06 9:49 AM
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.
2007 Jul 06 9:49 AM
Hi
Use the fun module
<b>RHPA_APPRAISEES_APP_READ</b>
for getting the required info
Reward points for useful Answers
Regards
Anji
2007 Jul 06 9:50 AM
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
2007 Jul 06 9:50 AM
2007 Jul 06 9:51 AM
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.
2007 Jul 06 9:57 AM
Hi,
Try BAPI_APPRAISAL_GETDETAIL
RHPA_APPRAISEES_APP_READ
Regards
2007 Jul 06 9:58 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |