OSA - Value Determination BAdi

Hi All,
How to use the Value Determination Badi to read the rating from external source? for example, read from excel file.
Any sample code can share?
Thanks in Advance!
Best Regards,
Vince

Hi Amin
Very simple steps to follow.
U have to populate codes in each of the methods of the BADi by copy paste from standard BADi.
Or U can do one thing.Go to the standard BADi.Write down the name of the class.Then go to SE24.Create a sustom class by coping the standard Class and attach the custom class to Ur custom BADi.
for Example lets say I want to use std BADi HRHAP00_VAL_DET_002.Then I'll create a class called ZCL_IM_HRHAP00_VAL_DET_002 by coping the class CL_IM_HRHAP00_VAL_DET_002 in SE24 and Attach the custom class to my custom BADi.
Then just activate the BADi and done...
This will definitely solve Ur prb as I was also facing the same prb and solved it in this way.
Award points accordingly.

Similar Messages

  • Performance Management EhP4 -- Value determination BAdi

    What does the value determination BAdi do? How do you make it available in the appraisal document? I created a Z of the delivered value determination BAdi (hrhap00_value_det) and I also created in the enhancement areas (using oohap_basic). In the appraisal template I do not see them and I am not able to configure it

    Steps that you need to take care when you create the Z of this BADI.
    1.  Create the Z- BADI.
    2. Include this BADI in your enhancement area in OOHAP_BASIC.  It might be for the appraisal template, criteria group or criteria itself.
    3. Once included in the enhancement area you should go to PHAP_CATALOG_PA and include this BADI in the Category and Category group of the template in question.
    4.  After including this in category, you should go to the template in question and whichever COLUMN you need this BADI to calculate, just do an F4 on that column value determination field. You should be able to find it in the list. Use it.
    Hope this helps.
    Best Regards.
    Karan.

  • Value determination in Appraisal

    Dear Friends,
    I have created a quality scale which is like  Everage --good-- excellent. this has to be come as a drop down value in the portal.
    what is did is, I create a scale like ablove mentioned and create a column in the tample. now i want to assige this value for that column, i have done that in the element level.
    but in portal still i did not get the scale value as a dropdown value  againts the  column. what i did wrong? do i want to write value determination badi and has to attached in the column?
    Pls advise me.
    Regards,
    Saritha

    Hi Andy,
    i have assigned the scale to the colum. my required is the scale value ( everage- good-- excellent ) should come as a drop down list in the portal.
    But in the configuration , as u said I tried all value input like ( no entry) and the (no note ). My doubt is wether I need to create value determination badi for this?
    regards,
    Saritha

  • Column - Value determination

    Hi,
    I am new to SAP HCM PMS. I want to configure template as shown below:
    Tasks to be performed:
    Task -1     Deliverable      Actual-achievement     Rating (Rating should be calculated as per Actual achievement against Deliverable)  
    Task -2     Deliverable      Actual-achievement     Rating (Rating should be calculated as per Actual achievement against Deliverable)
                                                                           Overall Rating(Average of above Ratings)
    For the above requirement, what columns and respective value list & value determination can be used.
    Furthermore, I am getting warning message"Value determination 'Value Determination - Overall Result (Weighted)' without dependent elements is of limited use" when I use Value determination as "TOTALERC" for Final Appraisal.
    Kindly assist me in this regard.
    Thanks and Regards,
    Harish

    Hi,
    I know it's a bit outdated, but in case someone looks for the anwser I post it here. All you need to do is to implement method CUST_CHECK_EXECUTABILITY of your BAdI (HRHAP00_VAL_DET) specifying which columns it might be assigned to i.e. for FAPP:
       read table t_pt5022 with key column_id = 'FAPP'
                                     transporting no fields.
       if sy-subrc = 0.
         executable = 'X'.
       else.
         clear executable.
    endif.
    Now you are able to assign this BAdI implementation to FAPP column.
    Regards
    Marcin

  • SAP HR appraisal template - value determination: set texts

    Hi experts,
    I'm implementing SAP HCM - Performance Management and I have the following requirement.
    In a specific column I want to use the badi implementation for value determination and set a text value (for example: "ROCE"). Is it possible to set a text value in the field? It's working only for number values (I don't want to use the cell note)
    Thanks in advance.
    Cheers,
    Andre Sousa
    Edited by: Andre Sousa on Mar 17, 2010 3:27 PM

    Anyone?

  • Partner Determination BADI

    Hi ,
    I want to determine the partners for a contract based on its item level attribute.  I am not sure which Partner Determination BADI gets triggered when an item level attribute gets filled. let me know what are the filter values to be used .
    And also suggest me how to fetch the user selected item level attribute inside the badi. Is there any call back classes that can be used inside Partner Determination BADI.

    Hi Praveen,
    Here lt_rel_sp holds list of partners that needs to be filled in UI.
    INSERT LINES OF lt_rel_sp INTO TABLE lt_collected_relations.
    LOOP AT lt_collected_relations ASSIGNING <fs_relation>.
    CLEAR ls_found_partner.
    *     Partner has information on relationship, so store relation partner
          CALL FUNCTION 'COM_PARTNER_CONVERT_GUID_TO_NO'
            EXPORTING
              iv_partner      = <fs_relation>-partner2
            IMPORTING
              ev_partner_guid = ls_found_partner-relation_partner
            EXCEPTIONS
              OTHERS          = 0.
          ls_found_partner-no_type = 'BP'
          ls_found_partner-partner_number = <fs_relation>-partner2.
    *Check, if partner is already in com-table
        READ TABLE et_found_partners TRANSPORTING NO FIELDS
          WITH KEY partner_number = ls_found_partner-partner_number.
    IF sy-subrc <> 0.
       INSERT ls_found_partner INTO TABLE et_found_partners.
    ENDIF.
    endloop.

  • 217 Error in quantity/value determination

    Hi experts,
    In my pricing procedure the condition type VPRS is showing 0 value.
    In analysis it is showing error: 217 Error in quantity/value determination.
    Can you please tell what can be the problem? How dose VPRS work? I only know that VPRS is taken from the material master.
    Regards
    Fan

    Hi
    VPRS retrives the cost of the Material from the material master data > Accounting 1 tab to the Sales order.
    Once the cost is found, then Profit margin  (Net value - cost) is calculated.
    VPRS does not contain any Access sequence.
    With the help of its Condition category "G", it accesses the Material master > Accounting tab 1 and takes cost.
    There may be two cost specified in the Material master. They are
    - Moving Avarage Price
    - Standard Price
    Which one system will consider that depends upon the "Price control" field.
    If the value is "V' in the Price control field, the system takes the "Moving Avarage Price" and if it is "S", then system takes the "Standard Price".
    So, you must ensure these few control
    - VPRS should  NOT have any Access sequence.
    - Condition category "G" must have been assigned to VPRS.
    - VPRS must have been activated as "Statistical" condition in the Pricing Procedure and should not have any Account key.

  • Error in Quantity Value Determination

    Hi all,
    I am creating an invoice with respect to an intercompany PO. In the invoice, I am getting an error "Mandatory condition VPRS missing". When I check the analysis, I could see a message "Error in Quantity Value Determination"
    In the preceeding PO, when I checked the P101 Condition type, it also displays the same message "Error in Quantity Value Determination". However, when the value of P101 is manually maintained, --> PO saved --> invoice cancelled and --> Invoice recreated, no error in SD invoice is seen. Evident that problem is in MM.
    Please share your views and help me in solving this issue
    Regards,
    Rajesh

    Dear Jürgen and Praveen,
    Material master valuation price is maintained. What actually the error "Error in Quantity Value Determination" mean?
    Regards,
    Rajesh

  • Error in Quantity/Value Determination  : VPRS (IV)

    Gurus,
    When I am creating an IV (Intercompany Invoice), I am getting an error in VPRS determination in pricing. VPRS is not getting determined and it throws up an error saying "Error in Quantity/Value determination" (Error number 217)
    Need you help on the same
    Regards
    Leo

    Lakshmipathi,
    Pricing procedure is defined as you indicated. It is all standard. VPRS is getting determined for other materials for IV. Only for this specific material it is a problem.
    The error says as below
    Diagnosis
    "This condition has not been determined using condition records. The amount or value should be determined from another data source. For cost (condition category 'G') it is read using conditions from the material valuation segment, for a cash discount condition it is read using conditions from the terms of payment table.
    In this transaction an error occurs - the material valuation segment or the terms of payment table could not be read or a currency translation has failed."
    Any idea
    Regards
    Leo

  • Lowest value determination based on movement rate

    Dear Experts,
    in lowest value determination,what are
    1. based on range coverage(mrn1)
    2. based on movement rate (mrn2)
    formula for this is : total recipts / qty in stock * 100 = say is 10%
    if less than 15% then that deval % is applied(deval % is specified in Config).
    now where do we specify this 15 %
    Kind Regards
    Sajid

    Any Answers Please!!!!!!!!

  • Lowest value determination including delivery costs

    Hi friends,
    is it possible to include delivery costs (as freight costs FRA1 and FRB1) in the lowest value determination MRN0 when comparing order prices as market prices?
    Best regards,
    Carsten

    HI,
    I have done this configuration to go to different GL Account
    Example --for Freight(Seperate GL Account)
    My requirement is
    In PO
    Material X       100/-    Cost centre-1024
    Material Y       200/-    Cost Centre-1025
    Invoice is
    Material X       100/-   
    Material Y       200/-  
    Unplanned Delivery costs 30/-
    After Posting MIRO it should come this way...
    Material X       100/-   CC-1024
    Material Y       200/-   CC-1025
    Freight -charges- 10/- CC 1024
    Freight -charges-20/-  CC-1025
    (Freight charges should go to different GL Account and also splitting the costs based on the PO item value)
    could you please help me how this can be done.

  • Lowest value determination

    Dear Experts,
    in lowest value determination,what are
    based on range coverage(mrn1)
    based on movement rate (mrn2)
    formula for this is : total recipts / qty in stock * 100 = say is 10%
    if less than 15% then that deval % is applied(deval % is specified in Config).
    now where do we specify this 15 %
    Pls give solution.
    Kind Regards
    Sajid

    Hi
    Is it the exception rule you are checking in MRN1 - exception rules - %?
    Thanks

  • Determine BADI from Enterprise Web Service?

    Hi all,
    We've just started to work with Enterprise Web Services and have a need to enhance one of them.  Using ES Workplace we have identified the 'Read Purchase Order' as a candidate and want to see what capabilities exist in making minor changes.  The resources that we have found so far that detail this involve implementing a BADI.
    My question is, how do we determine what the BADI is for each enterprise web service?  I do not see a BADI name listed in the es workplace page for the web service.  Is there a tcode on the ECC system that can use one of the values listed from the es workplace page?
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=32D255D472EA11DA36BB000F20DAC9EF

    Hello,
    BADI's relevant for each Web Service is provided at ES Workplace. For example,  PO Query Web service definition ECC_PURCHASEORDER002QR, BADI is PUR_SE_PURCHASEORDER002QR which is mentioned in the link:
    http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=32D255D472EA11DA36BB000F20DAC9EF
    I hope you may also search BADI's in SE18 using wild search 'PURCHASEORDER002QR'.
    Thanks,
    Venu

  • Variable Value for BADI

    Hello Forum
    We have an issue with BADI implementation.
    We have a key figures in query are restricted to a user exit variable for calendar month (as current month and previous month) and fetches results.
    Now due to some requirement we need to check if the "Cal Month" determined is current month or the previous month and return a value.
    We have implemented a BADI for the same reason to determine this however can anyone please let us know how can we use the value of a user exit variable in the query can be used in BADI ?
    Thanks & Regards
    Ashish

    Hello Shani Bashkin 
    You don't need EXIT_SAPLRSBBS_001, you need EXIT_SAPLRSBBS_002
    Here goes:
    You go to se18 select SMOD_RSR00004 then you go to Implementation->Create
               then you create a BADI implementation with the name Z*something_something. The system then brings you to the SE19 definition of BADI implementaition you there see both of the RSBBS exit, in methode form EXIT_SAPLRSBBS_001
    EXIT_SAPLRSBBS_002
    You select the second one EXIT_SAPLRSBBS_002 double click on it, it brings u to abap code Method .....End method U then insert this code and adapt it to your usage. Activate everything, go to smod find the exit RSR00004 activate everything there with the magic WAND, got o rsrt generate and debug, u then should pass in that code and then use some imagination, thats all folks!!!!
    DATA: I_THX_MAPPING_WA TYPE LINE OF RSBBS_THX_MAPPING,
          E_THX_MAPPING_WA TYPE LINE OF RSBBS_THX_MAP_BY_EXIT,
          I_RANGE TYPE RRRANGESID,
          I_DATE LIKE SY-DATUM,
          E_TT(2).
    DATA: l_s_thx_mapping type rsbbs_sx_map_by_exit,
          l_s_range       type RRRANGESID.
    FIELD-SYMBOLS:
          <l_sx_mapping>  TYPE rsbbs_sx_mapping.
    IF I_S_RECEIVER-RONAM = 'IW29'.
    read table i_thx_mapping ....
    PS: You need to Have ITS installed and configured and your web server maintained for BW to R/3 connect

  • How to get value in BADI

    The internal table have values,but I can't read it.How to I get value from internal table in BADI?

    Hi
    Call the related method .
    that method returns some internal table with values.
    use it as usual like how we use in coding. by reading it.
    see the sample code:
    BAdI Name: ZCHECK_PO_LINE_ITEM (Implementation name) PO Account assignment
    Definition Name: ME_PROCESS_PO_CUST
    Interface Name : IF_EX_ME_PROCESS_PO_CUST
    Implementing Class: ZCL_IM_BADIN_ACCOUNT_ASSGN
    Method :            PROCESS_HEADER
    METHOD if_ex_me_process_po_cust~process_header .
      DATA : re_data TYPE mepoheader.
    *get the item data
      CALL METHOD im_header->get_data
        RECEIVING
          re_data = re_data.
      re_header = re_data.
      IF ( re_data-bsart NE 'ZOC' AND re_data-bsart NE 'ZPC' ).
        IF ( re_data-bsart <> 'ZIC' AND re_data-bsart <> 'UB' ).
          IF re_data-bukrs NE '1001'.
            MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'Use only Sipchem Company'
                                            'Code for External Procurement'.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    Method :            PROCESS_ITEM
    METHOD if_ex_me_process_po_cust~process_item .
      DATA: v_menge TYPE bamng,   " PR Quantity
            v_statu.              " PR Status
      DATA : re_data TYPE  mepoitem,
           re_data1 TYPE mepoaccounting,
    re_accountings TYPE purchase_order_accountings ,
    header TYPE purchase_order_accounting.
    *get the item data
      CALL METHOD im_item->get_data
        RECEIVING
          re_data = re_data.
      IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
        IF re_header-bsart EQ 'ZRL'.
          IF re_data-konnr EQ space.
            MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant create a Release order'
                                                         'without a reference to Outline Agreeement'.
          ENDIF.
        ENDIF.
    IF ( re_header-bsart NE 'ZOC' AND re_header-bsart NE 'ZPC' ).
        IF ( re_data-banfn EQ space AND re_data-anfnr EQ space ).
          MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You can create a Purchase order'
                                                         'only with reference to a PR or RFQ'.
        ENDIF.
    ENDIF.
    call method IM_ITEM->GET_ACCOUNTINGS
       RECEIVING
         RE_ACCOUNTINGS = RE_ACCOUNTINGS.
    **get the accounting reference variable,this reference is needed to get
    **the GL account *number and Asset number
    *loop at RE_ACCOUNTINGS into header.
    **get the accounting info.
    call method header-ACCOUNTING->GET_DATA
       RECEIVING
         re_data = re_data1.
    **if the account assignment is K then check for GL account
    **if its A then check for Asset number
    if re_data-KNTTP eq 'K'.
       if re_data1-SAKTO IS INITIAL.
         MESSAGE ID 'ZM_MSG'
           TYPE 'E' NUMBER '000' WITH 'Enter G/L account'.
       ENDIF.
    ELSEIF re_data-KNTTP eq 'A'.
       if re_data1-ANLN1 IS INITIAL.
       MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'Enter Asset Number'.
       ENDIF.
    ENDIF.
    *endloop.
        IF re_data-knttp NE 'K' AND re_data-pstyp NE '9' .
          IF syst-cprog EQ 'RM_MEPO_GUI'.
            IF re_data-uebto IS NOT INITIAL OR
               re_data-uebtk IS NOT INITIAL OR
               re_data-untto IS NOT INITIAL.
              MESSAGE ID 'ZM_MSG' TYPE 'E' NUMBER '000' WITH 'You cant change delivery settings'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    Checking  PO quantity with PR Quantity
    select single statu menge into (v_statu, v_menge) from eban
       where banfn = re_data-banfn and
             bnfpo = re_data-bnfpo.
    if v_statu <> 'B'.
       if re_data-menge gt v_menge.
        message e000(zm_msg) with 'You cant create PO exceeding' 'the PR Quantity'.
       endif.
    else.
      MESSAGE e000(ZM_MSG) WITH 'You cant create a PO with reference' 'to Completed PR'.
    endif.
    ENDMETHOD.
    Reward points if useful
    Regards
    Anji

Maybe you are looking for

  • Hp PSC 750Xi Won't work properly in windows 8.1 ???

    I just updated from windows 7 to 8.1 and now I cannot get my Hp PSC 750xi working right...It says error everytime I go to print something and then it prints the first couple inches and thats it.. I have reinstalled the drivers over and over and  ran

  • Software for the HP SimpleSave md1000h External Hard Drive

    Hi everyone, this is my first time posting a question, so i got a hp simplesave md1000h external hard drive that it was given to me by a friend it was working fine, couple weeks ago i let my aunt do a back up on her computer and when i got it back on

  • How do I get to my launchpad features after downloading a new app?

    HHeelllppp!  Whenever I download a new app, my launchpad turns into a catalog of my apps and the apps normally shown by the launchpad (including the App Store) are nowhere to be found.  The only recovery I have found is a re-boot.  Where have the lau

  • Xmonad, xorg 1.9, and catalyst-test

    Hi guys, I'm running xorg 1.9 and catalyst-test on my HP Envy 15 (which contains a Radeon Mobility 5830.)  Almost everything works; nothing strange appears in /var/log/Xorg.log or glxinfo.  It's clear that my hardware acceleration is fine because I'm

  • Use AirPort Express to extend Verizon FiOS WiFi signal

    I have been having trouble with low/no signal strength from my FiOS router at the far end of my house where my main TV is located. I just tried to plug in my AirPort Express midway between the two, but can't get the Utility to recognise the FiOS netw