Re-pricing of Sales Order in VA02

Part of our requirement is as follows:
For<b> each</b> <b><u>sales order number</u></b> in a list (retreived from prevoius processings), we need to do the following:
1. Go to transaction VA02
2. Edit->New Pricing Document
3. Save
I need the above mentioned processing to be done in <b>Background</b>.
Instead of using call transaction which will cause performance issues, I would like to know if there exist a <b>BAPI</b> or a <b>Function Module</b> that allows me to do the above-mentioned processing on a Sales Order in Transaction VA02.

Hi,
You may use BAPI_SALES_ORDER_CHANGE for the same.
I hope this helps,
Regards
Raju chitale

Similar Messages

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

  • Unable to update a sales order in VA02

    Hi Experts,
    When I am adding a another line item (material) in a sales order in VA02, it deletes the line item in the sales order.
    I.e The second line item is not updated in a sales order.
    Note::
    We have partial deliveries allowed.
    And moreover there is no error message.
    Please  suggest.
    Thanks
    Montee

    Hi Montee
    If order is not delivered completey then you can maintain another line item.But If you are adding another line item, after billing is also completed then it is not possible .So check wheather any Material determination is done for the material or not.Also check wheather any user exit is working or not.So kindly check with your technical team
    Thanks and Regards
    Srinath

  • Condition value getting changed when open the Sales order in VA02

    Hi Experts,
    i have creating Sales order manually in VA01, and for first line item of sale order, i have assigned value in custom field of additional tab B, to populate Condition value for condition type ZK01 and checked in VA02, VA03 same Condition value is there for condition type ZK01.
    And created delivery document and billing document for newly created Salesorder.
    When i have open the Sales order in VA02, then i am getting changed Condition value for conidition type ZK01 in bothe header and first line item and in VA03 there is no change in value.
    Kindly let me know the user exit or any related programs to this issue.Thanks in Advance.

    Hi Rajani,
    this sound like VOFM -> conditions. Do you know which conditions are active during the determination?
    Cheers,
    Stefan.

  • Cancellation of sales order through VA02

    Hi experts,
    My user wants to cancel some sales orders through VA02.He select line item 10 and then goes to "reasons for rejection" and put " 51 cancelled".then save it.Systems shows following error and he unables to cancel it.
    You cannot select assembly order 16000014794 for deletion
    Message no. V1748
    Diagnosis
    Due to the current situation of the document, the system has attempted to mark the procurement element 16000014794 with a deletion flag.
    This could, however, not be carried out, as the procurement element was in a state that does not allow the deletion flag to be set.
    System response
    The deletion flag is not set.
    Procedure
    Eliminate the reasons that stop you setting the deletion flag, and repeat the change carried out on the sales order.
    Please advise.
    Regards,
    Samaar

    Not answered

  • Have to provide a popup when there is a Sales order change(VA02)

    Hello,
    I would like to know how to capture Sales order changes(VA02) through an enhancement. Based upon users changes which can be either a addition or deletion in sales order then I have to provide a popup. I am unable to find out whether Sales order has undergone a change or not. Field r185d-dataloss is alway having 'X' whether data has changed or not. System field SY-DATAR is not capturing any deletion is sales order.
    I am using USEREXIT_SAVE_DOCUMENT_PREPARE but unable to check sales order is changed or not.
    I need to provide popup after user clicks on Save. Tables CDPOS & CDHDR won't have current sales order change.
    Thanks for your replies.
    Edited by: harryibm on Dec 11, 2011 8:07 PM

    I am using USEREXIT_SAVE_DOCUMENT_PREPARE but unable to check sales order is changed or not.
    Donot do any changes and hit save. check if this routine is triggered if you are not changing anything.
    In program MV45AF0B_BELEG_SICHERN there is a condition
    IF R185D-DATALOSS = SPACE       FORCE_UPDATE   = SPACE     AND
           UPD_VBUK IS INITIAL        AND
           UPD_VBUP IS INITIAL.
    The else part will only tirgger if its changed. The routine USEREXIT_SAVE_DOCUMENT_PREPARE is called in the else part.

  • Re-Pricing on sales order

    Hello All,
    How can I redetermine pricing for a change in item partner. The user exit USEREXIT_NEW_PRICING_VBAP or USEREXIT_NEW_PRICING_VBKD does not have visibility to VBPA table...
    Thanks,
    Sunny.

    But, the exception to that is the service render date should be of w.r.t. new tax values
    & this will be determine from delivery doc date.
    case1. could you please elaborate the above point?
    why delivery doc date shall determine the tax value? is it not the pricing date and the validity period of the condition type in the condition record that determine the values?
    Business scenario with different pricing procedures - sales order & billing doc.
    this "concept" (of diff pps) is still not clear.
    1. From a business process perspective, why shall I tell my customer, via my sales order that the price = 100EUR and bill him another price, e.g. = 90EUR?
    moreover, if finally i want to give my customer at a reduced price, then i would tell him this upfront (during the creation of s.o.) as this is to my advantage.
    2. "Gross Price, Taxes, Discount, Rebate, Freight, Frieght related Insurance charges, Handling charges, etc." All these condition types I can have in one pp and then with requirements; e.g. in the case of Rebate condition types requirement =24,25; in standard functionality; activate or deactivate when required. Thus why do I need 2 pps, as you have suggested in this example?
    other examples are welcome!
    many thanks, in advance!

  • User-exit for  carry out new pricing while sales order save automatically

    Hi all,
    I need to carry out new pricing while sales order save automatically. Please any one help me to finding proper user-exit to achieve my requirement.
    Thanking You.
    Moderator message: please search for available information.
    Edited by: Thomas Zloch on Jan 11, 2012 12:53 PM

    Pl help.

  • Sales Order Change VA02

    In Sales Order Change VA02
    Header > Texts
    User is not able to enter or edit text
    Because it is showing as greyed out
    Please Advise

    Hi,
    Check in SE75, Select Text Objects and Id's, choose yout text object (Standard is VBBK for Sales), select your Text Id and see whether the field "Display is Title' is checked. IN case it is checked, then uncheck it and save.
    Now check in VA02, it should be in editable mode.
    Regards
    Vamsi

  • Back Calculation in Pricing for Sales Order.

    Hello friends,
    Please help me out with this below mentioned problem in the Pricing for Sales order.
    I am creating a Contract with Customer and Plant from the same Region (State), while creating the subsequent Sale order I want to use the plant of some other Region which is different from the contract. In this case the pricing will change as there will be different Taxes (%) that would be applicable for different Region.
    Now the requirement is that we want to use the Final Selling price which is calculated in the contract, therefore by keeping the Selling Price Fixed we have to backtrack and calculate new pricing accordingly.
    An example for the same is explained below:
    When Both Customer and Plant are from same Region:
         Particulars                        %           Value
    A     Basic Value                                       100000
    B     ED                     10.30%           10300
         Sum total (A+B)                                 110300
    C     VAT                        5%            5515
         Sale Price (ABC)                                 115815
    When Customer and Plant are from different Regions:
         Particulars          %           Value
    D     Basic Value (A-B-C)                  92105
    C     ED                        10.30%            9487
         Sumtotal (A-B)                  101592
    B     VAT                          14%            14223
    A     Sale Price                                       115815
    Please reply with possible solutions.
    Thanks and Regards,
    Edited by: Lakshmipathi on Oct 4, 2011 5:41 PM
    Thread Locked - Reason Cross Posted

    Hi Nitin,
    Go through the bellow links you can resolve your problem.
    Re: Reverse Calculation in Pricing Procedure
    Reverse Pricing???

  • Activating Pricing for Sales Order in Retail

    Hi All/Vijay/KK,
    Please tell me how activate the pricing for sales order, actually in SD we do Pricing Determination, what has to be done for Retail pricing

    Hi,
    To do sales order pricing
    Goto IMG>Sales & Distribution>Basic Functions>Pricing>Pricing Control
    Either Follow Standard, condition type PR00
    or in case of Custom
    1. Use condition table 406 Site/article
    2. Define Access Sequences ZPR0
    Enter accesses:10 406 Site/article Exclusive x
    3. Define Condition Types (ZPR0 assign newly defined access sequence)
    4. Define And Assign Pricing Procedures (assign condition types ZPR0..etc. to it)
    Then maintain condition record , go to VK11 --> Enter your Z condition type (eg. ZPR0)., enter the amounts.
    Add the pricing procedure , to sales document type.
    For Retail Sales Pricing
    For Retail Sales Pricing based on Purchase pricing you can follow the following method:
    The retail price is always based on the purchase net/net price. This purchase net price is built up from the purchasing pricing elements or condition types defined to be included in the purchase net price. A planned mark-up is applied to the purchase net/net to calculate the proposed retail price. The planned mark-up can be set by merchandise category and for exceptions, more specifically by article.
    You can perform Two-step calculation for retail pricing, for example, for stores that are supplied by a distribution center (internal vendor). Calculating sales prices for the stores is based on the transfer price for distribution centers (preceding organizational unit).
    1. Set up Master Data (WB02) - Relevant Fields should be maintained
    2. Set up Article Master Data - Logistics DC and Store View (MM42)
    Relevant Fields should be maintained
    3. Maintain Mark up for DC(VK11) -Markup % at Distribution channel distribution chain level
    Mark ups maintained at two levels:
    For DC: At distribution chain level
    Condition type used: AUFS
    For Stores: At article level
    New condition type ZUFS created.
    4. Maintain Mark up for Stores (VK11) Markup % at Store distribution chain level
    5 Create Pricing Procedures (IMG) -Pricing Procedures created
    6. Carry out Price calculation for DC(VKP5) - Pricing Document created - DC Transfer price calculated
    7. Carry out Price calculation for Stores (VKP5) - Pricing Document created - Final Retail Price Calculated
    The final retail price that is calculated is stored in the condition type VKP0.
    Hope it helps,
    Regards,
    Anirban Roy

  • Credit Check during Sales Order Change (VA02)

    Hi,
    We have implemented a credit management system, where the sales order will not get saved if the credit limit is exceeded. Now this check is working fine during sales order creation. But in VA02 during sales order change, the system is giving an information message that the credit limit is exceeded, but is allowing to save the order, which is not desirable. Could you all please help me in finding a solution to this problem..
    Thanks & Regards,
    Ritam Bera

    Hi
    Kindly check that you are using simple credit check or automatic credit check(Statis or Dynamaic) below settings
    If Automatic credit check then  go to  OVA8 -automatic credit control area with combination of Credit control area/Risk category /credit group,Check in the reaction field  you have mentioned the error or warning (B or A) .
    Prerequisites for credit management to work in Sales and Distribution:
    1.Assign credit control area to company code
    2.Maintain the credit limit in FD32 with details of risk category and the credit limit value
    3.Do the settings in OVA8 -automatic credit control area with combination of Credit control area/Risk category /credit group,Check in the reaction field  you have mentioned the error or warning (B or A) .
    4.Assign the credit groups to the sales and delivery document types.
    5.Maintain the Subtotal 'A' in the pricing procedure against which value the sytem should check the credit limit.
    If you have any further clarifications on above let me know
    Regards
    Damu

  • Cancel Confirmed Quantity in Sales Order Item (VA02)

    Dear All,
    I am having the following scenario :
    Customer have created a Sales Order, item 10, schedule line 1 with quantity 120.  The delivery date is 2011.12.22. 
    They have confirmed the quantity using the "Check Item Availability" function. 
    They have then changed the delivery date from 2011.12.22 to 2011.12.23.  The problem arises that in the "Availability Overview", the system still show the confirmed quantity is on 2011.12.22.  It doesn't release the confirmed quantity after we have changed the delivery date.  And what is worst is the system is prompting me that no stock is available on 2011.12.23.
    Does anybody knows how to release the confirmed quantity in the schedule line.  I have tried in VA02 by modifying the schedule line details.....  but does not work..
    Thanks.

    Hello,
    One easiest way is to reject the line item and add a new line, make the delivery date as 23rd. Once you reject the line item the confirmed schedule line get reversed.
    You can try with CO09 also.
    Regards,
    SAM

  • Calculate Pricing in Sales Order Based on Characterestic Values

    Hi All,
    We are using Sales Order and assigning service product as material. On saving sales order, a service order is created. Per SAP standard design, we can only assign Qty=1 for the service product. As a work around, we have a characteristics that captures service quantity. Now I want to influence pricing based on this char value using Calculation Type Formula in the pricing procedure.
    Please suggest as to how I can capture the characteristics value in the formula routine created using VOFM? Is there any structure that shows the characteristics value during run time of order creation?

    hey,
    go throw structures KOMP ( VBAP ) and KOMV ( VBAK) and manipulate with your subroutine
    the qty and the net value .
    Before Saving - KOMK,KOMP --> running the pricing functions ( matching according to the access )
                          ---> KOMV --> XKOMV
    After Saving    ========>      VBAK/VBAP
    you can capture the values throw this structures .
    BR
    ASA

  • How to stop system from doing calculation of pricing in sales order?

    Recently I am working on how to stop consecutive entries of identical condition type in pricing of a sales order. For this I have written a custom routine to track multiple identical condition type. If it gets multiple condition type then system shows error message. But after this while pressing back button of the SAP Screen System is doing the corresponding calculations for all the condition types. I want to stop this.
    Is there any way to do so that I can stop the system form doing the calculation. Or is there any way to disable back button of the SAP Screen. Basically I want to stop a user from posting a sales order if he enters multiple identical condition type in a sales order.

    Transaction VOK0
    If you go to Condition Type -> Access Sequences and highlight the relevant access sequence and navigate to folder "Accesses" there should be a column which indicates "Exclusive". This check box should be active. This will prevent duplicate condition types.

Maybe you are looking for

  • Text on schedule line of Scheduling Agreement

    Dear All, I want to maintain some text on each schedule line of JIT Delivery Schedule of Scheduling Agreement. Also this text should flow in Delivery as well as in Billing Document. How to maintain this text ? Regards SAGAR

  • Report : invoice list

    hi In my function specs 1) pass vbeln to vbpa, partner role = 'WE' & 'RG' and get the ship-to-party and payer (kunnr) from vbpa table for each billing document from the first line item of the invoice. if ship-to-party code is entered in selection scr

  • Where to find WSDL files in CRMOD R18

    I am having trouble finding the WSDL downloads in the latest version of CRMOD (R18) In the past they were available by clicking Admin and then they were in the bottom left corner. The docs say they should be there as well: https://secure-ausomxdsa.cr

  • "Greyed out" issue when syncing photos

    This is the first time I have attempted to load pix from mac to iphone after installing ilife '08 and now I do not have the option to select a folder or album under iphoto --- only the ability to download the entire library. All options except "all"

  • ITunes for Windows Vista not launching

    Will I have downloaded and installed it about 6 times now but I am getting to same message "iTunes has stopped working" but it never even starts up or anything so please help