Pricing Routine - unable to enter new net price in sales order

Hi all,
  I have a routine 993 in sales order which is in Column 'Bas Type' in pricing procedure .  The routine has statement like this that calculate the unit price:
  If xkomv-kbetr is initial.
        xkomv-kbetr =  komp-netwr /  kmeng  
Endif.
This calculate the net price which appear in the column 'Amount/Net Price.   In the order, the user can change the net price in column 'amount'.  However, if i remove the line  "If xkomv-kbetr is initial",   the user can change the amount, but the amount value will stay as the original amount.  I don;t understand why this happen.   I have been debugging saplv61A (FM Pricing) but unable to get the flow.   Can anyone pls provide guidance ?
Thanks
Joyce

Hi Joyce,
I'm just wondering how you solved this issue - would it be possible to post a solution please?
I have a similar issue (KBETR field is overwritten, after I change it in my VOFM routine)
I posted my question here:
VOFM (Pricing Condition) FREIGHT - unable to edit Amount value (KOMV-KBETR)
but haven't received any replies!
Would appreciated any help you can offer.
Thanks.

Similar Messages

  • Need to pull INITIAL(vbap)net price of  Sales Order, after changing viaVA02

    Hi Experts,
    Mine is differetnt requirement..........
    I created a my_Sales_order_12345678 with 2 items, as follows,(all following values/entries r for my_Sales_order_12345678)
    line item_10---->net_value_netpr = $100
    line item_20---->net_value_netpr = $200
    Then the VBAP entries as r as follows,
    POSNR -
    >NETPR
    10----
    > $100
    20----
    > $200
    I changed first time as via VA02 tx, as
    line item_10---->net_value_netpr = $300
    line item_20---->net_value_netpr = $400
    Then the VBAP entries as r as follows,
    POSNR -
    >NETPR
    10----
    > $300
    20----
    > $400
    I changed second time as via VA02 tx, as
    line item_10---->net_value_netpr = $500
    line item_20---->net_value_netpr = $600
    Then the VBAP entries as r as follows,
    POSNR -
    >NETPR
    10----
    > $500
    20----
    > $600
    My requirement: for some reason, I need the initial values, I mean
    the VBAP entries of,
    POSNR -
    >NETPR
    10----
    > $100
    20----
    > $200
    I tried with CDHDR & CDPOS tbls, but no use? So, from Where Can I get/pull them??
    thanq
    Edited by: Srinivas on Jan 24, 2008 12:22 AM

    hi sirnivas..
    Thanq you for the points..these are the first i ever recieved..
    if you are working on peice of code which can get the price history do me a favour if you have finished the code just explain it to me who did u  do that...
    i have been working on an object from last two weeks to get the latest price...
    the thing is even though the price for condition items has been changed it wont get updated in the Sales orders unless new pricing fot the document is done...
    so i have to get all the sales orders who condition items price has been changed and display them in an ALV...so if you can get the exact old values...for the conditions i guess the opposite also can be done.....
    Here i have suggestion for you...in condition items there is a process called SCHEMA ( pricing Schema) which you can see using Condition Analysis button at the bottom of the condition item window...
    you can see all the price changes to the condition when you parse the tree structure of the procedure..EXAMPLE :- R0000 etc...
    so some Sales orders if the Schema has been changed all the existing condition are replaced by New ones from the changed Schema...so i guess that would play an important role in deciding the Price of Sales order...
    I know this is bit long but .....if you did finsish your program do let me know how you did it...
    Thankyou very much and good luck.

  • Which structure field contains the header level net price of sales order ?

    Hi Friends,
    I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is   (NET PRICE / NET SALES COST) / NET PRICE.
    Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.
    Any ideas is highly appreciable.
    Thanks,
    Sakthidoss.

    Sivanand,
    I can not use VBAK as I have not saved the sales order yet and before that I need to calculate the pricing condition. In the sales order header level, net price is showing. I want to know which structure contains that net price value.
    You have any thoughts whether I am in correct path?
    I will certainly appreciate your help by rewarding points.
    Edited by: dossgs on May 20, 2010 2:13 PM

  • Change of Net Price in Sales Order

    Hello Experts!
    I wanted to know how the "Net Price" of a sales order can be "changed" by the system or "indirectly" by the user.  I have an issue with the net price that changed in the sales order, and wanted to know how this could have happened; <b>besides</b> changing the pricing conditions, price adjustments, and order surcharge.  Is there someway the system could have changed it or user "indirectly"?  Please advise.  Thank you in advance!
    WC

    Net price is not changed directly.
    It's chanegd via changes to pricing only unless you have some code which updates this field AFTER SAP calculated it based on pricing conditions.
    NOTE: if you reject line items it's vlaue is substracted form order net value, the same is true if any of your pricing conditions is made inactive due to various reasons.
    Changes to pricing condiitons are not shown in order change history, you can see changes per condition record, but if any of your conditions in sales order was made inactive - you won't see it in change log. One of the options may be - if you generate any outputs (IDOCs) which send pricing info - you can check those IDOCs to determine when & what was changed in the pricing of your order.

  • Net price in sales order

    Hi,
    The Net price which displays in my sales order conditions on top is wrong . Where is the calculation done for this in pricing procedure.Kindly let me know how to calculate the net price.

    Hello
    You control this in your pricing through Condition formula for Alternative calculation type (on of the 16 fields in Pricing).
    For this if you refer Std pricng procedure RVAA01.
    The net price is net price & taxes in sales order b'coz of [alternative calculation type as 4|https://docs.google.com/leaf?id=0B-5wCmYJ-6dlOTc3OTk1MjctZmIzOC00NmExLTk0N2MtNTcyMzBiYzFjOTc4&sort=name&layout=list&num=50] (check the link).
    So if you want only net price to be there then use alternative calculation type as 2.
    I hope this clarifies your requirement.
    Thanks & Regards
    JP

  • KE30 doesn't match with sales order gross and net prices of sales order

    KE30 for sales anlysis by sales document amounts are not matching with actual sales order..that too only for credit memo request type of documents,rest of other type of docs match...my controlling area in USD currency where as the sales documnets are created in canadian currency, report is being converted in mean conversion rate..all other documnets are matching, except credit memo request. Do you guys have any idea, where and what to to check? thanks

    Hi,
    Thanks but that is not a soluction. When the sales order is created by DP90, if there is a field mandatory the incompletion log should be activated as when you create the sales order by transaction VA01.
    It's clear that if you go out of the sales order created by DP90 without any change, the incompletion log doesn't active.
    Any idea o reason? Possibly I will send a oss note but I previously hope your considerations.
    Thanks in advance

  • Getting the Net Price from sales order into PO

    Hi All,
    I want to get the netprice from sales order to PO just before creating the PO.
    Is there any user exit for that.
    Thanks,
    Praveen

    where u are creating PO ? How u are passing Sales Order Number to PO ?
    regards
    Peram

  • WebUI : Entry Price in Sales Order - not user friendly

    Dear all,
    Have any of you use Sales Order entry on SAP CRM2007 WebUI ?
    I would like to hear comment from you regarding on how you enter the item price in Sales Order module.
    This is what I found, to enter single price for a product you need to go through at least 3 steps after you
    open Sales Order Document.
    1. Select/Enter the Product and Click on Edit for that particular product
    2. System will open next page showing more detail info of that Product
        here you need to click on Price section again
    3. Finally the system will show the page where you can enter the price
    For each of page transition the system may takes 3-7 seconds, so up to around 9-20 seconds user needs
    to spend just to entry a single price in one Item.
    Even worst, if there is more that one product, user have to click on back button couple times to go back
    to main document to click another product to edit. Means another waste of time!
    I like to hear comment from you and if you have better idea on how to simplify this, it will be great!
    Some development effort on WebUI components need to be done I think, appreciate if you can lead
    to more simple way to accommodate this. 
    Thanks,
    Gun.

    Hi Michael,
    Is the configuration of easy condition entry only for IC WebClient?
    Because that is what I found in SPRO for Set Up Easy Condition Enty documentation (at Condition 1
    field).
    Now, my initial question is refer to entry price at Sales Order transaction in Web UI (not IC WebClient).
    I tried to setup Easy Condition Entry,  put my pricing procedure and maintain condition 1.
    and set visible for field Condition 1 Value and Rate in the items table.
    I can see the fields, but I can only see fields can be modified/enter if I have maintained manually the price
    at normal way (click Edit on item line, then click Edit again on Price, then click again to maintain the
    price).
    I applied Notes 1292789, but this even worst, Condition 1, Value 1, Rate 1 cannot be edited.
    Is there any missing prerequisite setting here?
    Have you tried this works on Sales Order entry on Web UI (not IC Webclient) ?
    Appreciate your further information,
    Gun.

  • To add Net price in Purchase order

    Hi,
    I have a sceneria where i need to add net price against line item which was marked as free in purchase order (Net price is 0). Subsequently material was deliverd from vendor and GI also was done. Goods receipt is also completed. This material batch number is consumed for custmer sales orders subsequently. There is 0 quantity available for this material in the plant. Now the user wants to change the net price to 2 for the line item. To change net price in purchase order, we tried to cancel GR material document.But we get an error that 'Deficit of unrestricted use' for the batch number.
    Can any one give us solution for changing the net price in purchase order?
    Regards,

    Hello,
    the only chance to add a PO price is to unflag the free flag in ME22N.  This is only possible when quantity received for the PO is zero. Therfore you must reverse the quantity received by doing a dummy receipt for the batch, reverse the GR for PO, you change the flag, set a price, redo GR for the PO, reverse the dummy receipt.
    Hope this helps, regards
    Michael

  • Can I modify the column "Net Price" of purchase order to display 3 decimals

    Dear expert,
         Can I modify the column "Net Price" of purchase order to display 3 decimals?
         Looking forward to your reply.
         Many thanks.
    Best Regards,
    Merry

    Hi,
    You can easily change ur decimal place in OY04 by seeting number of decimal place to ur currency.
    But be careful as it cause a huge effect to ur finance documents, read system message carefully before applying.
    Regards
    ManUfacTuReR

  • Total net price of purchase order

    hi,
    i want total net price of purchase order . In that purchase order have two positions. how we can add this two position price.

    In the table EKKO - netwr . or EKPO field netpr .

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • Change price in Sales Order created with reference with Quote

    Hi Experts,
    Need to change price (eg..1000USD to 1100USD) in sales order (va02). Here Sales Order is created (va01)with reference with Quote(va21) where price in maintained (as 1000USD). so price in Sales Order is copied from Quote. Now, If I want to do the change in Sales Order (from 1000USD to 1100USD) kindly suggest me what are all the possible ways. Can I do the changes within the existing documents rather than creating new docs. due to the change.
    Note: User is creating new Quote with 1100USD and creating subsequent new Sales Order with new Quote.
    Thanks
    Viswanathan

    Hi,
    In va02 you double-click on the material that has been entered, then in the new screen goto the condition tab, here u will find the $1000 that you have entered, and then change it to $1100.
    Swapnil

  • New configurable position in sales order

    My greetings!!!!))))
    This is a question, how can I create a new additional position in sales order by copying already existent configurable position with inheriting all characteristics values, source document number and e.t.c.?

    hai justin,
    check the variant condition type VA00, in your pricing procedure.
    if you maintained VA00 condition type in in pricing procedure, it will pick the particular configurable material price, according to the charectrestics You maintained.
    In Transaction code: v/06, you can see all the condition types.  If you are not finding conditon types when you are creating sales order, those condition types are not maintained in your pricing procedure.
    hope this will help you
    srinivas

  • Update price on sales order

    Hi All,
    we have this requirement as below:
    Update price master data every half year, once the price is updated, all price on the sales order should be refreshed. Does SAP have standard function to update price on sales order?  We don't want to refresh sales order one by one, after the price master is updated.
    Thank you!

    Hi,
    You can try with t-code MASS but you'll not have an option of Pricing Update over there, but I can suggest you one wayout in this situation as below:
    - Go to MASS
    - Select object type BUS2032
    - Select Sales Order Header data
    - Click on fields
    - You will see Pricing Date field
    - Select and execute
    Logic behind this option is as below
    - your old sales orders would have old pricing date on which old pricing records were existing.
    - once you prices are updated half yearly and if you change the pricing date system will again look for the condition records and then it will update the prices as per new pricing date
    I have not done this actually, but this may work because logic seems to be right.
    Hrishi

Maybe you are looking for