Pricing BADI

Hi All,
When creating a CRM sales order, I have a 'Z' condition type which gets automatically called. This condition types needs to access some ZZ-Fields which I have added to catalog. But in pricing analysis one can see that system was not able to pick values for these fields, though I have code to populate these fields in BADI. Also, control does not stops when putting break-point in this CRM_COND_COM_BADI.
Please suggest what can be the issue here and anyway I can find out if the BADI is being called also or not.
Thanks in Advance,
Indi

Thanks for your input, however BADI implementation is very much active. Do I need to set some parameters or somewhere publish that this BADI should be used for these Z fields or does it happen automatically. Please advice.
Thanks,
Indi

Similar Messages

  • Std Order Pricing - BAdI

    Hi Experts,
    Is there a BADI implementation available to over-ride the Pricing (netvalue, subtotals) in CRMD_ORDER -> Std Order?
    Thanks, Jin

    Thanks PP.
    Sorry I did not make it clear, actually I'm looking for the BAdI CRMD_ORDER Std Order when hit Enter key with product / qty entry (I checked PCAT_CNDPRICE is not there).  In the BAdI I need to RFC the pricing from ECC to fill the price fields (netvalue, subtotals ..).   How about CRM_PRICING_BADI and CRM_PRICING_I_BADI, but I can't find netvalue, subtotals fields in Chaning.  Any documentation/advise?
    Thanks, Jin

  • CRM Pricing - BADI to Populate pricing conditions fields

    Hello All,
    We have CRM 5.0 installed in our customer.
    We are facing problems when we tried to replicate the pricing  from R/3.
    Basically, all Brazilian formulas we have in R/3 are Z. We tried to replicate them in JAVA (IPC) with no success. At this time, it is imposible for us to move to the standard because of the decision of the business.
    We are trying to find one BADI where we can populate all the pricing conditions retrieved via RFC from R/3. Unfortunatelly we don't have good luck with this.
    Our idea is to use this BADI to call R/3 and retrieve the conditions needed, and then populate the CRM pricing fields..
    Could you please help us? Do you have any other idea to solve this issue?
    This is very critical for us.
    Thanks in advance.
    Martin

    Hi Ntk,
    Thanks for your reply.
    I tried to search in se18. I found one BADI that runs when users enter new materials or changes the quantity of the sales order.
    This one  does not help us too much, because when you go to conditions tab (into CRMD_ORDER or via ICWEB) all conditions are redetermined with the pricing determined in IPC.
    We want to fill the conditions of the sales orders or the sales quotations at running time. In the BADI we would use the function module RFC SD_SALESDOCUMENT_CREATE (in simulation mode) in R/3 and retrieve all conditions fields and then populate the pricing conditions in CRM.
    Do you know any BADI with this behaviour? Or another similar?
    THANKS!

  • Opportunity Pricing - BADI

    Hi,
       Is there a BADI implementation available to over-ride the Pricing in the Opportunity Document.
       We are maintaining Prospects without Sales Area Views. Because of this we do not get IPC pricing in the Opportunity transaction. We had created a Z field in Mobile to manage this. Now, we want to replicate this functionality in PCUI.
    Thanks,
    Ranjan.

    Hi Ranjan,
    In the BAdI call the function module CRM_ORDERADM_H_READ_OB and pass the IV_REF_GUID from the BAdI to the FM. The return structure (ES_ORDERADM_H_WRK) of FM would contain the transaction type. Note that this FM will return the transaction type even before the transaction is saved to the database. Sample code is as below:
      CALL FUNCTION 'CRM_ORDERADM_H_READ_OB'
        EXPORTING
          IV_GUID                       = IV_GUID
        IMPORTING
          ES_ORDERADM_H_WRK             = LW_HEADER
        EXCEPTIONS
          PARAMETER_ERROR               = 1
          RECORD_NOT_FOUND              = 2
          AT_LEAST_ONE_RECORD_NOT_FOUND = 3
          OTHERS                        = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Let me know if this helps!
    Jash.

  • BAdI for replacing CRM Pricing

    Hi Experts,
    I have a requirement to make a RFC call to retrieve the pricing from ECC/Vistex in CRMD_ORDER transaction after hit enter key with product/qty entry. I'm searching a BAdI for CRMD_ORDER (so many BAdIs for this TC) that can RFC by customer/material to retrieve the pricing from ECC then overwrite CRM's pricing with it (at least has customer/material as importing and subtotals as export/changing). Can anyone please advise if there is a BAdI for this purpose?
    Thanks in advance, Jin

    In CRM_PRICING_I_BADI-MERGE: there are netvalue/price and subtotals in Importing IU/S_PRICING_I_WRK, but not in Changing CS_PRICING_I_BADI. 
    In CRM_PRICING_BADI-MERGE: there are none of them. 
    Why PRICING BADIs have no Pricing fields that can be changed? I think I'm missing something here.  Any advise / documentation?
    Thanks, Jin

  • Pricing date change on service order when creating confirmation.

    Hi gurus,
    I want  to change the pricing date (and recalculate prices)on service order to the date confirmation is created from the service order.I would like to know if this can be achieved by copy control BADI or order save BADI or pricing BADI ?
    Please  guide if anybody has already achieved this functionality.
    Thanks
    Dona

    Hi Dona,
    Pricing manipulation for an order can be done by using CRM_PRICING_BADI.Use the method CRM_PRICING_MERGE, here you can use the changing parameter CS_PRICING_BADI to change the pricing data.
    Hope it helps you.
    Regards,
    Shweta

  • Contract determination on change of Price List Type on Pricing Tab for item

    I need to to re-trigger the Contract determination for a document item when the price list is changed.  Currently the only BADI i can see this working with is the pricing Badi.  The only issue is that I get a linking error when going from no assignment and then changing it so that the item then has a reference to an item on the contract

    Dear All,
    I have fulfilled this by doing rev acct determination in vkoa using item category and moving it up the order. Also I used a requirement in v/08 for 100% discount on free material.
    This has resolved my issue and i am now closing this thread.
    Thanks and Regards,
    Rohan
    Edited by: Lakshmipathi on Apr 2, 2011 10:53 AM
    Since you have arrived at a solution, please change the status of the thread to "Answered"

  • Import purchase-EXIT /BADI

    Dear All,
    Scenario:
    In import PO you are well aware that CVD condition types are used...now against these condition types we can maintain Custom vendor code (directly in PO or can flow from any condition record)...now we have four custom vendor codes in our system...user wants that in header level in PO they will enter a certain data in a customized field...based on that entered data system will automatically determine the custom code against the custom condition types i.e. lets say if user enter A at that customized field then system will automatically determine the custom code for Kolkata against the custom condition types or if user enter B at that customized field then system will automatically determine the custom code for Mumbai against the custom condition types.
    Questions:
    Whether any Exit / BAdI present in the system to solve this scenario?What will be the logic?
    Regards,
    Indranil

    Hi Indranil,
    Try these exits:
    Enhancement     LMEKO001     Extend communications structure KOMK for pricing                    
    Enhancement     LMEKO002     Extend communications structure KOMP for pricing     
    Badi:                
    ME_DEFINE_CALCTYPE                         Control of Pricing Type: Additional Fields
    Thank you,
    Thanks,
    AMS

  • User exit or Badi for VF11

    Hi,
    Can anybody suggest me
    Any User-exit or Badi name for VF11 tcode (Billing cancellation)
    Moderator Message: Search before you post and ask your questions in the right forum.
    Edited by: kishan P on Feb 11, 2011 3:11 PM

    Hi
    Exit
    SDVFX001 User exit header line in delivery to accounting
    SDVFX002 User exit for A/R line in transfer to accounting
    SDVFX003 User exit cash clearing in transfer to accounting
    SDVFX004 User exit G/L line in transfer to accounting
    SDVFX005 User exit reserves in transfer to accounting
    SDVFX006 User exit tax line in transfer to accounting
    SDVFX007 User exit: Billing plan during transfer to Accounting
    SDVFX008 User exit: Processing of transfer structures SD-FI
    SDVFX009 Billing doc. processing KIDONO (payment reference number)
    SDVFX010 User exit item table for the customer lines
    SDVFX011 Userexit for the komkcv- and kompcv-structures
    J_3RSINV Userexit for the komkcv- and kompcv-structures
    V05I0001 User exits for billing index
    V05N0001 User Exits for Printing Billing Docs. using POR Procedure
    V60A0001 Customer functions in the billing document
    V60P0001 Data provision for additional fields for display in lists
    V61A0001 Customer enhancement: Pricing
    BADI
    BADI_SD_SALES_BASIC
    BADI_SD_TO_FM
    BADI_SD_BILLING
    Ranga

  • IPC:How to get  ITM_TYPE val in java PricingExit?

    hi friends,
    I have to write a requirement formula in the pricingexit of IPC. I need the value of item type (Item Category) of a CRM document. However i can't find any methods like
    "getItemType" or something like that.
    Does anybody know how to get the value of item category of an item of a CRM document ?
    Or as an alternative way of reaching the same item type value :
    does anybody know the way to add new attributes coming from CRM to IPC? i may add a new field in pricing (ZZITM_TYPE)and fill it in the pricing BADIs of CRM system. After that, I may read the value of ZZITM_TYPE in the IPC pricingexit under
        public boolean checkRequirement(IConditionFindingManagerUserExit item,
      IStep step, int reqNo) {
            switch (reqNo) {
                case 911:
        // how to read the value of item category of
        // an item of a CRM document(bussiness transaction)
        // right here ??
      thanks in advance for your interest and valuable help.
      Mehmet Karasu
      Arista Consulting

    Hi Mehmet
    You are right with your "alternative".
    All attributes needed for pricing should be added to the field catalog (and thus the communication structure). You can fill the communication structure value via the BAdi CRM_COND_COM_BADI.
    Once you have done this and checked it in the ABAP debugger, you need to explicitly provide that attribute to your routines:
         public String[] determineRelevantAttributesForScaleBaseFormula(boolean headerAttributes,
                                                int scaleBaseFormulaNo) {
    //           Header?
              if (headerAttributes) {
                   // KOMK fields
                   return new String[] { };               
    //           Item
              else {          
                   return new String[] { "ZZITM_TYPE" };
    And then you can read it like any other attribute in your routine 911:
    String itemCategory = prItem.getItemAttributeValue("ZZITM_TYPE").getValue();
    Cheers
    Dom
    More info here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/107adc1a-0501-0010-de8e-973e0fb4049b

  • Error while adding items to shopping cart

    We have SRM Server 5 with integrated ITS. We are at patch level - Basis/ABAP at 12 & SRM at 5 (all latest).We have an error as below.
    We are able to login & go till "Shopping Cart". But when we try to add an item quantity through the path
    -Shop->Internal Goods/Services->Start->Laptops->Quantity(1), it throws an error as
    "The URL http://<host.domain-name>:8000/sap/bc/gui/sap/its/bbpsc02/~flNUQVRFPTI3OTcyLjAwMy4wMi4wMQ== was not called due to an error."
    It also gives a dump in ST22 as
    Runtime Errors         UNCAUGHT_EXCEPTION 
    Except.                CX_BBP_PD_ABORT    
    Only thing I am not sure of the configuration is the table entries in TWPURLSVR.
    Would appreciate a quick response.
    Regards, Sameer

    Sameer-
    I want to clarify a point made by Vadim regarding the use of IPC.  IPC is NOT mandatory for SRM if you are only using the EBP component in classic mode - in the short term this can make things easier to deal with.  If are not in classic mode then you must address your IPC issue.
    See OSS note 539720 for all requirements to utilize simplified pricing w/out the IPC.
    The solution per the OSS note is listed below:
    'Simplified pricing (classic scenario)' is available as of SRM Release 2.0 Support Package 03.  If you want to use simplified pricing, you must also carry out the following steps:    
    a) ACTIVATE implementation of BBP_PRODUCT_PRICE in the BBP_PRICEDATA_READ BADI
    b) DEACTIVATE implementation of IPC_UPD_PROD_BUFFER in the PRODUCT_UPDATE2 BADI (EBP 3.5 and SRM 3.0)
    c) DEACTIVATE implementation of CRMB_BBP_PRICINGINIT in the PRC_PRICING_INIT BADI (EBP 3.5 only). Use Transaction SE18.                
    The first BAdI controls whether simplified pricing should be used and reads the price data from the product master, if required.  The second BAdI updates the price data in the IPC if changes were made in the product master (EBP 3.5 and SRM 3.0 only).   The third BAdI controls whether obsolete ABAP pricing (BAdI activated), IPC or simplified pricing (EBP 3.5 only) should be used. 
    You always have the option to change from simplified pricing to normal pricing using IPC. You can change from IPC pricing to simplified pricing in accordance with the above restrictions. However, avoid repeatedly changing the pricing method.                                               
    Cheers-
    b

  • To find exit for the transaction VF02?

    Hi Experts,
    I need help for this enhancement.
    1.     In case of Company Code - 2200                         
                        During VF02 (Billing document flow to accounting) :  VBPA - PARVW                     value for "ZC" shall be filled in BSID-XREF1.
    It means for company code 2200, during the process of transaction VF02, the partner function value for 'ZC' from table vbpa should be updated to the field xref1 in table bsid.
    After finding the exit / badi, How do i need to modify it?
    Regards,
    Abdur Rafique

    Hi,
    Check exits for VF02:
    SDVFX008 User exit: Processing of transfer structures SD-FI
    SDVFX007 User exit: Billing plan during transfer to Accounting
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    J_3RSINV            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    BADIs for VF02
    SD_CIN_LV60AU02                    BADI for billing
    Method: EXCISE_INVOICE_CREATE   - BADI billing
    VOR_WA_FAKTURA                 Billing before Goods Issue

  • Automatic local PO creation has errors - SRM 5.0

    Hi there,
    We are busy upgrading to SRM 5.0 and are having some issues....
    I can create a shopping cart from the catalog and it creates a local PO but the PO is always in HELD status. When I look at the PO in BBP_PD I get the following errors:
    E BBP_TAX             006 Data inconsistency during tax calculation                 
    E BBP_TAX             006 Data inconsistency during tax calculation                 
    E BBP_PD              358 Select a location to which a plant has been assigned      
    E BBP_PD              865 Delete price or set 'Invoice Expected'                    
    E BBP_PD              358 Select a location to which a plant has been assigned      
    E BBP_PD              865 Delete price or set 'Invoice Expected'             
    I have debugged function module BBP_PD_PO_CHECK and can see that the "invoice expected flag" is NOT set in the PO - this causes the "Delete price or set 'Invoice Expected'" error.     
    The "Select a location to which a plant has been assigned" error is because there is no location on the document...in subroutine "GET_PLANT_FROM_LOCATION" in program "SAPLBBP_PDIGP"......not sure why that would be blank though....
    The "Data inconsistency during tax calculation" is because in my debugging it was wanting a SUBTYPE of "ST" but it gets "EP". What concerns me about this one is that it actually should be "EP"...
    I have been trying to debug the SC to PO mapping to see what could have gone wrong....I think it would be in BBP_PD_SC_MAP_TO_PO_LOC?
    NOTE: I have had to TURN OFF the Pricing BADI (BBP_PRICEDATA_READ) implementation (BBP_PRODUCT_PRICE) to get this far. If it is active I get the following error in SM58.
    "Purchase orders cannot be created without IPC pricing"
    Has anyone had these issues before?
    Any help will be greatly appreciated
    Lynton

    1. Did you activate extended classic in SPRO (or rather - is it still activated )
    2. Did you retrieve the locations from the backend (as mentioned before by several others) check
    3. The badi you mention should be deactivated, as pricing is done using the built-in IPC (SRM 4.0 had a not built-in one - maybe still pointing at the SRM 4.0 one?)
    4. Check if the IPC is running correctly (go to SE38 and play around with IPCTEST* or TESTIPC* - too long ago to remember the correct report or was it something with pricing. The one thing I know is that TEST was definately in it!)
    5. Vendor master data is correct?
    6. Did you define that tax calculation is done in the backend (SPRO)? check
    Regards,
    Robin
    Edited by: Robin Janke on Jun 20, 2009 8:49 PM

  • Urgent Querry regarding SRM to R/3 PO Creation

    Hi All,
    I have one requirement where in PO is created in SRM (using Extended Classic Scenario) and the same PO is reflected in R/3 thru RFC.
    My requirement is related to pricing i have maintained a condition record for a condition type for eg : ZBRK is the condition type. In R/3 for condition type ZBRK i have maintained condition record. I need to populate the condition record when PO from SRM gets created in R/3.
    Is it possible?
    Points will be rewarded.
    Regards,
    Shuban

    Hi
    Which SRM version are you using ?
    See these SAP OSS Notes, which might help ->
    Note 907271 - Upload: New condition when you update the item
    Note 859049 - SRM 5.0: Restrictions for uploading and downloading
    You can try to use BBPECS_PO_OUT_BADI to transfer this condition type to ECC.However, please check that the condition type from SRM do not apply again in ECC else your original price will be recalculated twice both in SRM and ECC..._
    Using VMC cache when you modify the PO price schema.
    Thus, you have to reset the buffer of the VMC to "activate" your modifications.
    http://help.sap.com/saphelp_srm50/helpdata/en/72/f40f3c98ddaa4ce10000000a11402f/content.htm
    You can check if the conditions Customizing is complete.
    See the path in the IMG: SRM Server ® Cross-Application Basic Settings ® Pricing ® Check Technical and Customizing Settings for Conditions
    Meanwhile, Please go through the following SAP OSS Notes and Business Add-Ins(BADIs) which will help ->
    Note 640369 - Incorrect values in dropdown in account assignment details
    Note 1027656 - Simplified pricing:wrong price calculation in SC using prod.
    Note 1038241 - Simplified pricing: Follow-on note to note 1027656
    Note 1034949 - Wrong price in SC when a product has multiple conditions
    Note 539720 - Simplified pricing (classic scenario)
    Note 637562 - Simplified pricing
    BADIs ->
    1) BBP_PRICEDATA_READ
    2) PRODUCT_UPDATE2
    3) PRC_PRICING_INIT
    Note 622282 - EBP 3.5 - price is lost in the Shopping Cart
    Related links ->
    Pricing
    http://help.sap.com/saphelp_srm50/helpdata/en/72/f40f3c98ddaa4ce10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/ee/d9df3bbcce4b37e10000000a114084/frameset.htm
    Do let me know.
    Regards
    -Atul

  • CRM_COND_COM_BADI not triggered

    Hello,
            I have implemented the Pricing BADI in CRM 7.0. I have written some code in IF_EX_CRM_COND_COM_BADI~ITEM_COMMUNICATION_STRUCTURE to populate a custom field. I have saved and activated all the interfaces.
    Now when I am in CRMD_ORDER, I add an item and hit ENTER, but the IF_EX_CRM_COND_COM_BADI~ITEM_COMMUNICATION_STRUCTURE is not hit when I have set the break point there.
    Do any of you know of any reasons why the code was not hit?
    Am i missing any config or parameter setting missing?
    Ravi

    I  had activated the interfaces but not the implementation itself. New ABAPer:-)..just wanted to close this thread with the solution.

Maybe you are looking for

  • Page number in Top of page during line selection

    Hi All, I am generating an interactive report. I want to display the same header at each page break. How to restrict the page size in At line-selection? I want to display page in format Page X of Y for each page break?How to handle it? Thanks in adva

  • Settlement rule for Maintenance item

    Hi All, When i attempting to create a settlement rule Using a WBS element for Maintenance Item System showing Error Message "No Object Status is available for MIT#1'. Thanks & Kind Regards

  • Server time one hour behind

    Running CF 7 on a Fedora Core Linux system that has the system level time zone updates applied. A shell command of 'date' returns the correct date and time. However, we have some CF services and webpages that rely on times and #timeFormat(now(), "sho

  • Webview Peripheral reports won't run

    I have a 7.5.10 Webview server that has been operational for years, now all Peripheral reports will not run and Peripheral lists are empty.   All other Webview  real time and historical reports work fine from this server.  I re-installed Webview and

  • Order Multiple In RMP

    Hi The customer is using SBO 2007 Sp 1 PL05. When Runnig the RMP the Oder multiple is not include?? Planning Method - MRP Procurement Method - BUY Order Multiple - 6 Minimum Order Qty. - 6 The recommendation is not a multiple of 6, do i have to setup