In VF02 to change existing Sales order

Hi Gurus,
    Have Scenrios to change in exsting sales order ,to change the Condtion class based on the line itemwise.
Please guide how to do it ,have check the sales order  BAPI_SALESORDER_CHANGE but its not working.
Regards,
san

Hi vinod,
     Ve assigned the new condtion class  for new sales order its picking correctly but existing sales order are more than 8000 for that need to change...ve cant create new sales order some of are open sales order.that need to change existing one ,please guide how to achecive/
Regards,
san

Similar Messages

  • Mass change - Move existing sales orders from Sales org A to Sales org B

    Good morning dear network,
    am seeking for your guidance on one specific matter.
    We are in the process of making changes to our billing / organisational structure (new sales orgs)
    One of the challenges is that we need to move existing open sales orders from one sales org to another (new) sales org.
    If all master records exist in the new sales org, is there a (technical) way of moving the existing sales orders from the current sales org into the new sales org, without having to replace each order individually ?
    would welcome any suggestions.
    Many thanks

    I would recommend to close the existing open sale orders by assigning Reason for Rejection and create new sale orders in the newly created sales organisation.
    This is due to the fact that you need to ensure each and field in the existing sale orders to match with the newly created sales organisation and it is bit time consuming.
    Still if you prefer to what you had indicated, LSMW is the better option
    thanks
    G. Lakshmipathi

  • Change of existing sales order (WCEM 3.0 SP1)

    Hi all,
    does anyone of developed the feature to change a existing sales order?
    Any hint to do it the best way?
    Thanks in advance,
    Meikel

    Hi Meikel,
    personally i haven't modified the sales order, but i did something in relationship to service orders. Both types are transaction documents in kind of the same but both using a different transaction type-id.
    Within WCEM the GenIL Layer has been integrated, which kind of gives you the chance to create, read & modify those transaction documents.  The java interfaces which SAP has build is calling behind the scene the corresponding ABAP RFC function - should be the same as the WebUI does. This function is used for the e-service integration and should provide you what you need.
    Just another hint: Not sure if my change request has been applied, but take a closer look into the toString() output of the GenIL (container) objects. When i was initially using it, the toString returned the string representation from the current object up to the root (excluding the child elements). Unfortunately this made it tought to understand the current status of the document. If my change request was applied, then you should get the output of current objects including all child elements recursively - if not, then just overwrite the toString() and generate a XML like output. That will safe you a lots of time to understand what is actually happening and within a short timeframe you  can implement your logic.
    Cheers,
    Andreas

  • How to Change the Existing Sales Order Transaction

    Hi all,
    I am trying to change some of the fields in Existing Sales Order Transaction.
    Fields which i am trying to change are Ext. Reference number and Net Value.
    I am using CRM_ORDER_MAINTAIN to do so but its not working. I dont know if some BADI can solve my purpose.
    If anyone of you have done something like this please share with me and suggest me the solution for that.
    Thanks in Advance.
    Regards,
    Manoj Tiwari

    That you should be able to do in ORDER_SAVE badi.
    You will be able to find lots of discussions on usage of this badi here in this forum.
    You need to call ORDER_READ, then call ORDER_MAINTAIN to change the values according to your requirement.
    Regards,
    Kaushal

  • Unable to change the existing sales order

    Hi
    I need to change the existing sales order document which was already created and replicated into R/3.The following error has been giving
    "Document is being distributed - Changes are not possible".
    Can anybody help me how to change the document.
    early response would be rewarded,.
    Regards
    Vikram

    Hi Vikram,
    The problem is caused by a program error.
    Please follow the SAP Note for complete information.
    SAP Note : 718065
    Regards,
    Johnny.
    Reward with points if it helps.

  • Changing the Availability Check key in an existent Sales Order line

    Hello gurus.
    Is it possible to modify the Availability Check key (VBAP-MTVFP) of a material in an existent Sales Order line?
    I changed it in the material master, but since documents are not automatically updated, I wanted to modify this value in an existing sales order line. I am not even able to find the field in it.
    I had to delete the order line and create it again, but then I have troubles getting the exact same confirmed date that I had before.
    Any help? Thank you.

    You cant see at item level.  To see in sale order, click from top menu bar, Environment -- Availability.   Now you can see the availability check on top of the screen.
    Meanwhile, I dont think, this field will be in editable mode once partial delivery is made in which case, LSMW also wont help you.
    If your requirement is desperate to change the availability check, to me the available option is close the existing sale orders, create fresh orders after changing the availability check in material master.  On the other hand, if you want to change only in sale order, then the option is LSMW as you cant even succeeed in TCode MASS
    thanks
    G. Lakshmipathi

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • Using DTW to change a sales order shipping address

    I found a template RDR12 and according to the di help file this seems to correspond to the addressextension object.
    I want to use this template to change the address information for an order. Either an existing order or a new order as it is imported.
    Can I change the address information showing in the shipping address box on the logistics tab of an existing order using this template and a csv file?
    Is it independent of existing addresses associated with a business partner?
    I tried importing a row corresponding to an existing sales order, using the sales order DocNum as the primary key. It did not work, giving the error, Can not find this object in B1 Application. I verified that the order existed.
    Can anyone point me to an example or give me information regarding how to use this template?
    Is what I want to do possible?
    Thanks,
    Mark

    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.

  • Modify the Net price of an existing Sales Order

    Hi,
    I got a requirement to modify the Net price of an existing Sales Order. I have called BAPI  "BAPI_SALESORDER_CHANGE" for this purpose but its not working. I have passed the New Price in  CONDITIONS_IN table parameter. Can you help me with any BAPI or FM for this purpose.
    Mukesh KUmar
    Moderator message : Duplicate post locked.
    Edited by: Vinod Kumar on Dec 7, 2011 9:40 AM

    Talk to your SD consultants. Net value is determined based on the pricing conditions. Pricing configuration is usually unique to each business, so your SD consultant should know how the pricing condition should (and may) be changed in your specific situation.

  • Tracking Post Booking changes to Sales Orders

    Hi,
    We have a requirement for routing changes to Sales Orders through an approval after booking of the order. The changes which need to be tracked and routed through the approval workflow are changes to Scheduled Ship Date and Quantity in the Order Lines.
    Please can anyone in this forum provide ideas/options for developing a solution for this requirement.
    Regards,
    Balu

    Hi Prashant,
    Yes. You are right. The requirement is to approve changes to SSD and Quantity. I am providing detailed description of the requirement for your reference.
    Regards,
    Balu
    Change Order - Customization
    ======================
    Scenario
    Customer orders once booked go through changes (scheduled ship date, quantity, request date and ship to address) on a regular basis. These change requests need to approved by
    1. The Plant Scheduler
    2. and Logistics
    Currently these processes are done through offline requests (email, or verbal)
    Order Management Module Limitation
    Order Management module does not support change order approval and hence there is a need to customize the existing workflow.
    Solution
    The process would be as follows;
    1. The order is booked and the line status becomes ‘Awaiting Shipping’.
    2. Change order request is placed by the customer. (E.g. request date change)
    3. CSR updates the ‘Request Date’ field. At this point the line status should become ‘Pending - Internal Approval’ and accordingly reflect in Production Scheduling Application
    3. Approval notification is sent to Plant scheduler, Formulation Engineer and Logistics. This approval notification should follow a hierarchy, i.e. first needs to be approved by scheduler and so on.
    4. Once approved by process owners, the line status becomes ‘Awaiting Shipping’ and follow the normal process.
    5. If rejected by one of the process owner, then the status should become ‘Booked - Internally rejected’.
    6. The line status remains ‘Booked – Internally rejected’, and should not progress, unless approved by the process owners.
    Additionally a notification needs to be sent to Scheduler, Logistics, and Formulation Engineer regarding any change to an order.

  • Product Hierarchy Update on Existing Sales Order

    Hi,
    My company business process allows sales order to be created up up to 3 months before shipping.  Prior to shipping, material can have the Product Hierarchy changed and pricing can also be updated for the new product hierarchy value (Pricing record with Product Hierarchy in the search key).  Our company also want to make sure we bill customers with new (correct) price.
    In order to support pulling in the new price for our existing backlog (orders), so that we don't mis-bill our customers, we need a way to update the product hierarchy value on the existing sales orders that have not been shipped.   Our current solution is to implement some custom logic in the Sales Order Update user exit, so that when the user clicks on the "Update" button on the Condition Screen on VA02 to manually update price, the custom logic will be invoked to re-pull the Product Hierarchy from the MARA table to overwrite the old Product Hierarchy on the sales order.  Next, pricing will perform the search for new price using the updated Product Hierarchy value.
    This solution has worked okay for us, but we are trying to evaluate if there is any other better way to accomplish this same request.  We would prefer to implement something that is offered by SAP via configurations.  We try to stay away from customization as much as possible.
    Have you ever experienced something similar or do you have any idea how to support this kind of business process?
    Thanks very much.

    Hi Hans,
    We don't want to wait for until billing to update price since we have the CI created at the time of delivery not billing.  CI document also needs to display correct pricing for custom purposes.
    Also, we would like to keep pricing on the Sales Doc. and Billing Invoice the same.  This is why we would like to trigger re-pricing on sales order.   And when pricing is re-invoked, we need to re-read the PRODH data to ensure new price is retrieved.
    Thanks for your response.
    Hannah

  • Restrict manual change in sales order with respect to quotation

    Hi All,
    The user use to create sales order with respect to quotation.  The user can able to change pricing as well as some header and item fields.  How can I restrict user for manual change in sales order expect some specific fields.
    Thanks.

    Hi Sunil,
    It is possible through configuration better you can post in sd forums.
    For the condition type settings , ensure that the manual entries is 'D'. it wont allow any changes in the order.
    Regards,
    Madhu.
    Edited by: madhurao123 on Aug 1, 2011 1:08 PM

  • Send Existing Sales Orders to another system

    hi experts!!
    I have a requirement to move all existing sales orders from one system to another.
    Please provide some hints on usage of IDOC_OUTPUT_ORDERS
    1. we have to file NAST mandatory fields only or what else we need to code for complete generation of IDoc?
    Nikhil

    Ok, sorry, I am not aware of BADIs or IDOCS. Normally in situations like this I just make downloads, straight from the tables or via a query.
    Good luck

  • Report on changes to sales orders

    Hi Experts,
    I am looking for a way to report on changes to sales orders, specifically the row shipping date and quantity.
    I can see that the data is apparently in tables ADOC and ADO1 but am having trouble getting useful results. What I need is a report that, for sales orders only and for a date range, shows all changes to row quantities or row shipping dates. The type of output that would be useful is:
    Change date  - document # - row# - Item code - old shipping date - new shipping date - old qty - new qty
    filtered on change date for sales orders only. This seems beyond my preferred option of XL-Reporter and I'm getting lost in the history tables in creating a query.
    Best Regards
    Matthew

    Hi,
    Without doing the query for you, history tables are linked as the "normal" table but with the addition of the LogInstance column. Then the UpdateDate column (from base table ie. ADOC) will tell you when it was changed.
    Your query isn't an easy one... SInce you have to link an instance (ie. LogInstance = 1, which will be the original created object) to all the modified ones.
    Regards,
    Eric

  • All changes in sales orders with in a week

    Hi gurus,
    I want to display a report to display all the changes in sales orders with in a week,
    Can anybody help me .If anybody already developed this report can you send to me.
    regards,
    D..

    Query table CDHDR and CDPOS with the following fields:
    CDHDR-TCODE = VA01 or VA02
    CDHDR-UDATE = <specified date range>
    Now select from CDPOS where
    CDPOS-OBJECTCLAS = CDHDR-OBJECTCLAS
    CDPOS-OBJECTID = CDHDR-OBJECTID
    CDPOS-CHANGENR = CDHDR-CHANGENR
    The rest of the details for the change can be found from the other fields in CDPOS. like tablename, fieldname, old value, new value etc.
    Hope this helps.
    Sudha

Maybe you are looking for

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone, This is the scenario we're facing a javascript error : Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical na

  • Visua;izer from iPod to TV?

    I have an interface that does a great job of showing slideshows from my iPod on my TV. Is there any way you can get the visualizer function from iTunes to work on the iPod for TV viewing? Awol

  • Universal Music Group audible watermarking on digital downloads?

    Hello, I wanted to take a moment to praise Apple for being so patient and persistent around a sound quality issue I've been noticing for months with certain of my digital purchases from the iTunes Music Store. Start of story: I noticed that certain o

  • How can I prevent my Camera Archive import from being interrupted by timecode breaks?

    I'm trying to create Camera Archives from my old mini-dv tapes. I have a Sony Handycam DCR-TRV22 connected via FireWire. When I start the Camera Archive import process, everything is fine for a while but then the process stops with a message about a

  • User Defined Metric and Notification rules

    I've created a user defined metric to list the age of my backups. My warning is set to 24 hours and my critical threshold is set to 48 hours. The metric is working fine. I want to be alerted if the metric goes critical for e.g.. When I go to Notifica