Copying pricing condition

Hi,
I am creating a contract as a follow up transaction for a quotation in CRM. Now while copying there are certain conditions which are needed to be copied like there is a condition type ZCEP in quotation whose value is to be copied to ZCT2 condition in contract. is there any way to do this any badi or BTE?
Regards,
Puneet Makkar

Hi Arun,
We are trying to use the same badi but don't know how to update conditions while copying? can you give an example like which tables to read and which one to update and how...? It will be helpful.
Regards,
Puneet Makkar

Similar Messages

  • 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

  • Problem in Copying Pricing Condition Type

    Hi All,
    This problem is regarding copying pricing condition type in Sales Order. The problem is given below with an example -
    Qty of Material A - 10 PC.
    Condi Type   Amount  Currency   Per  UOM  Condition value  Currency
    ZP06             100         INR          1     PC      1000.00             INR
    ZP07                2         INR          1      PC         20.00             INR        
    ZP08               98        INR          1      PC        980.00             INR      Statistical
    ZP01               98        INR          1      PC        980.00             INR      Mandatory with ERL A/c Key Active
    The condition types ZP06 & ZP07 have access sequence maintained for them and ZP08 has been derived deducting ZP07 from ZP06.
    I want the above mentioned scenario where the values of Condition Type ZP08 which is a Statistical Condi Type will be copied exactly & entirely to condition type ZP01 where It will remain active alongwith posting key ERL.
    I have tried copying it by 100 % copy but the value is getting changed as 100% instead of 98 INR.
    Considering the above scenario please suggest some soluitons.
    Thanks & Regards
    Priyanka

    Hi Tarpan,
    First of all thanks for checking my post.
    In the problem I am not looking for the value of ZP08 to be maintained manually.I want the system to copy the exact details of ZP08 to ZP01 entirely where the condition type ZP01 will remain active alongwith the posting key ERL.
    I have tried copying the condition type ZP08 by using 100% copy of condition type but in ZP01 the resultant value becomes 100% in place of 98 INR.
    Please suggest some solutions.
    Thanks & Regards
    Priyanka

  • Copy Pricing Conditions from Sales Order to Billing

    Hi,
    Is there anyway to copy pricing conditions for item level from Sales Order to Billing Document at the time of creation of Billing Document.
    Thanks

    This question is not on topic for the Web Dynpro ABAP forum and has been locked.

  • Copy Pricing COnditions from Shipment Cost do to Purchase Order

    Hi:
    How can I copy all freight conditions on shipment cost document to the Purchase order created.
    e.g. In shipment cost document a\I have following pricing conditions.
    ZFRT - Freight - $250.00
    ZFCL-Fuel Chrg - $25
    ZCLN-Cleaning Chrg - $30
    Total = $305 on shipment cost
    When Purchase order is generated automatically.
    I want same conditions on Purchase order instead of gross amt PB00 of $305.
    How can we copy conditions from Shipment cost doc to the Purchase order??

    Hi,
    First of all I don't think that it is possible in the standard system. SAP only transfers the total cost of shipment to MM as you already found out.
    Actually, if I remember well, the cost condition is transfered to a service entry sheet assigned to the purchase order item for the service agent.
    From SAP help
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/93/74413b546011d1a7020000e829fd11/frameset.htm
    Purchase Order Determination
    Transfer and creation of the relevant documents in FI
    Transferring Shipment Costs to Accounting
    Transferring of shipment costs in order to create accruals comprises two functions:
    Procedure
       1. In the shipment cost document, go to the detail screen of a shipment cost item, for which costing and account assignment has already been carried out and which you want to transfer to FI.
       2. Select the Transfer indicator. ...
       3. Save the shipment cost document.
    When you save, the system creates a service entry sheet with reference to the purchase order determined, an accounting document for creation of accruals and further documents in FI.
    IMHO it is good enough to transfer the total cost of shipment. It is the amount needed for accrual, and used afterwards for logistics invoice verification based on the automatically generated service entry sheet.
    Why do you want more details in MM if you already have the detailed data in the Shipment cost document?
    It is not the answer you want, but I hope it helps anyway.
    Best Regards,
    Franck Lumpe
    Freelance SAP Consultant

  • Copying pricing condition from quotation to sales order

    Hi,
    I would like to know how the following can be achieved.
    In quotation, i have two conditions type.
    For e.g. a item value
    1000 -> PR00
    3%  -> ZMarkup
    Gross Value -> 1003
    In the sales order, we are only having PR00 as the condition type. Thus only 1000 is being copied to sales order.
    How can i achieve such that the gross value in the quotation can be copied into PR00 of sales order?
    Regards

    Hi Friend,
    To copy the pricing from Quotation to Sales order without change you have to maintain copy control settings from  QT to OR
    Goto the Transaction code VTAA then click on position and choose the Source document as QT and the Target document as OR
    Then click on the item in the control tab and choose ur item category and click on Display
    Now in the Pricing field change the value To D
    Hope it is clear and work.
    regards,
    santosh

  • VL01N user exit to copy pricing conditions from sales order

    Does anyone know which user exit could be used to copy sales order line item conditions to delivery note conditions screen.
    The sales order screen is SAPLV69A field KOMV-KSCHL
    The delivery note screen is SAPLV69A field KOMV-KSCHL
    Thanks

    Hi,
    Just goto include - LV69AFZZ
    And Check ..
    userexit_pricing_check -  USEREXIT_PRICING_CHECK
    Thanks

  • Price and Pricing conditions are not copied to PO for a line item !!

    Hi
    I have created a PO w.r.t a PR which has only one line item.
    Now, I add another line item to this existing PO, i get an error message that the Price and Pricing conditions are not copied.
    How do i rectify this error !!
    Where might be the link for this Price and Pricing conditions to get copied in to this PO ??
    MaruthiRam

    What kind of PR and in the PO same material you enter for new line or new material and do you have any funcitonal authorization assigned o your user id
    please reply

  • Material exchane ,copy pricing and conditions from main item to sub item.

    Hi All,
    We are using parts exchange/interchangeability in the transaction ME22N,
    While using ME22N we are exchanging  main item with interchangeable part and while doing so we want to copy pricing and conditions from main item to sub item.
    But its not happening.
    As per sap help its possible, details describe below.
    http://help.sap.com/erp2005_ehp_04/helpdata/en/c2/0a5288b77d11d3bcce00105ab03aee/content.htm
    Price Determination by Copying from Main Item
    In the case of price determination by copying from the main item, the net price of the originally ordered part is still used for the superseding part in a part exchange.
    The system copies all conditions from the main item to all sub-items and takes into account the order quantity for the main item when calculating scale prices. It does not take into account the conditions and scale prices that exist for the interchangeable part.
    You cannot change the conditions, which have been copied from the main item, at sub-item level. It is possible, however, to define additional conditions for each sub-item.
    Prerequisites
    A calculation schema, which can be altered on an individual basis in Customizing, has been supplied for the price determination.
    In the vendor master record, you have set the schema group 09 (interchangeable material).
    But in customizing I didnu2019t find value 09 for schema group .
    Can any buddy through some light on missing pieces which need to be set?
    Thanks
    Regards
    Ritesh

    Hi,
    Can you check few more things and tell me?
    - In this exit, does XVBPA and XVBAP contains all the line items. ( main and sub items ).
    - In Sales order creation time, do these table have VBELN populated when this exit triggers.
    - If you modify XVBPA or XVBAP in this exit, do they get overwritten after that.
    Try this code. See if it works.  Let me know if you still have a problem.
    DATA: wa_hvbpa LIKE vbpa,
          wa_xvbpa like vbpa.
    CLEAR: wa_hvbpa, wa_xvbpa.
    * check if HVBAP and VBAP line items are not same
    IF vbap-posnr <> hvbap-posnr.
    * read the ****-to partner from main-item
      READ TABLE xvbpa INTO wa_hvbpa WITH KEY posnr = hvbap-posnr
                                              parvw = 'WE'.
      IF sy-subrc = 0.
    *   read the line item data for sub-item based on main item
        READ TABLE xvbap WITH KEY posnr = vbap-posnr
                                  uepos = hvbap-posnr.
    * See if current line is the child of that BoM parent
        IF sy-subrc = 0.
          MOVE wa_xvbpa-kunnr TO xvbpa-kunnr.
          MOVE xvbap-vbeln TO wa_xvbpa-vbeln.
          MOVE xvbap-posnr TO wa_xvbpa-posnr.
          MOVE 'WE' TO wa_xvbpa-parvw.
          MODIFY vbpa FROM wa_xvbpa.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    RS

  • User exit to copy Manual pricing conditions with in sales documents

    Hi all,
    I have a situation where i have to copy the manual pricing conditions from inquiry to quotation.
    Problem: From VA21 when I try to do the same using the tab "create with reference" the document is being copied but the manually set pricing condition in the inquiry is not being copied into quotation. This is because in the copy controls the pricing type is set to 'B' which means "carry out new pricing". I can change it to 'C' or 'D' so that it copies manual pricing but i am not allowed to do so because other sales orgs in the company has a problem if i do so. Only our perticular sales org needs this config. I cannot even create another item catogory specific to this plant because it is against the rules of the company. So I am looking for a user exit in which i can change this pricing type during runtime so that i can plug in some code specific to this sales org to copy manual pricing. I have found one from the SAP note 24832 (MV61AFZA). It doesn't work as i think its obsolte. Can anyone suggest me a better way of solving this issue. Any quick response is appreciated.
    Thanks,
    Giridhar.

    Hi
    The following EXITS may help you
    Exit Name              Description                                                                               
    SDTRM001            Reschedule schedule lines without a new ATP check                 
    V45A0002            Predefine sold-to party in sales document                         
    V45A0003            Collector for customer function modulpool MV45A                   
    V45A0004            Copy packing proposal                                             
    V45E0001            Update the purchase order from the sales order                    
    V45E0002            Data transfer in procurement elements (PRreq., assembly)          
    V45L0001            SD component supplier processing (customer enhancements)          
    V45P0001            SD customer function for cross-company code sales                 
    V45S0001            Update sales document from configuration                          
    V45S0003            MRP-relevance for incomplete configuration                        
    V45S0004            Effectivity type in sales order                                   
    V45W0001            SD Service Management: Forward Contract Data to Item              
    V46H0001            SD Customer functions for resource-related billing                
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan      
    V45A0001            Determine alternative materials for product selection
    Regards
    PRabhu

  • How to copy the Pricing conditions from one Distribution Channel to another

    Generally we use VK11 transaction to create conditional records .
    but I Need to Know whether is it Possible to copy the Pricing conditions from one Distribution Channel to another with same name and same internal Characteristics .
    Since we have around 70+ of Condition type with different parameter Sequence.So Instead of Going for BDC whether is there any standard Funct Modules/programs/BAPIs to do this?
    How to make a copy Condition types from One Distribution Channel to another.
    since SAP has already provided to copy conditions from Customer to customer.
    Likewise i need to know whether SAP is facilitating for these feature also.
    Iam Dubious in this issue.
    Hope Fully looking for the answers.
    Harish.N

    - IDOC_INPUT_COND_A (you can create IDOC, but also call directly)
    - call transaction / batch input (use transaction XK15, as used by LSMW)
    - use group of function modules RV_CONDITION_COPY, RV_CONDITION_SAVE, RV_CONDITION_RESET + commit.
    if you search SDN on 'RV_CONDITION_COPY' you'll find more info I believe.
    Someone mentioned BAPI_PRICE_CONDITIONS as well.

  • Third Party Order pricing conditions copy to PO

    Hello,
    I have few pricing conditions in the 3rd party sales order. I want those conditions to be reflected in the 3rd party PO.
    Is there anyway to copy third party sales order pricing condition types to the PO?
    Cheers
    Anand.

    Dear Anand,
    Try with,
    T. Code: ME11 - Create Info Records
    Maintain the same condition in the info-record. The price shall be picked up in the PO by the inforecord.
    Best Regards,
    Amit

  • B2B: Copy Pricing Procedure or Condition Types

    Hello sdners!
    I use b2b sap crm: e-commerce 7.0.
    Please advice me FM, which copy Pricing Procedure or Condition Types from catalog item to basket (order)!
    E.g: i want to buy a position from catalog with the name " A ". It cost 10 eur.
    When I click to order - the price of the catalog is transferred to the order (basket).
    Please help me find FunctionModule which do it ?
    Thanks

    Technically the price for the catalog item and the basket item come from two entirely different ways.
    Whereas the catalog item gets the price "directly" from IPC (or TREX in some instance), the basket price is computed in the ABAP side of the application. In the ABAP, the item price is again technically comes from IPC, but IPC is provided with some additional information to get the "customer specific" price.
    So, in theory, you can not copy the catalog item price using any FM.
    Even if you "copy" from catalog to basket (say, in the UI or java layer), the item in the basket will get the price from CRM backend everytime  the basket get updated.

  • Good ol' pricing condition copying

    dear all, i am using the CRMXIF_ORDER_SAVE, i am trying to create an order, and populate pricing conditions etc. only i want to copy the entries from an existing order, similar to using the follow-on transaction. only ... i am not using document flow.
    i have the item source guid, of the original order with the conditions all set up.
    this is it in short, and can elaborate where necessary.
    i guess i am looking for some magical FM or Class, or BAdI.
    cheers in anticipation

    Hi Arun,
    We are trying to use the same badi but don't know how to update conditions while copying? can you give an example like which tables to read and which one to update and how...? It will be helpful.
    Regards,
    Puneet Makkar

  • Copying STO PO pricing condition to Billing During Billing creation

    Hi,
    MM and SD pricing conditions are not similar.
    And I cant use Copy PO Basic price in billing Document
    I was advised to try USEREXIT_PRICING_PREPARE_TKOMP or USEREXIT_PRICING_PREPARE_TKOMK.
    How do I copy the Pricing condition from the STO PO to Billing during billing creation?
    Is there an FM i can use to extract the pricing condition given the STO PO?
    thanks,
    NC

    Hi
    If the option of Raghavendra doesn't work for you (parameters in copy rule for invoice), try with VOFM subroutines (Condition formula for alternative calculation type) in the pricing procedure. Surely it will be slower, but it must work. How? You have in KOMP the values for VGBEL and VGPOS with the delivery number and item. So, seach the PO number in the same way. When you have the PO number, with the value of field KNUMV search the value of condition in table KONV.
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot. The userexits that you mention is to populate KOMP/KOMK for customer fields. See SAP Note 531835 - Using field PSTYV in the condition access for futher information.
    Edited by: E_Hinojosa on May 16, 2011 9:21 AM

Maybe you are looking for

  • Need to incorporate a new field in OBB8

    Hi, In configuration screen of OBB8(terms of payment), we require to add one z field.  Can anyone help me to provide the field exit/user exit to incorporate the Z field. Please help me.

  • Inablility to retrieve values of session variables in irpt page

    We currently are using xMII 11.5.  We are having difficulty retrieving values assigned to our created session variables.  We have defined 2 users, each associated with session variables whose values differ by user.  Each user is associated with a dif

  • How to store Payment Advices Directly in Folder

    Hi, Can the payment run program store the payment advices directly into folder after the actual payment run? If yes, what are the steps? Thanks, teo

  • Cover flow gone?

    Recently I noticed that my ipod nano (3rd gen) has lost the cover flow option! Maybe I'm not looking in the correct spot, but I thought it was under Music --> Cover Flow. For some reason it doesn't show up? Anyone have the same problem, or it could b

  • Flash::media::Sound pthread problem

    When i start these two thread together the application freeze. Each thread on its own works ! #include <pthread.h> #include <Flash++.h> using namespace AS3::ui; pthread_t audiothread; pthread_t tickThread; static var sampleDataEventListener(void *arg