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!

Similar Messages

  • CRM pricing condition

    Hi,
    We have a problem in CRM pricing condition where when we add and
    configure a configurable product in a CRM quote, the system carries out
    the pricing correctly, but the product description is missing, instead
    it shows the material code
    We looked at OSS note 539736 and it seems to be the same problem but
    this note only applies to release 3.0. Our current CRM is release 4.0
    and patch level 8.
    How can we solve this problem?
    Your help will be much appreciated.
    kbas

    no answers.

  • Vendor field not updated in CRM pricing condition table

    Hi,
    We have maintained condition table with Material and Vendor fields in ECC and table is active
    After replicating this table from ECC to CRM, vendor field not updated in table and it is inactive.
    There is any mapping settings required to update vendor field in CRM table from ECC.
    Please help me out to solve this issue
    Regards
    kishore kumar

    hi,  the data field of vendor is a standard one or custimizing one?
    I remeber there is a data mapping setting in CRM, for condition field.   If you want to mapping a ERP standard field to a CRM custmizing one, you need to setting your rule in it.  Maybe you can find it in SM30 view.
    I can't login a CRM system now, so sorry for not offer your the view name.

  • Question regarding usage of CRM pricing conditions using date ranges

    Hi,
    I wonder if someone has a suggestion regarding how to set up pricing conditions in CRM to accomplish the following scenario:
    For existing customers we want to “freeze” the product price for certain customers,
    but at the same time let other customers get another prize for the same product
    and period.
    (We have scenarios where the product price changes retroactively, years back in time, but only for those custoemrs that  fulfill a specific criteria at the time where the prize change was decided to take place..)
    We want the prize to be dependent on the customer status AND when this status was set
    (before a specific date), but there doesn’t seem to be a way to set up pricing
    conditions with date ranges (i e "customer status changed before YYYYMMDD
    renders prize X").
    Since we are talking about quite a lot of customers we do not want to add each and every
    one of them as “individual price items” in the pricing conditions tables.
    Does anyone have an idea regarding how to set this up?
    Thanks
    /Marika Wasserman

    Hi Marika,
    condition records have validity (FROM - TO). Let us assume you have a condition record for product A with 50 EUR per piece and this record is valid from 01.01.2014 until 31.12.2014.
    If you create CRM Sales Order having product A at 4.12.2014 and this date is used as pricing date for the conditon determination, then it will find this condition record with price 50 EUR per piece. This 50 EUR should be the froen price.
    Now how can you achieve that for the same CRM Sales Order another product price is determined for certain customer or a certain customer group?
    The idea is to pass an additional pricing attribute, e.g. customer group. Then you can create a new condition table with this field with the key fields product and customer group. In the access seqeunce first the new condition table is checked and if no record is found, then the second conditon table is checked as shown below:
    Access Sequence ABC
    Access 10: condition table with key fields product + customer group
    Access 20: condition table only key field product
    Instead of customer group you define also any other field. You create your own implementation of the BAdI  CRM_COND_COM_BADI that passes this field with a value to pricing.
    Best regards,
    Baris Yalcin

  • CRM pricing custom field

    Hi,
    We have requirement to get CRM order price condition value based on Z-custom filed. We have defined our Z field in field catlog and structure CND_MAPT_ACS_REM_CUST so down loaded table in CRM and have the record in one of our access table. 
    Question - When we create order I don't see the pricing Condition type record picked up.
    My record has below fields in table table A999
    Sales Org
    Distr Channel
    Division
    Mat price ref Z custom field (This field is equivalent to material master standard field PMATN)
    Need to know how do we make the system understand pick the price value from this table A999 based on what ever is maintained in material master PMATN field
    We tried to use CRM_COM_COND_BADI but not working, if this is correct process than may be need to know the details on this.
    I know in ECC we write in communication structure and than we can pull in sales order but similar thing in CRM how to do.
    Any help from technical prespective will be appreciated

    Hi Sandeep,
    if the field is used in the condition download from ECC please also check SAP note 514952.
    1. The field is added via the field catalogue maintenance at IMG: Customer Relationship Management -> Basic Functions -> Pricing -> Define Settings for Pricing -> Maintain Field Catalog. As you save or generate the field catalogue the structure will be updated with your field.
    2. Whether you need to implement a JAVA routine for the pricing of this particular condition is defined in the corresponding pricing procedure.
    Best Regards,
    Michael

  • Pricing Condition Field

    I would like to use the 5 material groups in the material master as part of the pricing condition table fields.  How can this be done?
    I added the fields RKE_MVGR1-5, but getting this error during pricing in the order ' 102 access not made (initialized field) "

    I don't believe you are using the correct fields. The order uses MVGR1-5 not RKE_mvgr1-5. I believe the RKE versions are used in COPA. I would recommend the following:
    1. append MVGR1-5 to kompaz and activate
    2. Add MVGR1-5 to the field catalog under IMG->SD-> Basic Functions-> Pricing-> Pricing Control-> define cond tables -> conditions allowed fields
    3. re-create your tables using mvgr1 through mvgr5
    4. Replace your new tables in your access sequence you are using in your condition types
    This should give desired results.
    It is also possible to leave RKE_mvgr1-5 as is and move vbap-mvgr1-5 to corresponding tkomp-rke_mvgr1-5 in mv45afzz form userexit_pricing_prepare_tkomp. however, I am not sure of impact to COPA using these fields.
    Hope this helps, Matt
    Edited by: Matthew Menzies on Mar 4, 2010 4:00 PM

  • ECC - CRM Pricing Condition download

    Hi all,
    I am trying to replicate condition tables and access sequences into CRM. However, I getting an error message below :
    "Field MAINT_STAT of table is not referenced in access CRM PR ZC00"
    I have checked the corresponding table in CRM "CUS913" and this table could not be activated due to the error message above.
    When I check in SLG1, I get error message :
    "Field MAINT_STAT of table is not referenced in access CRM PR ZC00"
    "Creating names of generated objects failed"
    I have checked my condition object "YDNL_CUSTCNDALL" for any duplicate records, but couldn't find any..
    I have no idea why I am still getting this error message. Can anyone please help?
    Points will be rewarded accordingly.
    Cheers,
    Weng

    Hi,
    ipc is inbuilt in Kernel to CRM 7.0
    BR,
    Darshan

  • Using BADI to populate EBAN-ADRN2 field

    I have an issue that requires me to use a userexit or BADI. When Planned Orders are converted to PRs in MD14/MD15, the field EBAN-ADRN2 are not populated with a delivery address which is to be based on MRP Controller (EBAN_DISPO). So I need to use a user exit to fix this problem. So far I can seem to find any user exits for this.
    So I have decided to use the BADI ME_REQ_POSTED to update the ADRN2 field in EBAN. I don't know if this is the best BADI to use. From my research I think this BADI can be only used for data checking and not updating.
    I need to know whether I can proceed with using this BADI or not is there any other that I can use? I am also new to Abap Objects. I don't know how to code and what functions to use. I need some help on the coding part.
    I need to solve this urgently. Please do help.

    Now I am using a different BADI which is MD_PURREQ_CHANGE. There are two methods in this BADI and I am using CHANGE_BEFORE_SAVE_CONV which saves changes to the PR created From Planned Order in MD15. Here is the code that I did in this method:
      if im_plaf-dispo = 'GS1'.
        ch_eban-adrn2 = '22658'.
        ch_changed = 'X'.
      elseif im_plaf-dispo = 'PW1'.
        ch_eban-adrn2 = '22722'.
        ch_changed = 'X'.
      endif.
    The method receives the PLAF table and changes the EBAN-ADRN2 field which is the delivery address.
    This BADI works fine. The ADRN2 field in EBAN is successfully populated. But whhen I attempt to view the PR in ME53N, I am receiving an 'EXIT' message from the system saying 'Address doesn't exist 22658  11000221 00001'; and the process is terminated and returned to the initial SAP screen.
    I would like to know if my code is correct or is there anyone who can give me an idea on why this happening.

  • Adding custom field in pricing condition structure (BADI CRM_COND_COM_BADI)

    Hi,
    I need to add a custom field (ZCITY) to the structure : CRMT_ACS_H_COM and I need to populate this field in the BADI: CRM_COND_COM_BADI in the method : HEADER_COMMUNICATION_STRUCTURE.
    However, my concerns are:
    1. How to add the new field to this pricing structure? Is there any specific procedure to do that?
    2. And once the field is added and populated with the value in BADI, where the pricing calculation takes place based on this custom field?  Do we need to to implement any other BADI's or any pricing routines? I am little confused here.
    Could you please help me on this?
    Bottom line is : A custom field calles ZCITY needs to be added to the pricing structure and freight cost determination should take place based on this new field ZCITY.
    Thanks,
    Sandeep

    Hi Sandeep,
    if the field is used in the condition download from ECC please also check SAP note 514952.
    1. The field is added via the field catalogue maintenance at IMG: Customer Relationship Management -> Basic Functions -> Pricing -> Define Settings for Pricing -> Maintain Field Catalog. As you save or generate the field catalogue the structure will be updated with your field.
    2. Whether you need to implement a JAVA routine for the pricing of this particular condition is defined in the corresponding pricing procedure.
    Best Regards,
    Michael

  • BADI CRM Pricing

    Hi Experts,
    Is there any BADI that runs when the update button of conditions records is pressed?
    I want to populate these conditions records with other values.
    Many Thanks!

    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!

  • CRMXIF_ORDER_SAVE_M02 - how to populate pricing conditions at header lvl?

    Hi all,
    im using lsmw idoc basic type CRMXIF_ORDER_SAVE_M02 to create Service Orders.
    my problem now is, it only contains pricing conditions segment (E101CRMXIF_PRCD_COND_XT) under the item level.
    is there anyway so that i can populate the pricing conditions at the header level?
    Many thanks.

    Hi Michael,
    Thanks alot for the answer.
    I had given 6 point for that.
    I have couple of more question here.
    As you said
    <b>bdoc structure can be enhanced using the EEWB or manually, but then you'll have to create the mapping from the bdoc to the CRM DB as well.</b>
    My question is what needs to be done to map bdoc to CRM database.
    Second thing is
    As you said
    <b>A new idoctype, including the enhancements done to the bdoc and all mapping functions for inbound and outbound communication, can be generated using transaction BDFG.</b>
    My question is what do you mean by New IDoc Type, Do i need to define new idoc type/message type for this enhancement, and the field which i have to add in BDOC structure how it is going to reflect into the corresponding basic idoc. In my case <b>crmxif_order_save_m02</b>, Don't i need to add the same field here in Basic Idoc type.
    Please explain me this doubts.
    Thanks Alot.
    Regards,
    Manoj Tiwari

  • How to Maintain the Pricing Condition Records in CRM

    Hi
    I am new to the CRM
    How to maintain the pricing condition records in crm for the particular condition type?
    as we do in SD(VK11)
    Thanks

    Hi Binu,
    First of all, you could maintain pricing conditions in the following places:
    1. In General Condition Maintenance (GCM)
    2. At the product maintenance level
    3. At the 'Price agreement' tab of Contracts
    4. As manual conditions during order processing at item level
    Now, if you want to maintain conditions using GCM, you first have to maintain a condition maintenance group in the customizing where in you can assign condition table and condition type for different counter values. I am assuming that you have done this activity successfully.
    When you run the transaction '/SAPCND/GCM', for application 'CRM', your condition maintenance group name and context 'GCM', you will be initially taken to a screen where in you'll have an item area which would be blank and then condition fields would be displayed in a tree on the left.
    Here, select the field 'Condition type' and click on icon 'Select records'. You would get a dialog prompting you to enter condition type. Here you can specifiy the condition type for which you want to maintain/view condition records.
    If no condition records are available, item area would be left blank. Here, you can choose a condition type using the standard F4 help. Depending on condition types that are assigned to condition maintenance group, different condition types would be displayed in the F4-help using which you can maintain condition records.
    Hope this helps.
    Regards,
    Pavithra
    **PS: Please reward points if this helps.

  • CRM - Pricing User Exit in Java - BADI CRM_COND_COM_BADI

    Hi All
    I have to convert some user-exit from Abap to Java in order to work in CRM Pricing Scenario (I use VMC technology based on Web AS 7.00).
    In the manual attached to note 809820 (New userexit concept for pricing)
    I find this chapter but I don't understand how to work with BADI <b>CRM_COND_COM_BADI.</b>
    <b>My objective is to create Java user-exit using Custom Tables and Fileds.</b>
    <b>Passing additional information to pricing</b>
    To summarize, if the information used in a requirement is not depending on the current calculation result, then the information can be passed to the pricing engine. This is the best way to avoid e.g. DB or JCo calls from the user exits.
    Nearly all application scenarios using the pricing engine provide a way of filling additional attributes.
    1. Create a field catalogue entry for the additional attribute
    2. Program the filling of that attribute value
    The application calling the pricing engine and the way it is allowing customer code to fill or influence attributes is not part of this document. Here is only a short list of documentation to start with (also various notes exist):
    Application Description
    CRM Online Order Processing
    Implement BADI CRM_COND_COM_BADI. Note 850077
    Mobile Solutions Implement VBA user exit methods on SPCDOCHANDLER or SPCITEMHANDLER.Note 677314 and Note 934216
    Best regards
    Davide Ivanov
    [email protected]

    Hi davide,
    The BADI CRM_COND_COM_BADI is used for filling the pricing communication structure.
    If you have added any field at header level of the field catelog that will available in the changing parameter of the method HEADER_COMMUNICATION_STRUCTURE.
    If you have added any field at item level of the field catelog that will available in the changing parameter of the method ITEM_COMMUNICATION_STRUCTURE.
    Additional fields added at catelog can be filled with the values using this BADI.
    Thanks & Regards,
    Raghuram. K.R.

  • Pricing Condition Type R/3 - CRM (Exclusion Indicator)

    Hi,
    I am facing problem with the condition type in the CRM.
    In R/3 in contion type in Control data 2 we have a Condition Exclusion field and Same Exclusion  field is not availble in CRM.
    The Value in the Exclusion field is set not to perform this Condition Based on the Criteria.
    I need the same Condition to perform in CRM to exclude this Condition type in sales order processing.
    Can any one suggest how to and where to set or maintained this Value in Condition type in CRM
    Your suggestion is Valuble.
    Thanks in Advance.
    Regards,
    Naveen

    hi,
    You will have to first downlaod the Pricing condition from R/3 to CRM before downloading the condtion table,the download object is CRM_PRC_CNDTYP.
    Regards,
    Murali

  • Copy pricing conditions from R/3 to CRM

    Hello,
    I am using Function Module CRM_ORDER_MAINTAIN to copy pricing conditions from R/3 sales order to CRM complaint document.
    I am fetching R/3 conditions with the help of RFC call to R/3 and then passing these condition records to the FM CRM_ORDER_MAINTAIN.
    I am populating the importing parameter - IT_PRIDOC of this FM. And filling following internal table of this importing parameter:PRIC_COND, COND_ADD, COND_CHANGE and COND_DELETE.
    I am not sure if filling table PRIC_COND would be needed.
    Could you please guide me about the exact use of these tables? Do you have any documentation for this function module?
    Many thanks in advance,
    Sandhya.

    Dear Sandhya,
    I am facing the same problem.
    Could you please explain me (in case you finally implemented this), how you did it?
    Thanks in advance.
    Regards,
    Yolanda

Maybe you are looking for

  • Quicktime errors in FCP

    I have a FCP project, comprising mini-DV footage I've digitized on my own system, and some DVCam footage I've dig'd at a facility with a deck. All to the same FW drive (500 gig Western Dig). Strange thing is, when I go to import the QT movies (from D

  • New to ALV

    Helllo, I am trying to write a pgm that uses ALV. I have copied a pgm already written and trying to modify it. I would like to know if there is any documentation that explains the function modules REUSE_ALV_VARIANT_EXISTENCE, REUSE_ALV_FIELDCATLOG_ME

  • Need help with XMLTABLE query

    I am new to XML parsing. I am trying to convert xml data into relational data and need some help with this. with table1 AS (select xmltype( '<BuildingData_AllResponse xmlns="http://secure.rutgers.edu/spacemanagement/"> <BuildingData_AllResult> <xs:sc

  • How do i get push notifications yahoo email?

    How do i get push notifications yahoo email?

  • [Intel] Any list of Universal Binaries and apps running under Rosetta?

    Hi! Sorry, I'm not sure about posting into the right group, but found no other place with similar threads... I just try to figure out if all my apps will run under Rosetta or are available as Universal Binaries (and how much will the vendors charge f