Hw to delete the saved sales order

HI
TO ALL
i want delete the saved sales order    hw can i delete that   completely  
if any body is answered  i will give u more reward points
ADVANCE THANX

hi,
It is not advisable to delete order. Best option is to block the order. It can be done as follows.
VA02 (Change Sales Order) >>> then go to item details Sales A, here u can find the filed <b>Reason for rejection</b>, here u put the exact reason & block.
If u really want to delete the order, then u can follow the paths given by other frieds.
Reward if it helps.
Regards,
Nabeel

Similar Messages

  • Function module for deleting the perticular sales order

    Hi Experts
    I wanted a function module name for deleting the perticular sales order document ,when i enter the import parameter as sales order no  and some value as export parameters so that i can use that for the program (message :successfully deleted ).

    Hi Satya,
    Use BAPI BAPI_SALESORDER_CHANGE as follows:
    DATA: T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: BAPISDH1X LIKE BAPISDH1X.
    PARAMETERS: P_VBELN LIKE VBAK-VBELN.
    *SET THE DELETION FLAG
    BAPISDH1X-UPDATEFLAG = 'D'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = P_VBELN
    order_header_inx = BAPISDH1X
    tables
    return = T_RETURN
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Hope this will help.
    Regards,
    Nitin.
    Edited by: Nitin Karamchandani on Dec 8, 2008 8:36 AM

  • Deletion of Returns Sales Order

    Hi Guru's
    I have created one return sales order with reference to one invoice and after that with reference to that returns sales order i have created credit invoice.
    Now my query is that can i delete the returns sales order?
    If yes please let me know the detailed process...
    Regards,
    Bhadra

    Yes, we can cancel-Credit memo.
    Check Cancell.billing type field in Cancellation section of your Billing Doc type (tcode VOFA) for your Credit memo.
    Coming on to your requirement.
    That means you need to cancel credit memo succeeding to this return order.
    In doc flow overview for your return order, check what are the succeeding doc attached to it.
    Cancel or reverse all the subsequent doc to the return order.
    Use VF02 and in menu bar look of Cancel option and select and process.
    Then try to put reasons for rejects (if reference of this return order is needed in future) or delete Return order (if by mistake its created). I would suggest former as you have subsequent Billing doc to it.
    Regards
    JP

  • Automatically generate Delivery No-  after saving the return sales order

    Dear All
    Return sales process-
    When am saving the return sales order that time Delivery should be generated automatically in backend process.
    Tell me the procedure how the delivery should be happened automatically without PGR.
    thanks
    sunil

    Hi sunil
    Do the following customization for the Document type RE in VOV8
    1) Immediate delivery  -  X
    2) Lead time in days   -  Blank
    3) Shipping conditions - 10 (immediately)
    Also check the shipping point days (picking time , packing time etc) in shipping point details .As system will consider those days and give the delivery date after considering all those days also
    Regards
    Srinath

  • Deleting list for sale order

    Hi Guru’s
    How can get the deleting list for sale order?   
    Useful answer duly rewarded back.
    Regards,
    Devendra

    Hi Devendra,
    General Sales order will be deleted form the database after archiving.
    Step for Archiving:
    Sales Order is archived and deleted by the Archiving object know as SD_VBAK.
    If you just want to delete the sales order with out thinking of saving to archive server then please follow the path:
    1.GOTO SARA ---> Click Customizing -> click Archiving Object specific customizing (Technical settings)> In delete jobs mention start automatic --> Leave other settings as per the standard save and close it.
    2. Click write --> Mention Variant name -->Click on Maintain --> Select all the sales orders that you want to archive and delete --> Mention sales organinsation under which you have created --> Select Production Mode --> Click on Attributes --> Mention meaning of that attribute it could be any text --> Enter and save.
    3. Click on Spool parameters --> mention the output type --> Enter now you can see green signal light
    4. Click on Start date --> Click on Immediate --> Save.
    5. Execute or click F8 and see the job.
    6. After some time you can see the data is archived and deleted form the database.
    Hope this will help you in deleting the sales order form the database.
    Please Note: It is bit complicated you should take help of SAP Archiving consultant.
    -Thanks,
    Ajay
    Message was edited by:
            Ajay Kumar
    Message was edited by:
            Ajay Kumar

  • Storing the Material Sale Order Wise

    In our Scenario PO is made Sale Order wise, but when the Material is received and entered in the Stock, it become difficult to indetify the Material which has come against which SO.
    My requirement is that if the Material is received Sale Order Wise then it shud be saved in the Store Sale Order Wise and also at the same time it will be issued Sale Order wise, to keep the track of material being issued against Sale Order Wise.
    i hope i have cleared my query, any clues.....
    abhishek suppal

    Hi,
    When you are trying to create PO with reference to SO what is the item category used in SO, Use item category as "TAB" then SO will generate a Purchase Requisition. Convert this Purchase requisition in to Purchase Order, account assignment will be copied as "E Individual Customer stock" Sales order and Cost element will populate from PR.
    When you post the GR for above PO, the stock is managed as Special Stock indicator "E" sales order stock, in MMBE also it displays as SO stock.At the time of GR value is booked to SO and stock will be shown in MMBE.
    This stock is reserve for particular SO against which you have procured, but you can transfer post the same from SO stock to your OWN stock
    Hope this clarifies,
    Thanks & Regards,
    Sridhar

  • Mass Deletion of Open Sale Orders

    Hi,
       I want to implement Dynamic Credit Check in my Organisation, for that I want to delete all open sale orders. Is transaction code MASS suitable for deleting only <b>OPEN SALE ORDERS</b> or it deletes all sale orders. Can anyone help me out please.
    Regrds,
    Binayak

    Hi Binayak,
    The sales order deletion process would be updating many tables and hence I wouldnt recommend [MASS]. I feel it's better to use CATT. Check out the following link and let me know if you need any clarification on how to go about it.
    <a href="http://www.sap-img.com/sap-catt.htm">CATT - Intro</a>
    Also have a look at a CATT procedure explained, step by step, on 31/03/2007 for another mass updation requirement in the same forum with subject as 'Regarding Customer Master'.
    Regards
    Pratheb Nadarajah

  • Deletion of pending sales orders

    Hi,
    I have checked the existing threads regarding deletion of sales orders, but I want to know how to delete or archive all the pending sales orders in one shot.
    And is it possible to search all the pending orders through 'va05n'.?????
    Please suggest.
    Thanks & regards,
    Rupam.

    Dear All,
    I have executed the transaction 'Mass' for pending order rejection, but I have faced some problems.It is not working properly for those orders where some line items have already been fully delivered and some are open or partially delivered.
    Another critical issue is that, this operation can't be performed for specific line items in multiple orders, which is a limitation.
    can any one give me any idea to overcome this problems???????
    Thanks & regards,
    Rupam.

  • Deleting deliveries and sales orders using BAPI

    Hello all...I am making some changes to the existing program which uses call transaction to VL02 and VA02 doe deleting deliveries and sales orders. This program is running for ever. So I want to use BAPI BAPI_OUTB_DELIVERY_CHANGE and BAPI_SALESORDER_CHANGE instead of call transaction. I just want to now what values should the input tables contain or please guide where I will find documentation over this. Please give me a little insight how to use these BAPI's in my program.
    Thanks,

    Hello,
    I got the following error when tried to execute my program with the BAPI function module.
    The field "LT_DELIVERY" specified here has a different
    field
    type.        
    I am posting some part of my code here. Please help.
    CONSTANTS: c_X TYPE c VALUE 'X'.
    DATA: lt_header LIKE bapiobdlvhdrchg OCCURS 0 WITH HEADER LINE,
          lt_control LIKE bapiobdlvhdrctrlchg OCCURS 0 WITH HEADER LINE,
          lt_delivery LIKE bapiobdlvhdrchg OCCURS 0 WITH HEADER LINE,
          lt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    lt_header-deliv_numb = sdel-vbeln.
        lt_delivery-deliv_numb = sdel-vbeln.
        lt_control-dlv_del = c_X.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        HEADER_DATA               = lt_header
        HEADER_CONTROL            = lt_control
        DELIVERY                  = lt_delivery
      TECHN_CONTROL             =
      TABLES
      HEADER_PARTNER            =
      HEADER_PARTNER_ADDR       =
      HEADER_DEADLINES          =
      ITEM_DATA                 =
      ITEM_CONTROL              =
      ITEM_SERIAL_NO            =
      SUPPLIER_CONS_DATA        =
      EXTENSION1                =
      EXTENSION2                =
        RETURN                    = lt_return
      TOKENREFERENCE            =
    IF sy-subrc EQ 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
    Please suggest how to proceed.
    Thanks,
    Naren

  • How to avoid that two or more people altering the same Sales Order

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution. So far I didn't find a standard option in Business One neither a solution in this forum.
    Best regards,
    Tim

    Tim,
    There is nothing in the application settings in Business One that could be used to prevent this.  You may post this to the SDK forum as well and perhaps there is a way to achieve this through SDK.

  • How to avoid that two or more people alter the same Sales Order same time

    I'm looking for a way to avoid that two or more people altering the same Sales Order at the same time.
    If someone has entered a Sales Order in the system and something needs to be adjust it can be done by two or more people at the same time. The problem is that when someone is saving these changes, the changes of another person, who is still working on the same order, get lost.
    So what we need is an alert that someone is already using this order and that no other person can make any changes at that time. So the order needs to be blocked for altering for any other person at that time.
    To avoid this I think you have to do something with the Stored Procedure. Or has someone a more simple and better solution.
    I've already put this thread in the Business One forum and someone suggested to put it in the Business One SDK forum, as there isn't a solution in Business One itself.
    So if someone can give me a direction for a solution I would be very pleased.
    Best regards,
    Tim

    Hi Tim,
    The only thing that comes close to what you want in standard SBO is Data Ownership. However, this can't stop someone editing a document that is already being edited.
    You can't use stored procedures to track which document is open because the SBO_SP_TransactionNotification proc (which is the only one that you are able to customise) is triggered when a document is updated or added (or cancelled or closed) and not when the document is actually being edited in the user-interface.
    You could do this by writing an addon that uses the UI API to trap events in the sales order form. In theory, a sales order is being edited if the sales order form is in Update mode (ie in order for the form to be in Update mode, the user must have selected an existing document and changed the value of at least one field). You can trap the event of the user changing a value and then log the user and document in a table. When other users try to edit the same document, you could check the table and then prevent them changing values. When the first user clicks on the update button (or cancels the update or closes the form etc etc) you can remove the lock on the document. However, I have doubts as to how robust it would be. The problem with this kind of locking solution is that you sometimes get 'stranded' locks (eg user was editing a document when their workstation crashed) and the solution can end up being more troublesome than it is worth.
    Kind Regards,
    Owen

  • Error while saving sales order

    Hi I am encountering below error message while saving sales order:
    Warehouse
    Specify export data in material master
    Then I go to material master to check foreign trade export tab, and I had maintained commodity code export group, country of origin and region of origin, what did I miss? Help.

    Hi,
    Check whether you have activated legal control data for the Sales Order type configuration in Foreign Trade.
    If the Order type is activated then the following error message can pop up unless you maintain in material master.
    See whether export legal control data is activated or not for the order type.
    In IMG Sales and Distribution>Foreign trade>Legal control section
    Regards,
    Saju.S

  • Run Time Error on Saving Sales Order

    Hello,
    We are facing problem when saving sales order. When order is created and save button is pressed, it saves sales order and gives Order  Number. But while saving the order during update it gives dump due to Data duplication in VBFA while inserting data to VBFA table
    Looking at ST22 log this error is in form VBFA_BEARBEATEN
    Kindly guide.
    Thanx in advance.
    Regards

    Check the Sales Order Number Range.
    It seems either the Number Range is exhausted (completed) or a document with same number is already created in system in past...
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to disable delete row in sales order

    Hi
    Is possible to disable the functions to delete row in Sales Order and Purchase Order.
    How can we made that? by SDK or exist anything else?
    Regards
    VS
    Edited by: Vasco Silva on Jan 8, 2009 8:24 PM

    There is no out of the box solution to disable row deleting function.  The alternative can be used would be approval procedure.  If the documents are subject to approval, all rows will be locked from any changes.
    Thanks,
    Gordon

  • MRP creating additional purchase requisitions for the existing sales order

    Hi,
    We have scenario where we switch materials from POD material to ARP material. POD material is just like make to procurement which creates purchase requisition and purchase order upon saving the sales order. ARP (Auto replenishment) material creates purchase requisition based on sales order and re-order point while running MRP.
    When the material is POD title, it created purchase requisition and purchase order (example: 4500000110) while saving the sales order (example: 1000000010) for the quantity 10. After some time this material is switched to ARP and it has open sales order (1000000010) and purchase order (4500000110).
    We have special MRP run for ARP materials based on MRP type, which creates purchase requisition.. What is happening is when we run MRP; it is creating new purchase requisition for the old sales order (1000000010) for the quantity 10. But old sales order (1000000010) is already having purchase order (4500000110) to fulfill. So we donu2019t want to create new purchase requisition for the old sales orders. It should create purchase requisition only for new sales orders.
    Please advise
    Thanks in advance
    Srinivas

    Mangesh,
    If the components are Inhouse production then you can think of using collective orders by assigning special procurement key 52. If raw material exists then your requirement cannot be met..as i think your scenario is of assembly processing. The idea of assembly processing is that component materials will always be available and only assembly will be done based on Sale Order.
    Regards,
    Prasobh

Maybe you are looking for

  • Error while opening the PDF attachment

    HI SDN's I have to send order confirmation thru mail as a pdf attachment as soon as order has been saved. I have written the code and assigned to output type. Here I am getting an error opening a converted pdf file with Adobe Reader The error message

  • More BoxLayout alignment issues

    Hi everybody, I'm trying to create a bar graph with BoxLayout, but I'm having a problem. The BoxLayout always orients the buttons in a line on the exact center of the panel, which can result in a lot of extra space. I'd like to have the line be off-c

  • I cannot copy/paste in CS3

    Pretty basic functionality we're talking about here. I also cannot copy back and forth between Ps and Ai. Am I missing some "cool new feature"? I already tried trashing the prefs.

  • PS CS4 crash when attempting to view preferences

    Hi all, I'm running Photoshop CS4 on Windows XP (32bit). Photoshop itself seems to work fine, but if I try to view certain menus such as preferences, it will display the  "CS4 has encountered an error and needs to close" message before crashing out.

  • Capacity leveling log showing duplicate information for Resource

    Friends, Need one help. When I am looking into the Capacity leveling logs, I see duplicate information for every Resource. There is no difference in the information regarding resource utilization (before/after). For every resource we are getting this