Is there any BAPI for new appraisal module in SAP 4.7 ?

Hi,
In our company, we are using our own web-ESS Appraisal (employee self service on intranet), developed using Java. So we are using available standard BAPIs to exchange data between web-ESS and SAP.
But I notice for the new APPRAISAL module in SAP 4.7, we can’t use the standard old BAPIs anymore. SAP gives hundreds of new function modules related with the appraisal module, but none of them is remote-enabled module or BAPI. So how are we supposed to exchange data using our web-ESS? I don’t want to copy all the standard functions just to make it remote-enabled so I can use as a customized BAPI! Any idea?
Regards,
Irman

hI,
        There is no function module that can get you the Appraisal Result from OSA in one go.. You have to create a custom function that is a combination of delivered modules.. here os one that I created.. you pass the pernr & get back the rating..this is only for Performance Appraisals.. Some of the code I pasted may not be relevant..you can use my approach to meet your reqt..
  data: lt_appraisee       type standard table of hrpe_appraisees
                                with non-unique default key,
        lt_appraisal       type standard table of hrpe_appraisals
                                with non-unique default key,
        lt_pt1045_ext      type standard table of pt1045_ext
                                with non-unique default key.
  data: ls_key_objects     type hrwpc_s_keyobjec,
        ls_column_content  type hrwpc_s_keycolcont,
        ls_period          type hrwpc_s_ep_period,
        ls_validity_period type hrsel_period,
        ls_appraisee       type hrpe_appraisees,
        ls_appraisal       type hrpe_appraisals,
        ls_pt1045_ext      type pt1045_ext.
  data: l_subrc            type sy-subrc,
        l_otype            type otype,
        l_content          type hrwpc_s_keycolcont-content.
  data: w_content          type hrwpc_s_keycolcont-content.
  data: t_templates type hap_t_hrobject,
        rec_template type hrobject,
        t_appraisees type hap_t_hrsobid,
        rec_appraisee type hrsobid,
        rec_sel_with_or_without type hap_s_sel_with_or_without,
        rec_sel_status type hap_s_sel_status,
        rec_sel_dates type  hap_s_sel_dates,
        t_appraisal_id type  hap_t_appraisal_id,
        rec_appraisal_id type hap_s_appraisal_id,
        rec_bal_s_msg type bal_s_msg.
  data: w_apprsl_id type hap_appraisal_id,
        w_appee_id type hap_appraisee_id,
        w_rating type hap_value_num.
  constants:
           c_ap_id(8) value '50001379',
           c_fapp(4)  value 'FAPP',
           c_01 type hap_plan_version value '01',          
           c_p value 'P',
           c_va(2) value 'VA',
           c_pa type hap_add_on_application value 'PA'.
  constants: c_0101(4) value '0101',                       
             c_1231(4) value '1231'.                       
initialize export parameters
  clear: coltype,
         column_content[],
         column_content,
         sort_column_content[],
         sort_column_content.
set coltype
  coltype = gc_col_sortable.
get object type for persons
  perform re77s0(mstt77s0) using 'OTYPE'
                                 'PERNR'
                                 l_otype
                                 l_subrc.
  if l_subrc <> 0.
    l_otype = 'P '.
  endif.
get selection period
  call function 'HRWPC_EP_CALC_PERIOD'
    exporting
      keydate      = key_date
      years_past   = '01'
      years_future = '00'
    importing
      period       = ls_period.
  move-corresponding ls_period to ls_validity_period.
  concatenate ls_validity_period-begda+0(4) c_0101 into
                         ls_validity_period-begda.
  concatenate ls_validity_period-begda+0(4) c_1231 into
                         ls_validity_period-endda.
fill export table
  loop at key_objects into ls_key_objects where otype = l_otype.
    clear l_content.
    clear: rec_template,rec_appraisee,rec_sel_status,rec_sel_with_or_without,
           t_templates[],t_appraisees[],t_appraisal_id[],rec_appraisal_id.
    rec_template-plvar = c_01.
    rec_template-otype = c_va.
    rec_template-objid = c_ap_id.
    append rec_template to t_templates.
    clear rec_template.
    rec_appraisee-plvar = c_01.
    rec_appraisee-otype = c_p.
    rec_appraisee-sobid = ls_key_objects-objid.
    append rec_appraisee to t_appraisees.
    clear rec_appraisee.
    rec_sel_status-ap_status_1 = true.
    rec_sel_status-ap_status_2 = true.
    rec_sel_status-ap_status_3 = true.
    rec_sel_status-ap_status_4 = true.
    rec_sel_status-ap_status_5 = true.
    rec_sel_with_or_without-sel_display_existing = true.
    rec_sel_with_or_without-sel_display_without = true.
    rec_sel_dates-validity_from_date = ls_validity_period-begda.
    rec_sel_dates-validity_to_date = ls_validity_period-endda.
    call function 'HRHAP_DOCUMENT_GET_LIST'
      exporting
        add_on_application    = c_pa
        plan_version          = c_01
        t_templates           = t_templates
        t_appraisees          = t_appraisees
        s_sel_dates           = rec_sel_dates
        s_sel_status          = rec_sel_status
        s_sel_with_or_without = rec_sel_with_or_without
      importing
        t_appraisal_id        = t_appraisal_id
        s_return              = rec_bal_s_msg.
    if rec_bal_s_msg is initial.
      read table t_appraisal_id into rec_appraisal_id index 1.
      select value_num into w_rating
                          up to 1 rows
                          from hrhap_final
                          where plan_version = c_01
                            and appraisal_id = rec_appraisal_id-appraisal_id
                            and column_id = c_fapp.
      endselect.
      if sy-subrc eq 0.
        write w_rating to w_content decimals 0.
      else.
        clear w_rating.
      endif.
    endif.
    l_content  = w_content.                                 "SD1K909622
  fill column content structure
    clear ls_column_content.
    move-corresponding ls_key_objects to ls_column_content.
    ls_column_content-content = l_content.
    append ls_column_content to column_content.
  endloop.
endfunction.
Regards,

Similar Messages

  • Is there any BAPI for BOM creation? which does by RCSBI010 / Batch Input.

    Hi Experts,
    I need to Upload the extracted Excel-file(.txt) for BOM creation, so, pls, let me know that, Is there any BAPI for this purpose. In detail the requirement is that,
    The suggested idea shuld work as like as pgm. RCSBI010
    thanq
    Edited by: Srinivas on Feb 14, 2008 6:18 PM

    Hi Srinivas,
    Try these Function Modules
    CS_BI_BOM_CREATE_BATCH_INPUT   - Create BOM Via Batch Input
    CS_BI_BOM_CREATE_BATCH_INPUT1  - Create BOM Via Batch Input (Corrected Session Handling)
    There are two BAPI's too, which can be used
    ALE_MATERIAL_BOM_GROUP_CREATE
    BAPI_MATERIAL_BOM_GROUP_CREATE - Creation of a material BOM group
    Hoe this helps.
    Edited by: Priyabrata Samanta on Feb 15, 2008 3:56 AM

  • Is there any bapi for standard deviation

    is there any bapi for standard deviation

    You can use the function module
    1. 'QRKT_STD_DEVIATION_SHEWHART'-Algorithms for Shewhart chart for s with internal dispersion and mean line
    2.'QRKT_STD_DEVIATION_SHEWHART_2'- Algorithms for Shewhart chart for s with overall dispersion and mean line.
    You could also calculate it yourself of course - standard deviation is the square root of the sum of the square of the differences between the mean and each value divided by the number of values you have less one.
    Reward points..

  • Is there any BAPI for QE51 Tcode?

    Is there any BAPI for QE51 Tcode?

    Hi,
    I think there is no Bapi for this QE51.
    Just check the fun Modules:
    IEQCM_WORKLIST_CHECK
    IEQCM_WORKLIST_REALIZE
    IEQCM_WORKLIST_CONFIRM_STEP2
    IEQCM_WORKLIST_DELETE
    IEQCM_WORKLIST_GET_DETAIL
    IEQCM_WORKLIST_GET_LIST
    IEQCM_WORKLIST_SAVE
    IEQCM_WORKLIST_UPDATE_MODULE
    Regards,
    Anji

  • Is there any Bapi for Physical Sample creation

    Hi Folks,
    Is there any Bapi for physical sample creation. My scenario is like this I have the data in the table (material, plant, batch, type,vendor, vendorbatch ). For each material i have to create a  physical sample......
    Any ideas or suggestions would be appreciated..
    thanks
    chaithanya.

    HI Chaitanya,
    You can use : BAPI_BATCH_CREATE
    it has import paramaters like Material, Plant , batch , Batch Attributes ( Vendor No, Vendor Batch etc)... I guess this is what you are looking for.
    Regards,
    -Venkat.

  • Are there any bapi for create Business Partner

    Dear Sir,
    Do you know  are there any bapi for create Business Partner in CRM
    Please advise.
    Thank you and best ergards,
    Vimol

    Dear Vimol,
    BAPI_BUPA_CREATE_FROM_DATA     ......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA  .......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA2 .......SAP BP, BAPI: Create Business Partner
    Hope this will help.
    Regards,
    Naveen.

  • Is there any BAPI  FOR TASKLIST CREATION OF ANY EQUIPMENT ?

    Dear Sir,
    Is there any BAPI  FOR TASKLIST CREATION OF ANY EQUIPMENT .
    Thanks.
    Regards,
    Pooja Joshi.

    Hello Pooja
    Perhaps the following link may be useful:
    <a href="http://www.sapfans.com/forums/viewtopic.php?p=906052">FAQ: Plant Maintenance and Customer Service BAPIs</a>
    Regards
      Uwe

  • There is Tcode CU51which is for Order BOM ,Is there any BAPI  for OrderBOM.

    Hi All,
    There is Tcode CU51which is for Order BOM , So is there any BAPI for that Ordre BOM
    pls can you help me
    thanks
    mars

    Hi,
    Refer These links:
    https://forums.sdn.sap.com/click.jspa?searchID=13707386&messageID=5726376
    https://forums.sdn.sap.com/click.jspa?searchID=13707605&messageID=4868211
    Regards,
    Shiva Kumar

  • Is there any BAPI for Upload Documents of WBS elements?

    Hi Guys,
                 Can anbody tell me is there any BAPI for Uploading Documents  of WBS elements ?
    Thanks,
    Gopi.

    hi
    check these BAPI
    Change WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_CHANGE_MULTI           
    Create WBS Elements Using BAPI 
    BAPI_BUS2054_CREATE_MULTI                                                               
    Delete WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_DELETE_MULTI                                                               
    Detail Data for WBS Elements                                                                               
    BAPI_BUS2054_GETDATA                                                                      
    Reading the GUIDs using the WBS Key
    BAPI_BUS2054_GET_GUID_FROM_KEY                                                     
    Reading the WBS Key using the GUIDs                                              
    BAPI_BUS2054_GET_KEY_FROM_GUID                                                                               
    Check Existence of a WBS Element                                                 
    BAPI_PROJECT_EXISTENCECHECK                                                                               
    Element                                                 
    thnks
    sitaram

  • Is there any bapi for salary

    hi all,
    is there any bapi for salary

    hi,
    BAPI_ACC_EMPLOYEE_PAY_CHECK    Accounting: Check Vendor Acct Assignment for HR Posting
    BAPI_ACC_EMPLOYEE_PAY_POST     Accounting: Post Vendor Acct Assignment for HR Posting

  • Is there any Bapi for assigning CreditcontrolArea to Salesarea

    Hi Experts ,
        Is there any Bapi for assigning CreditcontrolArea to Salesarea
          Thanks in advance

    Hi Mugu,
    WELCOME TO SDN.
      refer to the BAPI below:
    BAPI_MATERIAL_GETBATCHES
    Create Batch List for a Material
    to display:
    BAPI_MATERIAL_DISPLAY Display Material
    refer to the link below for other BAPI's:
    http://www.sapbapi.com/bapi-list/
    With luck,
    Pritam.

  • Is there any BAPI for FBS1 Transaction

    Hi,
    Is there any BAPI for FBS1 transaction instead of using BDC.
    Regards,
    Aravind

    Hi Aravind ,
    I'm afraid that it's not possible to do it through BAPI ( because of he specificity of this txn ), you have to use either RFBIBL00 or your own BDC.
    Hope this helps,
    Erwan

  • Is there any BAPI for trnx VDH1 or VDH1N?

    Is there any BAPI for trnx VDH1 or VDH1N?

    You can use FM 'BAPI_CUSTOMER_HIERARCHIE_INS' to create product hierarchy(VDH1N).

  • BAPI's for Transaction Manager: Is there any BAPI for Stock Options

    Hi gurus,
    We are using almost every BAPI for Transaction Manager module at FSCM-Treasury & Risk Management (ECC 6.0).
    We have forex swaps, forex forwards, forex spot deals, interest rate swaps, cross currency swaps, equity swaps, and we also have a stock options plan.
    We need to use a BAPI to automatically create stock options, importing data from other stock options alreaedy created (manually, by the user) in the system.
    Do you know if there is any specific functionality for this?
    Thanks in advance and kind regards.
    Borja

    Hi Borja,
    if I understand you correct then you want to create a stock option like you can do it manually with the transaction FWZZ. Try the BAPI BAPI_FP_CREATEFROMDATA. With this function module it is possible to create different types of securities like listed options or futures too.
    Regards
    Robert

  • Is there any BAPI for closing projects through CJ20 transaction?

    Hello Experts,
    Is there any BAPI available for the CJ20 transaction to try close a project? I have been trying to locate one but haven't came across anyone. Please do let me know if in case any of you happen to know about 1 such BAPI.
    Regards,
    Uday

    Hi,
    A project definition can be changed using the BAPI "BAPI_BUS2001_CHANGE". To do this, the project definition (PROJECT_DEFINITION) and the new values must be entered in the structure "I_PROJECT_DEFINITION". In the structure "I_PROJECT_DEFINITION_UPD", the fields that are to be changed must be marked with 'x'. The other fields remain unchanged. Before the project definition is changed, the following is checked:
    Is another project already being processed in the LUW ?
    Can the project be locked?
    Is the changed data still consistent (do the company code and controlling area match?)
    If all checks are successful, the project definition is changed in the document tables.
    for example:
    CALL FUNCTION 'BAPI_BUS2001_CHANGE'
      EXPORTING
        I_PROJECT_DEFINITION           =
        I_PROJECT_DEFINITION_UPD       =
    " TABLES
    "   ET_RETURN                      =
    "   EXTENSIONIN                    =
    "   EXTENSIONOUT                   =
    Thanks,
    Dhruv Kumar Malhotra

Maybe you are looking for

  • Campo Valor Venda

    Bom dia, Estou com uma dúvida, na transação FD32, existe um campo "Valor Venda". Neste campo fica um valor que está "bloqueado" para o cliente. Por exemplo: Um cliente possui esse campo Valor Venda = 16.036,32 Este valor, ele vem da onde? 1- Quando e

  • Can no longer use apps in newest itunes

    I just (unfortunately) upgraded to itunes 12.01.  After a frustrating period trying to figure out where the repeat button went, I can now find no way to use apps in itunes when my phone is synced.  In the old version, I'd go to the phone tab, hit "ap

  • Can't scan to email

    All functions on my photosmart 7520 work, except the scan to email function. I have tried everything. Please help.

  • 1st Generation AppleTv with red images and disconnecting

    Hello, My AppleTv has been working with absolutely no problems until today. I went to turn it on and the tv blinked from static to black every few seconds. I pushed the Menu button on my remote to see if it helped anything and I finally was able to s

  • PrintWriter strange behaviour

    PrintWriter outputStream = new PrintWriter(new FileWriter(filenameOut)); BufferedReader inputStream = new BufferedReader(new FileReader(filenameIn));I create a PrinterWriter like so, then I read a line of text from a text file using a BufferedReader