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.

Similar Messages

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

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

  • Plz help me to create pending sales order report

    Hi all,
               I need these INPUT AND OUTPUT FIELDS :
              Pending Sales Order Requirement Specification: 
              1.   Fields on selection screen (input screen) : Plant From to , Distribution channel From to , division  from to , date from to , Customer code from to.
              2.   Field in the output List :    Customer Code , Customer Name , Sales Order Number , sales Order Date , Material , open Qty , Scheduled  Qty , Deliver Qty , Balance Qty , Value , Total Value .

    Hi
    use the tables
    KNA1 -for Customer Number,Name (link KNA1-KUNNR  =VBAK-KUNNR)
    VBAK -Sales order Header (VKORG,VTWEG,SPART, AUDAT, KUNNR on selection screen) VBELn, AUDAT,NETWR for output fields
    VBAP -Sales Order item .Take WERKS(plant) for selection screen
    MATNR,KWMENG (qty) and NETWR  for Output
    VBEP- Schedule line data
    LIPS - Delivery data  equate lips-vgbel  and lips-vgpos with vbap-vbeln and vbap-posnr and fetch the Delivery qty
    OPEN qty  = Order Qty - Delivery Qty
    VBAP-KWMENG - LIPS-LFIMG
    Regards
    Anji

  • 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

  • Product wise pending sales order

    Hello,
    From which transaction code we can find out the Product wise pending sales order list.
    thanks
    harish

    Hi,
    Kindly make use of filter options and change layout options.This might help you for report format.But ultimately the details are going to be the same I guess
    In the initial screen if you give the date range you will get the list of pending orders for that particular material and the organizational detail you give.
    Reward points if helpful.
    Regards,
    Amrish Purohit

  • Pending sales order with open quantity

    Hai gurus
    Please help me with any table or t.code to find pending sales order with open quantity
    With regards

    Dear,
    Please use transaction code V.02 to view all the incomplete sales order.
    If you have any concerns please revert back the same to me.
    Amjath

  • Closing pending sales order

    Hai gurus
    Please help me how  to close pending sales order with open quantity. So that it cant be never used and partially delivered documents attached to that sales order should nt also be affected
    With Regards

    Hi,
    What ever items are open in sales order. then please go to item level then go to reason for rejection tabage and mention the reason for rejection and then save.
    Then order will be completed...
    Regards
    Sankar

  • Pending sales order weight and value

    Dear all,
    Please guide me that how ill get pending sales order weight and net value for all line items.
    I used VBUK for pending sales order where lfstk = ''a' or 'b' and vbtyp = 'c'.
    for line item details i used VBUP where LFSTA = ''a' or 'b'.
    for further line item details i used VBAP, in BRGEW and NTEWR i get weight and value for particular line item.
    But if some line item is partially deliverd, then how i come to know that it is partially deliver and where its details are stored. how i calculate the partial delivered weight and value.
    Please help me in this issue.
    Thanks
    Puneet

    hi,
    vbap -for sales orders,
    likp - for delivary.
    if u need remaing qty in partial delivary then u use logic which satisfy the condition below.
    OPEN qty = Order Qty - Delivery Qty.
    by linking vbap & likp u can get this.
    regds:
    rajesh.k

  • Pending sales order with value

    Dear Experts
    Am using below query for Pending Sales order.I just want to multiple balance quantity with my price list 1.So  can anybody modify my query.
    SELECT T1.[DocNum] as 'Sales Order No', T1.[DocDate] as 'Sales Order Date',
    T1.[CardCode], T1.[CardName], T0.[ItemCode], T0.[Dscription], T0.[Quantity] as 'Sales Order Qty',
    T0.[Quantity]-T0.[OpenQty] as 'Delivered Qty', T0.[OpenQty] as 'Balance Qty' FROM RDR1 T0  INNER JOIN ORDR T1 ON T0.DocEntry = T1.DocEntry where T1.[DocDate] between [%0] and [%1]
    thanks in advance
    parikshit

    Hi Parikshit,
    Try this Query Report,
    SELECT T0.DocNum as 'Sales Order No', T0.DocDate as 'Sales Order Date',
    T0.CardCode, T0.CardName, T1.ItemCode, T1.Dscription,
    T1.Quantity AS 'Sales Order Qty', (T1.Quantity-T1.OpenQty) AS 'Delivered Qty',
    T1.OpenQty AS 'Balance Qty', T1.OpenQty*T2.Price AS 'Open Amount'
    FROM ORDR T0
    INNER JOIN RDR1 T1 ON T1.DocEntry = T0.DocEntry
    INNER JOIN ITM1 T2 ON T2.ItemCode = T1.ItemCode
    WHERE T2.PriceList = '1'
    AND
    T1.LineStatus = 'O'
    AND
    T0.DocDate BETWEEN '[%0]' AND '[%1]'
    Regards,
    Madhan.

  • Export pending sale orders to Interface table

    Hi,
    I need to export all pending sale order lines to interface table and should be import from interface table as a new orders. Is there is any possibility ?
    regards
    Ravi

    so you want all SO lines which are in pending status as new SO line in Entered or Booked status? Why?
    Have you tried using Copy Feature?

  • Total value for Pending Sales order

    Hi All,
    Kindly tell where we can find the total value for the pending sales order. I think that there should be standard t-code for the same.
    Thanks & Regards
    Points will be rewarded

    Dear,
    One more problem has been highlighted of mismatch inthe values of Billing document and MC01 reporting.
    We have dispatched material for one customer for value Rs. 105000 and the same is shown as 20375 in the MC01 report. This is the First line item in the billing document.
    Kindly suggest the course of action or alternate solution.
    Thanks

  • Pending sales order items

    Hy guys
    Is there a standard transaction to get all PENDING SALES ORDER ITEMS in order to clear inconsistent data previous to implementing MRP in the system?
    tks
    Geraldo

    If VA05/VA05N is not fulfilling, then use table VBAP in t.code SE16. In the selection criteria, make field KWMENG not equal to zero and make field KBMENG cumulative confirmed quantity equals to zero and execute. Download the details into an Excel for further manipulation/data cleansing.
    Regards,

Maybe you are looking for

  • Why does the screen on my IPad 3 go blank before it allows me to "slide to unlock"?"

    I recently bought the iPad3.  When I turn it on, I see the home screen and the "slide to unlock", but I can't do anything until the screen goes blank.  Then I have to press the home button and the "slide to unlock" becomes accessible.  Is this normal

  • Passing Select option to smartform

    Hi All, Can any one please suggest how to pass values selected in select-options to smartform. I am aware of the iuse of var-low and Var-high, bt what if user inputs multiple values? Also,is there any standard table  type of table that is created whe

  • Refresh button deleted by mistake

    First, my thanks to Dave Sawyer for answering my help plea so quickly and directing me here to ask my question. My question is how do I get the refresh button (which I accidently deleted) back on Safari? Thank's in advance, Tessie2

  • Passing input Dates in a Crystal Report

    Post Author: Preethig CA Forum: Older Products Hi all, I am using Crystal reports 8.5 to develop my report. I use the the Crystal report Enterprise Version 8.0 to view my reports in the IE 6.0 Web browser.I communicate to the Crystal Enterprise throu

  • Settings password

    There is a "sign in" at the bottom left of the printer's control panel screen. When I press it, it asks for a password. I just set up the printer and it did not prompt me to set a password. I have tried entering nothing, and also have entered my hp p