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.

Similar Messages

  • 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.

  • 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

  • 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 .

  • I bought the Star Walk app this weekend on my iPad. Today I went in iTunes to get it for my iPhone and it indicates I need to buy it again (same price). Is there a change in policy?

    I bought the Star Walk app this weekend on my iPad. Today I went in iTunes to get it for my iPhone and it indicates I need to buy it again (same price). Is there a change in policy?

    No, there isn't a change - compatible apps are shown in the Purchased tab in the App Store app on your iPhone. If you bought the HD version of the app then that only works on the iPad, if you want the version for the iPhone then that is a separate app and is therefore a separate purchase.

  • 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.

  • Net Value in Sales order item and header URGENT

    Hi experts
    In some sales orders the net value is not shown but it is available in PR00 condition.
    Where should i check pricing proceedure or copy control,
    In the same sales order type i.e ZRP other sales orders are having net value,
    this sales order is created with reference to sales order type RE.
    Pls guide where to check and what correction needs to be done.
    Thank u in advance.
    regards
    SM

    Hi,
    Pricing procedure in tcode V/08, check the field 'SubTo'.
    Copy control in tcodes VTFA (between SO and invoices).Check the field 'pricing type' for conditions.
    I hope this help you,
    Regards,
    Eduardo

  • Net Value in sales order item

    Hi All,
    Any one know how the system set net value in sales order item? (VBAP-NETWR)
    I mean, what kind of condition type will be considered in net value calculation.
    Thank you

    Hi,
    In Sales Order net value (NETWR) is always value before tax, it means the condition type determined before tax condition will be considered in sales order Net Value.
    In other words if conditon type have a category defined as D-Tax and Cond. class as D- Taxes, the value of this condition type will not be considered in Net value.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Jan 7, 2010 2:00 PM

  • 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

Maybe you are looking for

  • Logical systems in ALE iDoc

    Hi, For exchanging data between two systems(not between two clients of the same system) using ALE iDoc , logical systems should be maintained in both the systems? For eg: there are two systems, system A and system B. i have maintained the logical sys

  • Open dialog box at the press of push button in alv tool bar

    Hi team, I have created alv report displaying field contents.mean while i have created one pushbutton in toolbar at the alv report output for downloading the  data into CSV Format. The requirement is ,At the push of the button, a standard download di

  • Kerberize - Endless Password Prompt (no admin account will authorize)

    I've finally got DNS setup (without ANY errors! hurray!). I've set the server up as Open Directory Master. In OD, when I click on "Kerberize..." it prompts me for an admin name, password, and realm. Realm is correctly set to servername.domain.com I'v

  • Multiple JNDI names for EJB?

    If I'm deploying a webapp that references an EJB, do I have to use the same JNDI name that is configured in the EJB descriptor? Why can't I reference the EJB using a seperate name (as in some J2EE examples)? Thanks, Darren

  • Indesign flips pages when printing

    Hello, Í´m new to Indesign and I can´t figure this out by myself. When I print pages, they need to be double sided. The pages itself are A5, printing on A4. The front prints normally, but the back is flipped upside down. Where would i be able to find