Address change to trigger new price in Sales Order

I need to have a re-price triggered every time an address has been changed in the sales order.  The userexits in MV45AFZB USEREXIT_NEW_PRICING_VBAP and USEREXIT_NEW_PRICING_VBKD aren't triggered when an address is changed, only when the partner itself is changed.
Does somebody know of a way I can do this?
Thanks

I actually found where in the source code is checking whether or not an an address is changed: this is MV45AF0P_PARTNER_CALL_BACK.
One of the reasons I had been having a problem with this is that re-pricing only occurs if the City, State, Tax Jurisdiction code, Country or transportation zone changes.  If it is something like a street name change (for example, we ship to the customer in the same city/zip but to a different street), this did not trigger the reprice.
It is coded like this:
    when part_call_back_roletype_we.
      loop at t_changes where fieldname eq 'PARNR' or
                              fieldname eq 'COUNTRY' or
                              fieldname eq 'TRANSPZONE' or
                              fieldname eq 'REGION' or
                              fieldname cp 'CITY*' or
                              fieldname cp 'PO*' or
                              fieldname eq 'TAXJURCODE' or
                              fieldname eq 'STCEG'.
        rv02p-weupd = charx.
        exit.
      endloop.
rv02p-weupd is the flag that is used to trigger the status for repricing, etc.
So, I suppose, I could change it here to add the street or something. But I've decided that this situation (for us) is a very unlikely that we would ship to a location that just so happened to be in a different street from our customer's warehouse.

Similar Messages

  • 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

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

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

  • Hide Unit price from sales order for sales user without change authorization of document setting

    Hi all expert
    Hide Unit price from sales user without change authorization of document setting.
    I have also refer this note
    SAP B1 2005 Purchas Order,Good Reciept PO'S, and Unit Price Block
    but sill I had not getting my proper solution.
    I want to restrict sales person to see & access unit price. Here I know option of block authorization of document setting but its not good option because , In future ,if sales user wants to changes forms setting in future so Its become problematic for user. so I want do this without restrict user for form setting & only hide unit price table from him/her. also He/her able to access form setting with out unit price.
    Please reply
    Amol Nikam

    Hi Experts,
    Please Tell me Is there any option "Hide Unit price from sales order for sales user without change authorization of document setting"
    Regards/Thanks
    Amol

  • 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

  • New pricing on sales order item after partial delivered and billed

    Hi
    I want to change price of sales order item that already delivered partially and
    billed, but I can't search standard function.
    Can any one help me out  in changing the price of sales order item (VA02).....
    Thanks,
    Wizard.

    Hi DongWoo,
    Under what scenario would you want to re-price after billing?  If you change the price how will your customer know?  You will need to contact your customer and let them know not to pay the last invoice, then delete that billing document in SAP and re-issue it.  When you create the billing document in SAP from a delivery or order you can specify how to re-price in copy control.  Whether or not you want to reprice all conditions, taxes or whatever is in the re-pricing type.
    You need to make sure what we send the customer matches what is in SAP, which is why we generally can't re-price after billing.  Make sense?
    If you want to change the price on the still open items you can reject what is open and enter a new line item.  That will pick up whatever new pricing conditions exist, but you may lose your ATP position & allocation status.

  • 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

  • Create a new field in sales order

    HI folks i want to create a new field in sales order item level how can i create

    Hi,
    Hope this will help you,
    User exits in the screens
    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.
    Fields which are also to be included in the sales document for a specific installation should be included on the Include screens for maintaining. If an application-specific check module is needed for the fields, this can be included in the Include MV45AIZZ. The module is called up in the processing logic of the Include screens.
    For field transports, you do not have to make changes or adjustments.
    Example
    A new field, VBAK-ZZKUN, should be included in table VBAK.
    If the check is defined via the Dictionary (fixed values or check table) the field must be included with the fullscreen editor in the Include screen SAPMV45A 8309. In this case, no change has to be made to the processing logic.

  • Issue while updating(Changing) quantity on line at quick sales order form

    Hi,
    I am facing a issue while changing quantity ordered on the order line in quick sales order form. (R12.1.3)
    Although the same logic works exactly as required in 11.5.9.
    There is a custom logic, post booking line status is Awaiting Shipping.
    Now when quantity is changed +(Saved), the status changes to a custom state but at the same time a new row is created with the same line id but different reservation id in the MTL_RESERVATIONS.
    The quantity here is the difference between the original quantity and the new entered quantity.
    And post completion of the custom logic the original row is updated, but being there a additional row the quantity reserved at the shipping tab comes wrong.
    Our requirement is of update which is happening but not the additional insert which is going into MTL_RESERVATIONS.
    The logic is perfect in 11.5.9 and no additional insert is being made.
    Kindly help and give some ideas for the possible reason the issue.
    Please ask for more information if required.
    Thanks,
    Vishal

    Hi Mahendra,
    I have gone through the note id that you have given. sorry to say that, that is refering to diffrent issue.
    Actually what i did is, At form header level, I have hide the fileds using the folder options. once after changes I have closed the form and re-opened it. by that time I can see that Button names got changed in bottom of the "Quick sales order form". Not sure how it become changed. there five buttons over the form, only two button names got changed.
    Kindly suggest any other options.

  • How to mark up the price for sales order entry?

    Hi Gurus,
    How to Mark up the price for sales order entry?
    Example: Item Price: $10, Adding 20% Margin
    Selliing price of the item is $12
    we are giving many typs discounts like festival Discount, customerwise, Order value wise etc..
    After giving above discounts, if discount falls below $10 system should not allow to book the order, Trigger should go to respective person or sales person saying that item price falling below cost, system should not allow to book the sales order.
    How to configure this scenarios in Order management Module, appreciate your inputs, advise.
    Regards
    AK

    Thanks for your response,
    can you please guide me step to achieve this requirement.
    Regards
    AK

  • Material cost / Price on sales order ?

    Do we get the material Cost / Price (Vendor Material price ) on sales Order ?
    I means can we see the material Cost and Material Sales price in Sales order ?
    Hope my question clear .

    Hi -
          Please follow above answer and ignore my reply. 
    Thanks!
    Anesh B
    Edited by: Anesh B on Oct 7, 2009 4:28 PM

  • BASIC PRICE OF SALE ORDER

    Hi All,
    I have a requirement , i have a report which shows all pending sale order,
    i want to display basic price of sale ordrer ,from which table would i get the basic price against sale order.
    Thanks & Regards
    Lalith

    Hi,
    Pick up knumv fron VBAK. Then access KONV with KNUMV = vbak-kunmv and kschl = 'PR00' ( This could be different, since this is SAP standard ).
    I hope this helps,
    Regards
    Raju Chitale

  • Change of Sold to Party in Sales order created with Reference to Contract

    Dear Gurus
    I want to change the sold to party in Sales Order created with reference to contract.
    When I create a Sales order with reference to contract the system copies all the partner functions- Sold to, Ship to, Bill to and Payer alongwith other data.
    However Sold to is marked as "Grey" and not changable, rest of the partners can be changed.
    There is no subsiquent document created with reference to this Sales Order.
    Please advice.
    Thanks a lot.
    Regards
    Raghu

    Hi ,
    Please follow the below mentioned step.
    1) Create a partner function letts say Authorized SP .
    2) Assign all the possible authorised  SP (customer) in the contract.
    3) When you create sales order with reff to Contract. Put the customer for whom you wish to create a sales order in release partner tab.
    Hop this will resolve our problem
    Regards,
    Krishna O

  • Scehdule Line Date getting change to future date once the Sales Order is saved

    Hello Experts,
    Good Morning to you all,
    This is with respect to the Issue we are facing for the Orders having Product Allocation on multiple materials. Please find enclosed the detials below.
    Issue : Scehdule Line Date getting change to future date once the Sales Order is saved. These Order's are having Product Allocation on multiple materials.
    Description:
    We have implemented Product Allocation few months back.
    We have Product Allocation on multiple materials which are in demand and has been reserved for the Customers of different PA behaviors.
    When we are trying to create the Sales Orders for the normal customer who is not on Product Allocation. The Order Schedule Line is getting changed to future date once the Sales Order is saved after initial creation.
    These Order's are having materials of Product Allocation.
    I have enclosed the sample screen shot of the error we are getting which saving the Sales Order and also the Order Schedule Line screen shot showing future date.
    Error Message : There may be Product Over Allocation in Delivery Group 001.
    Message No : VV023
    This is a random behavior we are coming across and out of 10 Order 2 or 3 Orders is getting this Issue.
    Please share your inputs how to rack this Issue.
    Your suggestions will be highly appreciated.
    I am unable to upload the attacments dont know what the reason.
    Thanks,
    Farhan.

    Check whether you need to carry out the coding corrections as recommended in the following note:-
    Note 52067 - Message VV023/VV024, but no prod.alloc.processing    
    But I wonder this is for older versions and not sure whether this would help you to overcome from the issue.
    G. Lakshmipathi

Maybe you are looking for