New pricing condition update for sales order

Hi All,
We need to insert new pricing condition for existing sales order.Could you please sugest any bapi or function module to
update new pricing condition type.
Thanks
Mohit

One reason to use program is that then the business can be 100% that all the sales orders are "updated"
(maybe) & if anything goes wrong; The SAP consulting company - who created the program - is to be blamed / is accountable.
In short business wants to be 100% sure that update has taken place for ALL s orders.
Is that correct Mohit?
Edited by: Typewriter on Jun 24, 2011 9:27 AM

Similar Messages

  • Pricing condition tables for Sales Order

    Hi experts,
    please can you tell me the code I have to write into a query's field to retrive the value of a specific header pricing condition saved into a Sales Order?
    Thank you very much
    Kind Regards
    Andrea

    1) From sale order header table VBAK fetch the condition number KNUMV for a particular sale order VBELN.
    2) From conditions table KONV fetch the conditions for condition number KNUMV with item number POSNR as 000000.
    This way you can fetch the header conditions. Our ABAPers normally do a loop on the line items and total up the values to arrive at the header condition value. If you use this way then you need to pass another field condition origin KHERK with value D while fetching data from KONV.
    Regards,
    GSL.

  • Pricing condition redetermination for sales order created with reference

    Hi,
    Are  there any exit or routines that can be used to redetermine MWST pricing condition alone when creating sales order with reference to another sales order? The pricing from preceeding sales order is copied but we need only MWST to be redetermined after saving the order
    This is because we are making changes so that while saving the sales order the material tax classification is defaulted to M based on some conditions so that MWST picks up the value M
    Regards,
    Vin

    Hello Vinod ,
    did you tried following options :-
    1.Using Exit ( MV45aFzz) and re calculte pricning using FM 'PRICING'.
    2.or Using Copy Control (Tcode : VOFM ) while creating order with Ref.
    regards
    Prabhu

  • Condition update error  :There is no condition update from sales orders.

    I am testing the condition update by condition type K005 , which have been set the condition update indicator ,and I have also set the Max.number.of.orders  to 1 , but after I created the first sales order ,the condition record still make effect in the second  and third sales order ,which was created without referece to the first one .
    And  when I  look at the cumulative value in the condition record ,it says "There is no condition update from sales orders."
    Anyone can give me some light ?
    BTW , the sales order type is ZOR ,which I copy from the standard order type .And the item category is ZTAN , copy from  standard IC TAN .
    thanks for your help in advance .

    hello, friend.
    there are at least 3 things that you will have to check, since records for condition type K005 is created for a specific combination:
    1.  check if the item category with condition update was the one determined in the order
    2.  check if the customer has a valid K005 record
    3.. check if the material has a valid K005 record
    also, since you specified "1" as maximum number of orders, this could have prevented any updates.
    regards.
    Edited by: jonathan y on Sep 17, 2009 2:59 PM

  • How to define the detail "Condition" item for  sales order?

    Hi, I checked the condition information of a sales order, the following contents were displayed:
    PR00     Price     230.00
         Gross Value     230.00
         Discount Amount     0.00
         Net Value for Item     230.00
         Net Value 2     230.00
         Net Price     230.00
    I can understand that the price 230.00 can be maintained via tcode: vk11, what I want to know is:
    How to define/control the following items such as:
    Gross Value     230.00
    Discount Amount     0.00
    Net Value for Item     230.00
    Net Value 2     230.00
    Net Price     230.00
    and how to control their currency?
    Thanks.

    Hi, Dear Ferry Lianto,
    Thank you very much.
    Commonly I know the total pricing procedures.
    But, would you please tell me how to control the CURRENCY for the subitem of a condition type as follows?
    For example, I can see the following kind of
    contents in the Tab:condition of a sales order:
    PR00     Price     130.00000      TEST     100
         Gross Value     20.12      USD     100 <-how to
         Discount Amount     0.00      USD     100
         Rebate Basis     20.12      USD     100
         Net Value for Item     20.12      USD     100
         Net Value 2     20.12      USD     100
         Net Value 3     20.12      USD     100
    VPRS     Cost     27.22      HKD
         Profit Margin     16.61      USD
    The currency of PR00:price can be controlled via tcode VK12; but how to control the currency of its subitem such as gross value, discount amountm, net value for item, net value 2, & net calue 3...
    Thanks and regards.

  • How to Avoid Duplicate Pricing Condition Types In  Sales Order and Billing

    Hi SAP Gurus
    I have a requirement in Pricing (Sales and Distribution). We have  issue duplicated condition types in Sales order and it causes wrong posting in to accounts.
    I want make them inactive duplicated Condition type in Sales order and Billing Documents.
    Please advice me how to make inactive status to duplicated Condition types
    Thanks  in Advance.
    Ravikanth

    Hi
    You can use Exclusion Group
    You can define 2 Groups and include 1 condition type in each
    and define exlusion procedure
    A   Best condition between condition types                
    B   Best condition within the condition type              
    C   Best condition between the two exclusion groups       
    D   Exclusive                                             
    E   Least favorable within the condition type             
    F   Least favorable betweent the two exclusion groups     
    you can use Exclusive to set your condition type or as per your requirement
    Regards
    Jitesh

  • User Exit for New Field Creation & Updation at Sales Order Level

    Hi All,
    I want to create one new field in Additional Data B Tab of Sales Order.
    Also when the sales order is created with reference to a Contract, that Contract number to be updated in that field.
    Which user exit need to be used for this field Creation & Updation at the time of order creation? Is it MV45AFZZ?
    Pls suggest.
    Rgds,
    Senni.B

    Hi
    Additional header data is on screen SAPMV45A 0309, additional item data on screen SAPMV45A 0459. These screens contain the Include screens SAPMV45A 8309 or SAPMV45A 8459 as user exits.
    Regards
    Madhu

  • Conditon value not updating in CONDITION tab for Sales Order

    Hi Experts,
    Can anyone tell me about this ?
    I have created a Z condition type for VA01 and need to place some value (based on some logic  taken from conditon records).
    I am not able to do this.
    Steps already taken care of.
    !) In VOFM >formula section>conditon value = New routine is created.
    2) in V/08, after selecting the Z condition type Routine number is given in front of the Z condition type.
    Waiting....

    Hi Prabhu,
    I didn't understand the meaning of analyzing the Pricing Procedure ?
    In V/08, I have selected the Z condition type created in the system and than selecting that, navigated to CONTROL folder.
    Now in front of the Z condition type in CALCULATION TYPE field the number of the routine is given (Which is created using VOFM).
    Now what else I need to do?
    Repy@Madhu.
    Yes Madhu. Routine is activated and control is stopping if break point given in the routine. In this routine I am trying to populate a value in its XKOMV internal table's KBETR field but when VA01's main CONDITIONS TABS screen comes the value is not appearing.

  • VA01 user exit to manually insert condition record for sales order

    Hello Experts,
    I have a req. to find a user exit through which I can insert a new condition record for a sales order everytime a sales order is created.
    Whenever a sales order is created I should check whether condition types X and Y are being generated for the particular sales order.If yes I have to insert a new condition record with type Z for that sales order after some calculations.
    Does anybody have an idea which user exit should be used so that my new condition comes up in the CONDITIONS tab for the sales order item.
    Thanks in anticipation.
    Vipul

    Hi,
    What I suggest is suppose you want condition type say 'XXX' to appear with some calculated value only when condition type 'X' & 'Y' are present, then let the consultant define that condition type in pricing procedure, with 'Manual Entry not allowd flag on, so that nobody can overwrite the value calculated by your routine in condition type 'XXX'  & let him 'attach; a routine say 901 to it. Now via VOFM in routine 901 you can put your logic. In routine 901 you can loop at xkomv & check if both condition types viz. 'X' & 'Y' are present. IF yes then calculate the value of condition type 'XXX' as per the logic required & pass it on to SAP by xkomv-kwert = w_amount, where w_amount is the value calculated by you as per the logic required.
    I hope this helps,
    Regards
    Raju Chitale

  • Not able to save pricing condition type in Sales order

    Hi
    I have created a SO and there is a condition type pb00 that I have to enter manually. when I save it and come back and reopen the SO, the condition type vanishes. It does not give out any error and i tried different ways of updating like 'carry out new pricing', 'copy manual pricing' etc but it doesnot work. Please let me know how I can save this condition type in SO.
    Thanks
    Princeoflight

    Hi Prince,
    Go to conditons analysis and check the access sequences and what is the message it giving for this condition type.
    Check it once and revert back.
    Best Regards
    Sri

  • How to get pricing conditions while creating Sales Order

    Hi Guys,
                When we create sales order using VA01, price is automatically determined using pricing condition configured.
    My requirement is, I need to know what would be the price of a particular item.Say i put one item A with quantity x,can I get which price conditions will be applied and what value will come for them.I need this because I need to validate this price with some other price put in a file .

    I would suggest to use the Exit because that will be less efforts and you can implment and debug it easily. Moreover, you can restrict it by any condition e.g. order type, order reason because all the internal tables are available at that point.
    Whereas, accessing the access sequence is cumbersome process. You need to go to all the combinations (tables) in the access sequcen and try to find out the suitable match .
    Regards,
    Naimesh Patel

  • Condition update in sales order

    Dear All,
         I am trying the condition update functionality in the condition records. The condition type is a discount condition type maintained in percentage.
    I have updated the check box in the condition type and created a new condition record with the maximum allowed value for it.
    But when i create the order, delivery and billing the condition record is not getting blocked and the system is not giving the warning message even the value exceeds the amount given in the additional tab in the condition record.
    Regards,
    Parthasarathy.R

    Hi Partha,
                     Creating condition update is a special scenario.Let us take the following Scenario.Company xyz decides to sell a new product ABC for a discounted price ,say,Rs 100 until the cumulative value of the dicount reaches 10000.This means that effectively for the first 100 orders this special discount is applicable.Once the first 100 orders are raised then the system automatically stops processing that special discount.But it never blocks the order.
    Regards,
    K.V.S.Phani Prasad.

  • Need no document flow update for sales order create with reference

    Dear All.
    We would like to have the ability to create a sales order with reference to another sales order, and have the document flow of the sales order not updated.
    Unlike the case of a standard create with reference where the documents are linked, in this case there is no relationship between the documents.  The first document is just acting like a template for the remaining documents, to save time during order entry.
    We have turned off update of document flow at the line item level.
    But I don't see a way for us to turn this off at the header (document level).  So wondering if there's another way to turn this off, or possibly through user-exit or VOFM requirement?
    Has anyone else done this?
    I think that CRM has this functionality, but we're still entering orders through ERP-SD.
    Many Thanks!

    Hello Colleague;
    The issue you have reported is SAP standard.  The checkbox "Update Document Flow" (V_TVCPAAP-UPFLU) controls document flow at item level.  If this checkbox is set to blank, there will be no document flow at item level.
    However, the document flow cannot be completely turned off - if the 'update document flow' indicator is blank, you will still see an entry in the document flow, but there will be no update to table VBFA (Sales Document Flow) and the document flow of the predecessor will not be updated at item level (no record in VBFA at item level).                                                                               
    The reason is that the system checks VBAP (Sales Document: Item Data) for fields VGBEL (Document number of the reference document) and VGPOS (Item number of the reference item) for values.  You will always have document flow information on header and item level in the successor because it stores this information in table VBAP.                                                                               
    Related with this issue, you can find a Note 53383 for your review.
    I hope it can clarify the case.
    Regards
    Ruy Castro

  • Pricing Details Required for Sales order Item

    Hi Gurus,
    I have a requirement to get pricing details of sales order line item to be displayed on smart form.
    Please let me know the tables which i need to refer to get the pricing details. Please let me know how I can link those tables from VBAK or VBAP.
    OR
    Please let me know if there is any function modules to get the pricing details of sales order header / item
    Regards
    Avi

    Hi,
    Check with the below table
    Table : VBRK, VBRP, VBFA, KONV tables.
    In VBRK and VBRP you can link with VBELN field. In VBFA table you can link with VBELV fireld.
    Regards
    Thiru

  • Pricing Condition Values in Sales order

    Hi Guru's
    Where the Header level Pricing condition Values stored in Sales Document?
    Thanks and Regards
    Srinivas Kapuganti

    Hi srinivas
    Generally the values are stored at the following tables :
    KOMK - header  data is stored
    KOMP - Item  data is stored
    You can check these tables through SE11 or SE16
    Regards
    Srinath

Maybe you are looking for