HI Experts! [appraisal report]

hi all ,
i m in creating Appraisal Report , generally we take data frm pa0025 , but this is empty as there is no data in that table.
so i use HRT1045 and HRP1045 using TABNR , i got fields- rating , creation date, start date and end date.
then pa0001 , i got fields - sname [appraisee] , persg.
but problem is that i might not able to join appraisee name with corresponding rating.
[HRT1045 & HRP1045 ] CANT JOIN   WITH    [PA0001]
Regards,
Rahul

Hi
Use the fun module <b>'RHPA_APPRAISEES_APP_READ'</b> to get the appraisal data.
see the sample code
Internal Table for Performance Appraisal Data
data: begin of app1_tab occurs 0,
        year(4) type     c,            " Year
        appr(35) type    c,            " Appraisal
      end of app1_tab.
Internal table for retreiving Employee Appraisals
data  app_in_tab  like hrsobid occurs 0 with header line .
data  app_out_tab like hrpe_profa  occurs 0 with header line .
start-of-selection.
Get PERNR from LDB
get pernr.
Get the Performance Appraisal data
      perform get_app_data.
*&      Form  get_app_data
Get the Performance Appraisal Data from Infotype
form get_app_data.
  clear: v_cyear, v_year1, v_year2, v_year3, v_year4,
         v_year5, v_year6, v_ayear, v_date2, v_date3.
  v_cyear = sy-datum+0(4) - 1.
  v_year1 = v_cyear - 1.
  v_year2 = v_cyear - 2.
  v_year3 = v_cyear - 3.
  v_year4 = v_cyear - 4.
  v_year5 = v_cyear - 5.
  v_year6 = v_cyear - 6.
  concatenate v_cyear c_date2+4(4) into v_date2.
  concatenate v_year6 c_date1+4(4) into v_date3.
  clear: app_in_tab, app_out_tab.
  refresh: app_in_tab, app_out_tab.
  app_in_tab-plvar = c_01.
  app_in_tab-otype = c_p.
  app_in_tab-sobid = pernr-pernr.
  append app_in_tab.
Get Appraisals data from Respective Infotypes
  call function 'RHPA_APPRAISEES_APP_READ'
   exporting
     begda               =   v_date3
     endda               =   v_date2
  WITH_STEXT          = 'X'
  WITH_ADD_INFO       = 'X'
    tables
      appraisees          = app_in_tab
      appraisals          = app_out_tab
   exceptions
     no_authority        = 1
     undefined           = 2
     others              = 3
  if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
  sort app_out_tab  by sobid vbegd vendd appraisal_adate descending .
  delete adjacent duplicates from app_out_tab
            comparing  sobid vbegd vendd.
  loop at app_out_tab where appraisal_histo = 'X' .
    condense app_out_tab-appraisal_result.
    app1_tab-year = app_out_tab-vendd+0(4).
    app1_tab-appr = app_out_tab-appraisal_result_text.
    append app1_tab.
    clear app1_tab.
  endloop.
  sort app1_tab by year descending.
  loop at app1_tab.
    app_tab-pernr    = pernr-pernr.
    move-corresponding  app1_tab to app_tab.
    append app_tab.
    clear: app1_tab, app_tab.
  endloop.
  refresh app1_tab.
  sort app_tab by pernr.
  delete app_tab where year = ' ' and appr = ' ' .
endform.          "get_app_data
Reward points if useful
Regards
Anji

Similar Messages

  • Comments in appraisal report

    Hello,
    We just started to work with ECC6 and in a new version when you add comment to appraisal report it insert also name of person who edited it and time data. Also it is not possible to change comment that already exists.
    Is there any option to change it and to not save updater data?
    Thanks,
    Paulina

    it is very much possible. you need to take the help of IA and MA for this. let me know if you have any questions here

  • Performance Management Appraisal Reporting

    Hi Experts,
    I have a business requirement to report on Final Performance Ratings via Org. Units.  Standard SAP Reporting for Performance Management appears to be very limited with phap_search_pa...
    I want to be able to report on Org. Units and their Final Performance Ratings so to visualize the data I am looking for:
    Appraisal Template --> Org. Unit --> Individual Employee Data
    Is this possible?
    Thanks!
    Adam P.

    Hi Adam,
    I dont think there is any standard report that is available to get the data as per you your requirement.
    I would suggest you to develop a custom report to get the data.
    Get the appraisal related data from PHAP*
    Get the OM (Org units) related data from employee's 0001 infotype and pass details from FM "RH_STRUC_GET".
    Get the employee related data from PA tables.
    Hope this helps you.
    Regards,
    Subbu.

  • Standard appraisal reports don't work for added goals

    the standard reports available from SAP ( 'Export to Excel' for instance) do not work for appraisal documents with free enhancements.
    I have a requirement to generate a report that will also include goals added by end-users using the free enhancement 'add new element'.
    more so, the report cannot be downloaded to Excel if the appraisal document contains more than 20 appraisal elements. This can easily happen in our case, since employees can add their own goals to the document.
    how can we report on appraisal documents with more than 20 elements and added goals?
    Tiberiu
    Edited by: Tiberiu Sasu on Jan 7, 2011 1:24 PM

    I confirmed with sap that this is a system limitation and sap has no plans to resolve it for now. more so, sap is planning to replace the export to excel functionality with an export to PDF function.
    my question - has anybody tried to remove this limitation? we need some guide on how to do this... (name of SAP program, code to be enhanced etc)
    Edited by: Tiberiu Sasu on Jan 7, 2011 4:59 PM

  • Appraisal reporting structure issue

    Hi ,
    We have three level of reporting structure.Appraisee u2013 Appraiser u2013 High level manager. Our problem is that some employee has first level manager, does not have 2nd level manager. We have to remove high level manager. This employee has one manager for 
    both the levels
    That manger has to do both the level appraisal
    The normal process(three level structure) is working but if i remove high level manager from part appraisal column for this process it is not working
    Please suggest how does it possible 
    Regards,
    Prasath
    Edited by: SN Vijay Rajandra Prasath on Dec 20, 2011 12:07 PM

    Hi
    Raj
    Use Realtionship A250 for reporting MD or any other from standard relatioship which is not used. I am Using A250 realtion for reporting to CMD.

  • Hi Expert , crystal report export problem. system not responding

    Hi,
    crystal report export problem. system not responding.
    Thanks
    Rajkumar Gupta

    Dear Raj,
    Please try this
              Try
                Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
                Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
                Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
                Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDoc.Load(rptPath)
                rptView.ShowExportButton = True
                rptView.ReportSource = rptDoc
                For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                    oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                Next
                For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
                    For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
                        If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                            oSubReport = rptObject
                            rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
                            For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
                                oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
                            Next
                        End If
                    Next
                Next
                'Setting Paper
                Dim rawKind As Integer = 0
                Dim printSet As New System.Drawing.Printing.PrinterSettings
                For i As Integer = 0 To printSet.PaperSizes.Count - 1
                    If printSet.PaperSizes.Item(i).PaperName.ToUpper = PaperName.ToUpper Then
                        rawKind = CInt(printSet.PaperSizes.Item(i).RawKind)
                        Exit For
                    End If
                Next
                Dim MyTest As New SaveFileDialog
                rptDoc.PrintOptions.PaperSize = CType(rawKind, CrystalDecisions.Shared.PaperSize)
                rptDoc.ExportToStream(ExportFormatType.Excel)
                'rptDoc.SaveAs("C:\TBKING.xls", True)
                '''How to export the report
                Try
                    Dim CrExportOptions As ExportOptions
                    Dim CrDiskFileDestinationOptions As New _
                    DiskFileDestinationOptions()
                    Dim rename As String
                    rename = rptName.Replace(".rpt", "")
                    Dim CrFormatTypeOptions As New ExcelFormatOptions
                    CrDiskFileDestinationOptions.DiskFileName = _
                                                "c:\Report\" & rename & "_Export_File.xls"
                    CrExportOptions = rptDoc.ExportOptions
                    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.Excel
                        .DestinationOptions = CrDiskFileDestinationOptions
                        .FormatOptions = CrFormatTypeOptions
                    End With
                    rptDoc.Export()
                Catch ex As Exception
                    MsgBox(ex.ToString)
                End Try
                '' end by kevin shah
                rptView.Show()
                rptView.ShowExportButton = True
                Dim oFrm As New System.Windows.Forms.Form
                rptView.DisplayGroupTree = True
                rptView.Dock = System.Windows.Forms.DockStyle.Fill
                rptView.Location = New System.Drawing.Point(0, 0)
                oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
                oFrm.Controls.Add(rptView)
                oFrm.Name = "Report Viewer"
                oFrm.Text = "Report Viewer11"
                oFrm.ResumeLayout(True)
                oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
                oFrm.TopMost = True
                oFrm.ShowDialog()
            Catch ex As Exception
                objMain.objApplication.MessageBox(ex.Message)
            End Try
    By pressing this button XLS file be generated on C:\report\
    Hope this will resolved the issue
    Thanks
    Kevin

  • Hi Experts, Crystal report mutiple value selection using checkbox in 8.81

    Hi,
    I am using Crystal report multiple value selection option using checkbox in 8.81 sap b1 pl 05.but i want default all check box value should be selected.
    How do we achieve same.
    Thanks
    Rajkumar Gupta
    Edited by: Rajkumar Gupta on Jul 11, 2011 5:45 AM

    Dear Raj,
    As per me, this can't be done in current version of SAP 8.81.
    Alternate way is use SDK
    Thanks
    Kevin

  • Appraisal Report

    How do everyone!
    I am trying to create an excel spreadsheet containing appraisal statistics.
    I have fallen over at the first hurdle. I looked at the table PA0024
    (i.e.infotype 0025) and it is completely empty.
    Where does one find the data????
    Does anybody out there know?
    Any help much appreciated.
    Thanks
    Andy

    Hi Andy,
    If  IT PA0025 means thr is no appraisal data is available.
    You can test appraisal in PA30 -->Emp name --> Infotype 0025 --> create
    Regards,
    Ram.

  • Hi Experts, Crystal report an error has occurred in the script on this page

    Hi,
    I am using  Crystal Reporter Integration add-on 2.0.07 to show crystal report but getting
    " an error has occurred in the script on this page error "
    Installed in PC-
    1) FRAMEWORK 3.5 SP  1
    2) CRYSTAL REPORT 2008  RUNTIME SP1
    3) XP SP 3
    Thanks
    Rajkumar Gupta

    thanks for reply Gordon,
    On server report working fine but at all clients pc crystal report addon giving error for selection parameter .
    thanks
    Rajkumar

  • Aperture Expert is reporting that Digital Camera RAW 4.0.5 supporting Fuji sensors is out...

    It should be available via Software Update.
    http://www.apertureexpert.com/tips/2013/4/17/digital-camera-raw-update-405-for-a perture-and-iphoto-fujifi.html
    New cameras supported:
    Fujifilm X20
    Fujifilm X100S
    Fujifilm X-E1
    Fujifilm X-Pro1
    I would expect it would also be available for download here:
    http://support.apple.com/downloads/
    But isn't there yet.  I guess there may be numerous fewer threads here related to Fuji now ;-)

    The Mountain Lion raw support article also lists the update already - I had to remember to clear the Browser Cache to see it
    http://support.apple.com/kb/HT5371
    And it was available at the AppStore for download more than an hour ago, but grouped with the pre-release software update, even if the update itself was not marked as pre-release seed.

  • Slow performance of report with Cal year

    Experts,
      Hope all is OK . We have  BW appraisal reports, one of which is Appraisal markings by grade report having Calendar year as selection variable.
    If I run this report with calendar year as selection parameter , this reports is taking very very long time and is not doing any thing .
    If I remove Calendar year in the report, then the report is executing in a reasonable amount of time.
    But we need calendar year as a variable in the report. Please help me why with this variable taking very long time ?
    I appreciate any advice.
    Thanks

    Hello Manoj,
    Take into consideration creating a aggregate on Calyear.
    Your problem is because of  variable usage, your problem is data selection of calyear. If you create and aggregation on this cube by Calyear, selection will be very fast.
    Sarhan.

  • In report painter GRR3 1VK  Actual Value picked up from previous year

    Dear Experts,
    In report painter GRR3 > 1VK
    1. Column of Actual Quantity to take in Basic Key Figure from Statistical Quantity
    2. The value is 4 (Actual) and Version is 0
    I found that the Actual value appeared are actually taken from the previous fiscal year. I have checked the line items and their document posting date it shown as last fiscal year.
    In this case, where should I amend to have the report pick up only actual value of this fiscal year? or Is there any value to maintain for GRR3 to pickup the current fiscal year actual posting?
    Thank you very much and Best Regards,
    Anne

    hi..
      Goto GRR3 > click on Lib 1VK it will show you all the report in 1VK library > select your report & double click on it
      It will display the report format. Then go to Edit at the top. you will find General data selection.click on it you will find available characteristics. Then goto GRR2 for making any change/selection for Fiscal year char
      If your report is a standard one you can not change. then copy the report from GRR1 and make the changes.
      You can also see the char in GR23 by selecting 1VK lib.
    kkumar
    Edited by: kkbdsp on Mar 11, 2011 9:21 AM

  • Fixed Asset Report datewise

    Hai Experts,
          My report requirement is to get list of Fixed Asset by date wise. Now i am using BAPI_FIXEDASSET_GETDETAIL.
    This BAPI is giving output by year (Fiscal year).
           Please help me is there any other BAPI or Function Module to solve my issue. Also tell me the alternative solution for this.
    Thank you,

    check these
    BAPI_FIXEDASSET_CHANGE         Changes an Asset
    BAPI_FIXEDASSET_CREATE         Creates an Asset
    BAPI_FIXEDASSET_CREATE1        Creates an Asset
    BAPI_FIXEDASSET_GETDETAIL      Display Detailed Information on a Fixed Asset
    BAPI_FIXEDASSET_GETLIST        Information on Selected Assets
    BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer
    BAPI_FIXEDASSET_TEST           BAPI for Legacy Data Transfer
    AMFA                           Fixed asset posting BAPIs
    Thanks nd Regards,
    Karthik

  • MR11 report

    Hello Experts,
    MR11 report (SAPRCKM_MR11 program) doesn't have the ALV grid display and hence we are not able to download the report into excel.
    I have seen few posts saying to change the 'Scope of list' from BEST to ALV in the config. Will this really help in getting the ALV Grid display for the report? If not, could anyone share your thoughts?
    Thanks
    Sandy.

    Hello Sandeep,
    Have you try this way.
    From Menu Bar,
    Select System -> Select List -> Select Save -> Select Local File.
    You will prompt will save list option for excel spreadsheet download.
    Regards,
    Sameer

  • Report not displaying data from one of the infoproviders

    Hi Experts,
    Issue: Report not displaying data from one of the infoproviders
    I have a report 'ReportA' which has multiprovider MP1 as the source.
    MP1 has two Infocubes IC1, IC2 in its design.
    Now, when i execute the report, data from IC1 is displayed. But no data from IC2 is displayed.
    Is there a setting i need to enable in MP1 ? or is there anything else that needs to be enabled ?
    Please reply.
    Regards,
    Suraj S Nair

    Hi All,
    When i display data directly from the multi provider, without any restrictions, i cannot view the data from infocube IC2.
    I feel its not an issue with the Query. It must be a problem with the setting in the Multiprovider MP1.
    Infocube IC2 is a copy of Infocube IC1. Multiprovider MP1 first only had IC1 in its design. It was recently IC2 was also included.
    I checked the Characteristics, all of them are assigned corectly.
    Now, this issue sure has something to do wiht the setting of Multiprovider or please correct me if wrong.
    Regards,
    Suraj S Nair

Maybe you are looking for

  • Sales/order to cash cycle

    Hi Friends, Can any once explain sales life cycle are OTC and sales life cycle is one and same. Could you please let me know where it integrates with FI.

  • Very Slow Copy Operation on HP Pavilion 15 p001tx

    Hi everyone. I recently bought the HP Pavilion 15 p001tx. Here are the Specifications if you need them Intel Core i5 4210U 1.7Ghz ,Turbo Boost to 2.4GHz 4 GB DDR3 RAM 1 TB HDD Nvidia Geforce 830M 2GB DDR3 My problem is with extremely slow copying/mov

  • How to output the outline parent-child relationship using a report script?

    I'd like to extract the outline's dimension members with it's parent-child relationship using a report script. Anybody can provide a sample script? Thanks. Example: DimensionX -----MemberX ----------ChildX Output: Dimension X MemberX MemberX ChildX E

  • Address translation for intranet access

    Hi, We are using iviews created using in SAP Web Dynpto iView template in SAP Enterprise Portal 7.0. Resently, we have migarated server from 32 bit machine to 64 bit machine. After migration We are facing some problem with web dynpro applications. We

  • Schnittstelle Lightroom 5 zu Photoshop CC funktioniert nicht mehr

    hi, seit heute morgen funktioniert die Foto-Übergabe von Lightroom 5.3 auf Photoshop CC nicht mehr reibungslos. Grundeinstellungen werden übernommen, Freistellungen, Verlaufsfilter und Radialfilter werden ignoriert. Wähle ich einen Freistellung so ex