Pricing change in sales documents

Hi,
Anyone aware of a FM that can change (redetermine) the prices for all sales documents whenever there is a change in the pricing condition records? I want to pass sales document numbers to an FM...and if there is a update in the condition record of the corresponding condition type used in the sales document, then the prices for that sales document should be redetermined....
I searched for a repricing FM, couldn't find one...any help on this?

hi,
try with the same BAPI_SALESORDER_CHANGE and in the document type mention the type
i hope it will work for sales contract also
cheers,
sasi

Similar Messages

  • Copying pricing procedure from sales document to another

    Hi all,
    I have a sales document type ZDSI that has a specific pricing procedure and one
    sales document type DR that doesn't have pricing procedure.
    When I create a sales order DR referencing the sales document type ZDSI ,
    the item is copied but without any pricing procedure (total sum is 0).
    On the Copying Control: Sales Document to Sales Document - I already tried to set for the item category pricing type = G,E & D.
    I need that the system will use the pricing procedure that was copied for the item ,do you know how can I change it to copy from the referenced sales document?
    TX
    Dana Siman

    Hi dana siman
    In VOV8 For the document type DR check what Document pricing procedure (Dupp) has been maintained and also check in the document type ZDSI what Document pricing procedure (Dupp) has been maintained.In both the document types DR and ZDSI  Dupp should be same  So if you have pricing procedure RVAA01 and its Dupp is A then check in the DR document type what Dupp has been maintained.If the Dupp is same then the same pricing procedure will get copied
    Regards
    Srinath

  • Error while changing CRM Sales Document in R/3

    Hi All,
    I have done the download of customizing, condition & business objects in CRM 4.0.
    Now when I create a sales order in CRM, it gets replicated in R/3. I can see the order in tcode VA03.
    But when I try changing the same sale order in R/3 using tcode VA02, I get the following error:
    "Sales document &1 (5001169) is currently being processed (by user RFCUSER)"
    Would appreciate help from the group.
    Many thanks !

    Hi Krishna,
    The middleware user is locking the order so the document has not distributed through the system properly. 
    Try looking at the inbound queue (transaction SMQ2) and outbound queue (SMQ1) for errors.  Also look at the BDocs in error (SMW01).
    When CRM sends an order to R/3 it waits for a confirmation to be returned, looks like the problem is here, maybe in your delta downloads not being set correctly.
    Cheers
    Andrew

  • Returns pricing procedure for sales document RE !!

    Hi, friends !
    I have doubt in the logic that while doing sales flow from order to billing it picks one pricing procedure. And for returns i want another pricing procedure should be picked.
    As we are giving reference fo Invoice for Returns document it normally picks the old pricing procedure but not the new pricing procedure.
    Please let me know how to configure to pick the new pricing procedure for RE document type.
    Thanks & Regards,
    Sreedhar.
    Email ID: [email protected]

    Hiii Sredhar How are you !!!! where are u !!!
    Go through this steps
    --> First you define the New pricing procedure in the transaction V/08.
    >You define the new document pricing procedure in the IMG path>SPRO>Sales and distribution>Basic functions>Pricing>Price control>Define and assign pricing procedures>Define Document pricing procedure.
    -->Now you assign this Document pricing procedure to the Return order type in the detail screen.
    -->Now you determine the pricing procedure through OVKK transaction with new defined document pricing procedure and pricing procedue.
    -->Maintain the condition records for that condition types.
    -->Now you create the Return order it will pick the new pricing
    Still if it not picks check the Copy control settings In the VTAF transaction
    Go to item details there you eneter "B" carry out new pricing in the Pricing type field
    I hope it will help you
    Regards,
    Your Murali.T

  • Pricing date on sales documents

    Hi ,
    I have a problem. While creating a sales document like inquiry or order, system is not populating pricing date with current date and then system is searching price for 00.00.0000. I want that pricing date should be populated with current date.
    Please respond.
    Best Regards,
    AI.

    Hello,
    Please check the filed PROPOSAL FOR PRICING DATE in the VOV8 for you document types
    If you want the Pricing date to be set as todays date, it should be set as BLANK.
    thanks,
    santosh

  • Mutual Changes of sales document in  CRM and ECC

    HI
    1.We have a scenario as we are creating orders in CRM, but want to change the same in ECC. Also whatever changes we do in ECC should flow back to CRM.
    2.Similarly, if we create sales order in ECC, it should be changeable in CRM and the corresponsing changes flow back to ECC.
    I came across following SAP notes for the same.
    1.889051: Scenario A
    2.642944:Interdependent changes
    My question is What is the difference between Scenario A and Interdependent Changes?
    Please help urgently.
    Regards

    Hi D J,
    Check the below link.
    Data Exchange CRM <--> ECC Sales transactions
    Hope this helps.
    Thanks.
    Best Regards,
    Arun Sankar.

  • Billing date change in sales document

    Hi Experts,
    I have a once scenario in SD where:
    onc customer gives some sales order in a month which should be billed only on 1st date of the next month. can we use billing plan (milestomne billing). it is not a contract just a simple sales order.
    If we can use Billing plan then which and where to maintain the billing plan in sales order?
    Please suggest any solution in standard system.
    Thanks,
    Shyam

    Hi,
    My suggestion is to go for an enhancement.As there is only one invoice,it is not required to use Billing plan.
    Please ask your ABAPer to go for a small enhancement which has to be applicable for this document type only.It has to be written in the save exit of the standard program.
    When the order type is "XXXX" and if the Creation date is today then assign the billing block as 01.nextmonth.year.
    We have similar requirement for our project and we have gone for an enhancement.
    Regards,
    Krishna.

  • Changing Item Description in Sales document through programmatically.

    Hi
    How to change the sales document Item Description programmatically.  I have one customization form, this will open when ever the user tabbed out from Quantity column. In that user form , user might be change the item description. I want to replace the sales document item description with the new one. if i manually replace it , the standard Item CFL will be automatically popup.
    How can i resolve this?
    Regards
    Senthil

    Hi petr,
    Thanks for suggestion, I have already tried this, first of all i have change the Lines description and call the Ctrl+Tab functionality using sendkey method, but problem is after assigning the new description the system will open the CFL immediately.
    Thanks
    Senthil

  • Tracking sales document partner details change

    Hi Experts,
    We need to track the changes in sales document header / item partner details such as address & region in it. (who did it and when).  I would appreciate if someone guide me on looking into CDHDR/ CDPOS with change document object.
    Also please suggest, if there is any other way to track this.  I tried with environment analysis and its not captured there.
    Thanks & Regards,
    P Gomatheeswaran

    hi,
    Ship to party region is different in sales order and customer master.We checked CDHDR and CDPOS tables with object Adresse and Object id  SD01+ Adrc-ADRNR  to check the change in ADRC table at sales order level. Also checked with object Debi  to find the change at customer level.Both are not giving any indication of Change done in the Region field at  sales order level.
    Is other pointers to find this?

  • Interdependent Changes in Sales Orders (CRM -- R/3)

    Dear Sap gurus,
    at my current customer they have implemented warranty complaints in SAP CRM.
    This is a copy of the transaction type CRMC (service complaint)- Type leading transaction category = BUS2000120 (complaints).
    Once the complaint has user status 'closed' this complaint is sent to R/3 for further processing.
    At that moment no changes made in R/3 are replicated back to CRM.
    Note 642944 explains that ou can make changes independent of the system in which you originally created the order. This is called scenario A (compared to scenarios X , Y and Z which are described in oss note 705200 (which are valid for older releases of CRM and R/3). <b>Since we are using CRM 5.0 and R/3 (release 4.7 and one is SAP ECC 6.0) we fall into validity for scenario A.</b>
    You still have a bunch of other related OSS notes such as:
    - 630778: Scenario A: mutual change of sales documents
    - 620139: Scenario A: independent changes in sales documents- R/3
    - 720511: FAQ: Data exchange sales documents (CRM <-> R/3) II
    - 656224: FAQ: Sales documents data exchange (CRM>-> R/3)
    - 642269: Scenario A: mutual change of sales documents - CRM
    - 971782: New Badi for exchanging data from sales document lists
    - 541113: Data exchange scenario for orders (CRM-R/3)
    -490932: Data exchange of sales transactions between CRM & R/3
    <u><b>My question is the following:</b></u>
    Since they speak about sales orders/Sales documents etc all the time, I am wondering if all these notes also would apply in the case of CRM Complaints (CRMC with leading transaction category COMPLAINTS).
    I would like to avoid investigating every single note, if in any case these would not apply to Complaints.
    <b>(Just for the record: the reason why I ask is that for example Product proposal (in the cross selling context) is for example also not supported for Complaints in SAP CRM 5.0, as opposed to Sales orders and Quotations.)</b>
    Thanks for a quick answer for those that already have had experience.
    davy

    To start with I have to describe the actual scenario...(therefore I think Interdependent changes is not valid as Lorna explained already).
    <b>Scenario:</b>
    We are using Complaint management in CRM 5.0. combined with SAP ECC 6.0.
    Now we are not following the standard process flow which is described in:
    http://help.sap.com/saphelp_crm50/helpdata/en/ed/8816f949e90644ada2c210ba2316e0/content.htm
    When Creating a Complaint (CRMC) and adding a unit (individual object/material) at header level, and the spare parts (on item level) we do certain validation checks
    for warranty validity etc.
    On item level we can set the status on either "Accepted" or "rejected"(where we also indicate per item based on code groups if this should be
    - credit memo request
    - free of charge substitute delivery
    After all item statuses are either Accepted or rejected, the user status on header level automatically changes to 'immediate settlement'.
    When this is the case we can manually set the user status to closed on header level.
    At this very moment replication takes place in the form that a Sales Order is created in R/3 with either a credit memo request and/or
    a Free of charge delivery. (these have the same item category as in SAP CRM).
    so far so good. But in this stage no manual changes are possible anymore in the SAP CRM complaint.
    Changes can still be made on Sales order level in R/3 by adding for example another item (spare part).
    <b>My Question now is:</b>
    Suppose a change is made on sales order level (this sales order has the same number as the complain which was originally created in SAP CRM), how can we
    update the Complaint in SAP CRM?
    I first was looking at delta replication for sales documents (described in notes 642944 and 705200) but this is not valid since the actual complaint is not
    replicated to R/3 in the first place.
    The only thing I could think of is making use of some action (profile)...which might for example check if the R/3 sales order with same document number is changed.
    Anyone experience with setting up such a thing or perhaps has another suggestion?
    Thanks in advance
    davy

  • No authorization for a sales document

    Hello,
    We are facing a strange issue. We have some sales orders. When user is trying to Access VA02 and modify a contract, We are getting an error as "No authorization to change this sales document". We could change some sales orders. We have observed two things here,
    A) if a sales order has items in it,--> "No authorization to changes this sales document"
    B) if a sales orders has no items in it --> "No problem with the authorization, we can modify the order".
    Document type used for this sales order is ZC02. We have given ZC02 in role and 01,02,03,43,C1 and C2 activities in the roles along with proper Org values. still we are not able to open the sales order with change mode.
    Could you please  help me resolve this issue??

    That is a custom authorization object and not a standard SAP one, right? My guess, in that case, is that the code that implements that auth object, presumably in a user exit or BAdI in VA02, is incorrect. That must be your code - time to speak to the person that wrote it?
    Steve.

  • Changing Status of document should start workflow

    Hi WF-experts,
    another issue I have to deal with:
    My WF should start after the status of a document has been changed.
    The process is that the customer creates a document and saves the entries (status is "in process"). Later he wants to have the opportunity to change the sales document. If he sets the status to "for approval" the WF should start (with the approval process).
    First I defined the event "CREATED" as start event but that is not right. I enhanced my business object (BUS200115) with a new event and mentioned that one in the start event tab of my workflow. But it does not work.
    Do I have to define an action profile?
    How can I start my workflow after changing a status of a sales document which was already created?
    Thanks a lot

    Depending on the type of document, you can trigger the event by change of status:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4aee2453d11d189430000e829fbbd/content.htm
    For example this works for "classic" SAP objects like production orders, document management documents, etc, and is a very nice way to handle it, because you can easily customize your status profile to support your business process.  These status profiles are maintained in the IMG or transaction BS02 (BS22 displays system statuses for objects that use this status type).
    I've noticed that a lot of newer SAP components don't support this though.
    I hope it is helpful, if not in this case maybe in the future.
    Margaret

  • SD + Sales document ?

    Hello ,
    I have few confusion regarding sales document...
    Okey, first I want to know what is the difference between sales order, and sales document, or they are same stuff...table VBAK field VBELN ( is this sales order or sales document ).
    Then I want to know the invoice no for this sales order....I guess invoice table is VBRK, but there again the invoice no is VBELN ? ( I guess billing document is actually invoice no ) or ?
    Regards,

    Hi,
       The sales order is a contractual agreement between a sales organization and a sold-to party about delivering products or providing a service for defined prices, quantities and times and is created by the supplier/vendor to the customer
    Sales Document:
    The number that uniquely identifies the sales document.
    Use
    If, for example, you want to display or change a sales document and you have only the purchase order number from the customer, you can use a matchcode to find the document.
    Example
    You created a sales order which refers to customer purchase order number 12544-D. To locate the sales order, you can enter =a.12544-D in the sales document field.
    The document number can be proposed from a user parameter.
    The following parameters are available for the individual document types:
    AFN - Inquiry number
    AGN - Quotation number
    AUN - Order number
    LPN - Scheduling agreement number
    KTN - Contract number
    AMN - Assortment number
    <b>Reward points</b>
    Regarsd

  • How to Change a Sales Order using BAPI

    Hi All
    How can we change the sales document using BAPI as the requirement is
    --> First we create a Sales order using a BAPI.
    --> If the sales order is changed then we get the changed order information alonge with the old order data in a CSV file.
    here i have the problem that we are uncertain which fields will be changed some times we may get the item changes or some times we may get the quantity changed information and some times the condition type may be changed . So how to handle this ?
    Thanks,
    Chindam

    Hi,
    try this
    DATA: IT_MESSAGE TYPE STANDARD TABLE OF BAPIRET2,
          WA_VBELN TYPE BAPIVBELN-VBELN.
    DATA: WA_BAPIHEAD TYPE BAPISDH1,
          WA_BAPIHEADX TYPE BAPISDH1X,
          WA_HEADDATA TYPE BAPISDH1.
    DATA: I_BAPIITEM TYPE STANDARD TABLE OF BAPISDITM,
          WA_BAPIITEM TYPE BAPISDITM,
            WA_DATA TYPE BAPISDITM,
          I_BAPIITEMX TYPE STANDARD TABLE OF BAPISDITMX,
          WA_BAPIITEMX TYPE BAPISDITMX.
    CHANGE ITEM DATA
    WA_BAPIITEM-ITM_NUMBER =WA_DATA-ITM_NUMBER.
    WA_BAPIITEM-REASON_REJ = WA_DATA-REASON_REJ. "(REASON FOR REJECTION)
    WA_BAPIITEMX-ITM_NUMBER = WA_DATA-ITM_NUMBER. "(ITEM NUMBER)
    WA_BAPIITEMX-UPDATEFLAG = 'X'.
    WA_BAPIITEMX-REASON_REJ = 'X'.
    APPEND WA_BAPIITEM TO I_BAPIITEM.
    APPEND WA_BAPIITEMX TO I_BAPIITEMX.
    TO CHANGE HEADER DATA
    WA_BAPIHEADX-UPDATEFLAG = 'U'.
    WA_BAPIHEADX-DLV_BLOCK = 'X'.
    WA_BAPIHEAD-SALES_ORG = WA_HEADDATA-SALES_ORG. "(COMPANY CODE)
    WA_BAPIHEAD-DLV_BLOCK = WA_HEADDATA-DLV_BLOCK. "(DELIVERY BLOCK)
    WA_VBELN = '0000000168'.
    CALL BAPI AND PASS THE VALUE
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
       EXPORTING
         SALESDOCUMENT               = WA_VBELN " (SALES AND DOCUMENT NO)
        ORDER_HEADER_IN             = WA_BAPIHEAD
         ORDER_HEADER_INX           = WA_BAPIHEADX
       TABLES
         RETURN                     = IT_MESSAGE
        ORDER_ITEM_IN               = I_BAPIITEM
        ORDER_ITEM_INX              = I_BAPIITEMX
    CLEAR IT_MESSAGE.

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

Maybe you are looking for