Skip to Content
author's profile photo Former Member
Former Member

FM RHPA_APPRAISEES_APP_READ .

Can anyone please explain me about the function module RHPA_APPRAISEES_APP_READ .

I ahave some data maintained in infotype 0025 for appraisals for some personal number but there is no data coming out - this FM just asks for begin date and enddate as import parameters but not for personal number.

Please any one help.

Ribhu

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 29, 2007 at 01:53 PM

    Ribhu,

    You have to fill the appraisees table of the function call & the appraisals will be returned in the table appraisals. Here appraisee is the pernr ie

     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.
      rec_appraisees-plvar = '01'.
      rec_appraisees = 'P'.
      rec_appraisees-sobid = "Pernr.
      append  rec_appraisees to t_appraisees.
    * read appraisals
      call function 'RHPA_APPRAISEES_APP_READ'
           exporting
                begda                = low_date
                endda                = high_date    "p_endda
           tables
                appraisees         = t_appraiseessobids
                appraisals          = t_appraislas
           exceptions
                no_authority         = 1
                undefined            = 2
                others               = 3.
    • The table t_appraisals will now hold the employee's appraisals.[/code]

    Good Luck

    ~Suresh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dude,

      Well I written this code there :

      REPORT ZTEST3

      *report zporgr0030

      LINE-SIZE 193

      LINE-COUNT 60(1)

      NO STANDARD PAGE HEADING

      MESSAGE-ID ZNDC.

      ***********************************************************************

      • Database Tables

      ***********************************************************************

      TABLES: PERNR, " Logical PNP

      T001P, " Personnel Subarea

      T005T, " Country Descriptions

      T500P, " Personnel Area

      T501, " Employee Group

      T503K, " Employee Subgroup

      CSKS, " Cost Centers

      CSKT, " Cost Center Texts

      T513C, " Job (Previous) Texts

      T513S, " Job Titles

      T517T, " Edn Est.Text

      T518B, " Discipline Text

      T519T, " Certificate Text

      T528T, " Positions Texts

      T538T, " Unit Text

      PA0003. " Payroll Status

      INFOTYPES:

      0000, " Actions

      0001, " Organizational Assignment

      0002, " Personal Data

      *0007, " Planned working time

      *0008, " Payroll Data

      *0022, " Education Data

      *0023, " Previous Employer data

      0025. " Performance Appraisal Data

      *0041, " Date Spcifications

      *2001. " Absences

      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.

      This leaves the table T_APPRAISALS empty when I check the break point. What could be wrong????

      When I loop kin infotype 0025 of emp no 17 - tab -Appraisals whern Appraisee, there are 3 - 4 entries. When I click on the first one, it takes me to program SAPLHRHAP_UI_DOCUMENT from where I want to pick up the 'Final Appraisal' Values. (HAP_S_DYNP_3100_TB-COL_01_VALUE_TXT) . Pls suggest wat to do???

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.