Update prices at sales document.

Dear Gurus,
I would like to know if its possible to update prices to a sales document automatically, is there any standar program?
Thanks in advance.
Best regards!
Juan.

Dear Juan,
I noticed you have received some answers from other contributors that probably covers your doubt.
However, I would like to remember another important exits that I have been using in almost every project to assure that sales order being edited get their price conditions updated.
MV45AFZB - FORM userexit_new_pricing_vbkd
MV45AFZB - FORM userexit_new_pricing_vbap
Suppose you are using some fields from vbkd as your keys for some of the discounts/surcharges, then you had better assure pricing will get updated when user manually changes any of these information. See an example below:
  IF sy-ucomm       NE 'LOES'      AND " Insert or change transaction
     " Any Pricing Relevant Sales Order data was changed?
   ( vbkd-zterm     NE *vbkd-zterm OR  " Payment Term     was changed
     vbkd-konda     NE *vbkd-konda OR  " Prc.Grp.         was changed
     vbkd-kdkg1     NE *vbkd-kdkg1 OR  " Prc.Grp.Cond.1 ;  was changed
     vbkd-pltyp     NE *vbkd-pltyp OR  " Price List       was changed
     vbak-vkgrp     NE *vbak-vkgrp ).  " Sales Group      was changed
    " Then reprice keeping existing manual conditions
    new_pricing = 'C'.
  ENDIF.
Regards,
André L L Dantas

Similar Messages

  • 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

  • Updated price in sales order

    Hello all
    my requirement is when I am changing inco terms in SO freight is getting re-determined bcz it has its effect on freight cost
    my requirement is when I change inco terms the price also should also update i should  not select cary out new pricing option is there any such option
    ur response on the above said matter will be really helpful to me pls

    hi kiran,
    u can do that by selcting incoterms option in condition table as key combination.
    so, when ever u make condition record u have to enter the inco terms, so the system will give that price when ever that incorems comes in the sales document for the particular material.
    thanks and regards
    kranthi

  • Billing Document has different price to sales document

    Hi,
    we had an order which generated a billing document for £622 with a pricing date of the 8.02.2007.
    The customer returned the goods and a returns order was created for £622 with the same pricing date.
    The problem is that when the billing document was created using batch program RV60SBT1 the proce changed to £576 but the pricing date remained at the 8.02.2007.  When I look at the pricing conditions it picked up a promotion that was active from the 11.02.2007 - 25.02.2007..
    I cannot understand this as I thought the pricing conditions were determined by the pricing date?
    Am I wrong or is there some setup that needs changing.
    Any help appreciated.

    Hi,
    I've had a look and I have noticed that it is pricing date.  It appears that the pricing date of the billing document & sales document differ.
    We process these billing documents collectively and would like the billing document price date to be the same as the sales order pricing date.  It looks like it's defaulted to the billing date.
    Not sure how to change this.
    Thanks

  • Update GrossPrice in Sales Document using XML

    Hi, experts:
    I want to update SaleOrder via DI Server. The document is based on GrossPrice.  So fileds like Price, UnitPrice, DiscountPercent, LineTotal are not post to DI Server. Here is my Xml:
    <?xml version="1.0"?>
    <BOM xmlns="http://www.sap.com/SBO/DIS">
      <BO>
        <AdmInfo>
          <Object>oOrders</Object>
        </AdmInfo>
        <QueryParams>
          <DocEntry>3524</DocEntry>
        </QueryParams>
        <Documents>
          <row>
            <DocTotal>1100</DocTotal>
          </row>
        </Documents>
        <Document_Lines>
          <row>
            <LineNum />
            <ItemCode />
            <ItemDescription />
            <Quantity>2</Quantity>
            <ShipDate />
            <Price />
            <PriceAfterVAT>200</PriceAfterVAT>
            <Currency />
          </row>
        </Document_Lines>
        <Document_LinesAdditionalExpenses>...</Document_LinesAdditionalExpenses>
        <WithholdingTaxLines>...</WithholdingTaxLines>
        <SerialNumbers>...</SerialNumbers>
        <BatchNumbers>...</BatchNumbers>
        <DocumentsAdditionalExpenses>...</DocumentsAdditionalExpenses>
        <WithholdingTaxData>...</WithholdingTaxData>
        <Document_SpecialLines>...</Document_SpecialLines>
        <TaxExtension>...</TaxExtension>
      </BO>
    </BOM>
    Problem happens when I post this Xml to DI server. With the updating of GrossPrice, I got a discount too. The NetPrice failed to Change with the GrossPrice. I am working under 2007B PL10, which is said to have fixed this bug. Something wrong with my Xml? or how can I prepare my Xml?

    Verner, thank you. I modified my Xml and only PriceAfVat in document_line was posted to DI server. But the discount in document_line still comes out.  As you can see in the Xml, all other fields not shown here are left blank in the xml :
    <BOM xmlns="http://www.sap.com/SBO/DIS">
    <BO>
      <AdmInfo>
      <Object>oOrders</Object>
      </AdmInfo>
      <QueryParams>
      <DocEntry>3516</DocEntry>
      </QueryParams>
      <Document_Lines>
      <row>
      <PriceAfterVAT>650</PriceAfterVAT>
    Still waiting for the answer...

  • Updating price in already created sales order

    Hi all,
    I have an issue. When we create sales order, system will display current date pricing on sales order, for example total value of sales order is 9000. Now before delivery, prices change and we have to manually update price on sales order individually. Is there any report available that can update price of all already created sales orders instead of going on sales order and update one by one.
    Please respond.
    Best Regards,
    AI.

    Hello,
    You can update the pricing for all the created orders at a time in VA05 .
    Goto Transaction code VA05 and give all the sales orders and then in the MENU click on
    EDIT->MASS CHANGE>NEW PRICING
    And update the New pricing, then will carry out new pricing for all the sales orders at a time.
    OR,
    There is also one function module  SD_BULK_CHANGE , Create your own Query in SQV1 and make changes.
    Hope it will resolve , Please revert if you need further details
    thanks,
    santosh

  • Update price in IW32

    Hi all,
            I want to change the RESBD-GPREIS ( prices ) value with net price in Purchase order.
    I know how to get the net price value based PR.
    I am trying to change the resbd-gpreis value using BADI WORKORDER_UPDATE ,  but it is not allowing to change IT_COMPONENT.
    Anyone help me to solve the requirement using this badi or any other user-exit or badi.
    Thanks
    Udaya madhav

    Hi,
    Refer below link
    Update price on sales order
    Regards
    Md.MahaboboKhan

  • Change partners (CR/SP) in Sales Document

    Hi All,
             I have a requirement where I need to change the partner (forwarding agent CR/SP) in sales order if the shipping condition is manually changed in the order. Which is the best possible way to accomplish this task? I am using USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ. The code is as follows.
    IF SY-TCODE = ‘VA02’
    SELECT SINGLE PARTNER INTO V_PARTNER FROM ZCARRIER
      WHERE LAND1 = V_LAND1
      AND   LZONE = V_LZONE
      AND   VSBED = V_VSBED
      AND   TRAGR = V_TRAGR.
      IF SY-SUBRC = 0.
        SELECT SINGLE * FROM LFA1 INTO WA_LFA1
        WHERE LIFNR = V_PARTNER.
        LOOP AT XVBPA WHERE PARVW = 'SP'.
            XVBPA-LIFNR = V_PARTNER.
            XVBPA-ADRNR = WA_LFA1-ADRNR.
            XVBPA-NAME1 = WA_LFA1-NAME1.
            XVBPA-UPDKZ = 'X'.
            MODIFY XVBPA.
        ENDLOOP.
      ENDIF.
    ENDIF.
    The code above does not accomplish the task completely. I am able to see the updated Partner on the screen of partners tab of the sales order but it doesn’t update the VBPA (Sales Document: Partner) table. I guess I am missing some thing else.  Any help is appreciated.
    Thanks,
    Giri..

    Hello Seshu,
    Could you be more specific?
    I have to do a similar job. I have to make VA01 to choose forwarder from a list of possible forwarders, and I got to the point that in the partners list ALV from va01, I complete the partner number, but i can't make it take the complete dates about that number, for the rest of the columns in Partner list(Name, street,...).
    I tried in debbuger to find ADRC table but it does not exist in INCLUDE MV45AFZZ.
    Many thanks,
    Elena

  • Campaign redetermination excisting sales documents

    Hi,
    When we activate Campaigns in CRM, in SAP their are Sales documents which must be involved.
    Now only the new  entered sales documents are part of the campaign.
    What can we do to reprice or something like that, to get the information needed in the "old" sales documents?
    I have found BADi's beginning with CMPD...  but don't now the functionality.
    Who can help me with information to update these "old sales documents" .
    Regards.

    You CAN cancel the invoice which will (as long as the new cancellation procedure is used) reverse the billing document sent to FI.
    This is what I would suggest you do. When items have been partially billed, the condition control of the conditions (KSTEU) gets set to 'F' meaning fixed.  The KSTEU = 'F' is only set if you go to the original document and acess the condition screen after invoicing. This happens in LV61AA03 # FIXIEREN_KOPFKONDITION_
    POSITION and only in the order for conditions which have KSTEU = 'A' originally.
    Once you cancel the invoice, the condition control is no longer "fixed" and you will then be able to make your changes.
    I hope this is helpful!

  • Price change made in billing docu. should reflect in sales docu.

    All,
              My requirement is, when we change the price in a billing document(invoice) it should reflect back in the sales document. Is it possible to do this and if so how do we do this? Can any one please help me out.
    Thanks
    Visu

    Hi Vijay,
    No it is not possible. You can only update the pricing in sales document and it can be updated in invoice and not vice versa. But in order to do that you need to do the credit note and reverse PGI and do the returns delivery if it is delivery related billing, but if it is order related billing then you can just create a credit note and change the price in the sales document and then invoice again.
    Reward points if the answer is helpful
    thanks
    regards
    ravi

  • 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

  • Delivery status update in sales document at PGI

    Normally system updates the delivery status of sales document line level, when a delivery document is created with respect to that sales document line.
    But I want system to update the delivery status (in sales doc. line) when PGI is done for respective delivery document; not at the creation of delivery document. Below I have shown the status updating scenarios that I expect.
    Scenario 1
    Sales doc line qty: 100 PCs
    Delivery Doc qty: 50 PCs
    PGI: Not done
    Status in Sales document line should be A (Open)
    Scenario 2
    Sales doc line qty: 100 PCs
    Delivery Doc qty: 50 PCs
    PGI: 50 PCs
    Status in Sales document line should be B (Partially delivered)
    Scenario 3
    Sales doc line qty: 100 PCs
    Delivery Doc qty: 100 PCs
    PGI: 100 PCs
    Status in Sales document line should be C (Fully delivered)
    Can anyone propose a possible way of doing this (configuration/ user exits/ BADI etc,)?
    Thanks,
    Ramindu

    Hi,
    I dont know it with the use of  ABAP development, but by functional logic, can suggest you to configure the rush order sales configuration for your particular sales order.
    just check that availability of that particualar sales order is met or not prior to it.
    and then automatically when your delivery doc is created, PGI would be done and the status of your sales order would be updated with it.
    try it out on your development client, if it works out.
    regards,
    Siddharth.

  • Block document flow update when creating a new sales document by reference

    Hi,
    I have set up copy rules to copy a quotation to a new quotation. However, my customer does not want the reference quotation to appear in the document flow. Could you please help me with this.
    I have so far:
    - Removed the value from 'Update document flow' in the item
    - Put an empty value in 'Copy item number from reference' and 'Complete reference' at the header level
    Could you please help me,
    Thanks,

    Simply,
    Create sales order (va01)
    Goto  EDIT in menu bar then choose Propose Item or press CTRL + f11 from key board.
    Then provide Sales Document with default with/without quantity or selection list.
    Hope it can assist you.
    Thanks & Regards
    JP

  • Sales Document Type K with negative price

    Hi
    Please, I have the following error. I defined a sales document type ZS01 with sales document category "K - Credit memo Request".
    When i create a sales order ZS01 and define price 1000 USD in PR00 condition type the price is converted to negative ( - ). I changed K for C (Order) and try again created another sales order and when I define the price 1000 USD in PR00 they no change
    Why the price is changed a negative value in sales order with sales document category K?
    Best Regards
    Enrique

    Hi Enrique,
    There is nothing to do with the sales document category here.You can set that one to K only.
    This setting is done in Condition type.
    Goto V/06 T.Code or follow thw path:
    SPRO>Sales and Distribution>Basic functions>Pricing>Pricing Control>Define Condition types>Maintain Condition types.
    Here search for Pr00 using position option.Select that line and goto details.In Control data1 tab there is a field calles ad plus/minus.
    For your case it might be set as "X".Remove that one.
    Save.
    Regards,
    Krishna.

  • Updating Sales document with new sub sequent sales document

    Hello All,
    I am creating one sales contract from one sales document through some user exits and batch jobs.
    After creating this new sales contract i want to update this doc number in Old Referenced sales document flow.
    Is there any standard function module for this.. i tried some function modules containing FLOW..But no use..
    Thanks&Regards,
    Krishna.

    It is resolved..
    as I am using FM SD_SALESDOCUMENT_CREATE to create this contract i just updated the Reference document number in header structure...

Maybe you are looking for

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System? i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3 Now the JRE is jdk1.3\bin When run class that was compiled with jdk1.5,throw

  • How can i transfer my itunes account from one mac to another?

    I would like to transfer my itune library from my work computer to my home computer including apps that have nbeen downloaded.. Any help?

  • Excel Macro problems

    I have Labview 8.2. What I am trying to do is create an excel called XXX.xls.  In that Excel file, I want to create muliple sheets called X1 X2 X3 and so on.  I looked at the example, but could not find anything that will allow me to open the excel f

  • PDFs disappear from iBooks on iPad

    Recently, I installed video material on my iPad which brought it "0.01GB over capacity". I deleted one film to free some space. Soon thereafter, I received an "iTunes can't read the contents of my iPad" error in iTunes and I was unable to install any

  • Need a new sound card for (( PC Works LX520

    Hey mates , I need a new powerful sound card for PC Works LX520 Speakers I need the best compatible sound card for this speakers . I'm using the speakers for Trance , hard rock , games Please pick me a special sound card , But not expensi've . regard