List of deleted sales orders

How can we find the list of deleted sales order documents.
Is there any specific table.

hi,
SE16--> CDPOS->enter Object class : VERKBELEG    table name: VBAK     & enter change id:D---> keep the max no of hits  has blank----> execute
this is give u teh details
regards,
Arun prasad
Message was edited by:
        arun prasad

Similar Messages

  • Report on deleted sales orders ( va02)

    hi,
    i got one requirement to write a program to display the list of deleted sales orders (through VA02 Tcode).
    to my knowledge when a sales order is deleted through VA02 the order will be deleted from the database itself and will be deleted from all the SAP tables.
    if that is correct, is there any possibility that we can create a Ztable and update the data before deletion or any other solution for the above requirement?
    thanks in advance,
    Rajani yeluri

    hi rajani,
    u will get deleted data from using tables CDHDR,CDPOS,CDRED and function module '  CHANGEDOCUMENT_READ'.
    i am sending u some sample code, i hope it will helps u
    DATA: it_editpos    LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          it_editpos1   LIKE cdred OCCURS 0 WITH HEADER LINE,
                                     "Change documents, display structure
          x_editpos1    LIKE cdred,  "Change documents, display structure
            x_editpos     LIKE it_editpos,
                                     "Change documents,display structure
    *-----Calling FM to populate the structure 'EDITPOS'
      CLEAR it_editpos.
      CALL FUNCTION 'CHANGEDOCUMENT_READ'
           EXPORTING
              objectclass                = ' ' 
           TABLES
                editpos                    = it_editpos
           EXCEPTIONS
                no_position_found          = 1
                wrong_access_to_archive    = 2
                time_zone_conversion_error = 3
                OTHERS                     = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR: x_editpos,
             it_editpos1.
      LOOP AT it_editpos
        INTO  x_editpos
        WHERE tcode = 'ME21N' OR  "Here u have 2 pass 'VA02'
              tcode = 'ME22N' OR
              tcode = 'ME23N'.
        APPEND x_editpos TO it_editpos1.
        CLEAR x_editpos.
      ENDLOOP.
    now it_edipos1 has all CHANGENR numbers, so now u have to fetch data from F_NEW and F_OLD Fields
    i hope this will helps u
    Regards,
    prasad

  • How to find out the deleted sales order

    hi,
    sap gurus,
    my core user has deleted one sales order
    its showing as sales order is ARCHIVED in the status when we go for VA02
    in SAP in which table the deleted sales order will be stored.
    so that i can
    regards,
    balaji.t

    Plz SEARCH in SCN before posting.
    You can get those details from CDHDR, CDPOS tables.
    Give OBJECTCLAS = VERKBELEG and CHNGIND = 'D' in CDPOS table.
    You will the List of all Deleted Sales Orders.

  • Find deleted sales order

    hi all
    can any one help me finding out the deleted sales order
    what is the process for it.
    thanks
    sridhar

    HI,
    Try FTWB or SARA.
    or
    after deliting sales order its gone out of database, then also you can see the change history of who deleted the order and when. To do this (I'm on 3.1I), go to Sales Order --> Display --> put the number in and go to Environment --> Changes. Then Green check and it will tell you the history.
    After the record (order) gets deleted from the database, to get a list of records deleted you will need to run a report (user defined), with the query for VBAK table, for order type and the missing numbers. The date may also be required. Once you get this, you can find out when and who changed (deleted) the documents.

  • Finding Deleted Sales Orders

    Hi,
    Is it possible to find a deleted sales order in SAP?
    Thanks,
    Malini.

    Individually
    Even though the sales order is gone from the database, you can still see the change history of who deleted the order and when. ?To do this?go to Sales Order> Display>put the number in and go to Environment>Changes ?- then check and it will tell you the history. Hope this helps somewhat!
    As a List
    Though Sales orders are Deleted, they will be available in Change document tables CDHDR for header changes and CDPOS for item changes . Changes includes deletion also.
    So run a Logic based on these two tables.
    You shud get a report of all deleted sales order.
    Use the report in the following link to base your logic.
    http://www.sap-img.com/ab024.htm
    Hope this Helps
    VB

  • User should not delete Sales orders in CRM before May 2014.

    Hi,
    We have  requirement in CRM i.e. user cannot delete Sales orders before may 2014 in SAP CRM.
    Recently we have implemented Credit Check management in ECC (Cash n Carry Process especially for some customers)
    Normally we do create orders in CRM it should be replicated to ECC, based on FD32 credit value in ECC, CRM  order should give credit check massage.
    go through the below notes n help us where to change BADI in CRM, plz.
    We like to add a scenario where prior to April’14 period, user can not cancel/delete any order in CRM, so that the order cancellation data will not flow to SAP and below problem can be resolved.
    While checking the credit Exposure of the INDL Customers, we found in some cases, user has deleted few old orders in CRM which creates a open sales order value as Negative in SAP System. Due to this for a customer, if there is ZERO credit limit, ZERO outstanding, ZERO liability, Credit Exposure is become Negative as open order value is there. In CRM order is being raised and credit block is not appearing if the order amount is below the Credit exposure.
    Request you pls maintain the open Sales order value as ZERO for the INC customers (as per attachment list) for those who have a NEGATIVE open sales order value.
    For the open Sales order Value which are POSITIVE, keep these as same as these are customer’s actual & current open orders.
    NOTE: If user delete before may 2014 sales orders, all the deleted order values will be added to FD32 (Credit exposure -Negative),then user can able to raise sales orders for that value also.(It cannot be happened)
    Regards,
    JK

    Hello JK,
    I guess you can play around with the standard. You need to create a separate PFCG Role which only contains sales order related authorization object. Basically removing sales order related authorization object from the main primary PFCG role. And then controlling the secondary PFCG Role which only have sales order object. Controlling sales order PFCG role with validity period. Below is the screen shot of the PFCG role where you can maintain the validity period of the PFCG role for the specific user assigned to it.
    I hope this solution was helpful for you!
    Regards,
    Neha Gupta

  • List of Open Sales Orders

    Hi All,
            I  am in need of a report to display  list of open Sales orders, Requirement Date or Requested Delivery Date and Requirement Qty for given Materials (Multiple Input) and Plant.
    Please guide me, Is there any Standard Report Available to display the above information except VA05.
                                                            Or else
    Please guide me, the list of tables to fetch those information.

    Did you try in VA05N ?
    How ever , you will not get the requirement date oir requested delivery date here .You can get only Document date or creation date .
    I suggest you to try to build a report with the below SAP field and data element  :
           VBELN       VBAK-VBELN,     "SALES  ORDER
           POSNR       VBAP-POSNR,     "ITEM
           MATKL       VBAP-MATKL,     "Material Group
           AUART       VBAK-AUART,     "ORDER TYPE
           AUDAT       VBAK-AUDAT,     "ORDER DATE
           BSTNK       VBAK-BSTNK,     "CUSTOMER PO NO.
           BSTDK       VBAK-BSTDK,     "CUSTOMER PO DATE
           WAERK       VBAK-WAERK,     "Currency
           PSTYV       VBAP-PSTYV,     "Sales document item category
           ZMENG       VBAP-ZMENG,     "TARGET QTY.
           KWMENG      VBAP-KWMENG,    "SO QTY
           OPENQTY     VBAP-KWMENG,    "OPEN QTY
           LFIMG       LIPS-LFIMG,     "DELIVERY QTY
           LFIMG1      LIPS-LFIMG,
           SHKZG       VBRP-SHKZG,
           NETPR       VBAP-NETPR,     "UNIT PRICE
           NETWR       VBAP-NETWR,     "NET VALUE
           BALWR       VBAP-NETWR,     "NET VALUE FOR BALANCE QTY.
           BALLOC      VBAP-NETWR,     "BALANCE VALUE IN LOCAL CURRENCY
           KURSK       VBKD-KURSK,     "EXCHANGE RATE
           FPLNR       VBKD-FPLNR,     "BILLING PLAN NO.
           FKSAF       FPLT-FKSAF,     "BILLING STATUS
           LOCVAL      VBAP-NETWR,     "AMT. IN LOCAL CURRENCY
           KUNNR       VBAK-KUNNR,     "CUSTOMER
           VKORG       VBAK-VKORG,     "SALES ORG.
           VKBUR       VBAK-VKBUR,     "SALES OFF.
           VDATU       VBAK-VDATU,     "Req.Del.Date  
           MATNR       MARA-MATNR,     "MATERIAL NO
           ARKTX       VBAP-ARKTX,     "MATERIAL DESC
           WERKS       VBAP-WERKS,     "PLANT
           LFSTA       VBUP-LFSTA,     "Item Delivery Status
           FKARA       TVAK-FKARA,
           GBSTA       VBUP-GBSTA,     "Overall Status
           FKSAA       VBUP-FKSAA,     "Item billing statuS
           NAME1       KNA1-NAME1,     "CUSTOMER NAME
           VBTYP       VBAK-VBTYP,     "Doc. Category
           LFARV       TVAK-LFARV,     "Delivery type
           LIFNR       LFA1-LIFNR,     "Vendor Number
           SPSTG       VBUK-SPSTG,     "Overall blkd status
           COST        KONV-KWERT,     "COST
           DISC        KONV-KBETR,     "DISCOUNT
           SPRICE      VBAP-NETWR,     "SELLING PRICE
    The above field are similiar kind of report .But I feel you have to keep two opetion one will be Open Sales Order and other All the sales order .Discuss with your abaper in this regard in line with VA05N and VA05
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Jun 20, 2010 9:07 AM

  • List of blocked sales orders

    Dear Gurus,
      Do we have any standard transactions to find list of blocked sales orders for different reason.I  checked we have only for credit management the transaction code  is :VKM3 & For back order  processing  we have  transaction code : V_RA &  can we use the same transaction codes for different kind  of blocked sales orders for various reasons (  ex: Blocked for free of charge delivery , poor qualiy of goods ,political reasons , bottle necks   etc reasons )
    Looking for your inputs
    Thanks inadvance
    Regards
    Venkat

    Dear Venkat,
    If I'm right the issue is that you want to display all those documents whose credit limit is zero.
    You can get all the list through vkm3  and sort it in ascending order.
    For sorting click the cursor on the credit value column and use sort buttons available in application tool bar.
    Kindly let me know if it can solve your issue.
    Best Regards,
    Rajesh.

  • Reg:Deleting sales orders in bulk

    Hi Gurus,
    Can anybody through some light on the below mentioned queries.I faced this in one of my interviews .
    1.How to delete sales orders in bulk ?
    2.How to print invoices in bulk ?
    Thanking you in advance.
    With Regards,
    Sash......

    Dear sash
    1) To delete sale orders in bulk (subject to no subsequent documents), either you can use LSMW or BDC
    2) To print invoices in bulk, two options are there.  One is foreground and another one is background
    - To schedule foreground, run T.Code VF31
    - To schedule background, run T.Code VF06 where you can see a tab [Job started on]   If you fix a date and time here, that time, invoice will be printed out in mass
    thanks
    G. Lakshmipathi

  • Is there any FM or BAPI to get list of all sales orders

    Hello all,
            I have the requirement like below.
    Is there any FM if i Pass Drawing document no, type,part,revision level which gives
    the output list as.
    1) all sales orders, where the above drawing document no is attached to the materials
    and these materials are used as one of the lower level components in the Sales order BOM,
    I need to show all those sales orders along with SO number,item,Material,Plant and BOM Item no,
    2)all sales orders, where the above drawing document no is attached to the materials
    and the same material is one of the item in sales order.
    3)all sales orders, where the above drawing document no is used as one of the component in Sales order BOm's
    Addition of 1,2,3 will be the o/p.
    are there any FM or BAPI to get the above list.
    Basically the above report is concatenation of report outputs of t-code CSD5 and CS15.
    Awaiting reply.
    Thanks.

    Hi venkatesh,
       You can use the BAPI
    BAPISDORDER_GETDETAILEDLIST
    to get list of all sales orders.
    Here is a lik which provides you BAPI'S regarding everything.
    [http://www.saptechies.com/sap-bapi-list/]
    Hope this will help you.
    Regards,
    Pavan.

  • List of open sales order deliveries

    Hi Gurus
    I'm trying to fetch the list of open sales order relevant deliveries in the system. Is there any standard report to fetch the same?
    In the current requirement, we have tried the below logic:
    Join table VLPMA & VBUK at VBELN
    VLPMA u2013 Pass MATNR(Material) & LFART(Delivery Type) and fetch VBELN values
    VBUK u2013 VBELN values from above with WBSTK(Goods Movement status) Not Equal to C {open deliveries}
    LIPS u2013 Pass VBELN from above and MATNR & WERKS to fetch open sales order relevant deliveries for a material in a plant.
    The above logic takes a lot of time to execute and hence the report has performance issue. Is there any other means to link the multiple fields in the Deliveries to fetch, only sales order deliveries that are still open?
    Regards
    Deepak Prasanna S

    Hi
    You can also enhance tcode VA05 and create your variants to filter these SO. See these notes
    SAP Note 37871 - List display of open sales documents
    SAP Note 350068 - Additionl fields in VA05:Customer material number as example
    So, you'd have a list with the pending orders.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Mar 6, 2012 10:01 AM

  • List of all Sales Orders

    Hello All
    any ideas, what the transaction code is to view the complete list of all sales orders ever created in R/3 (irrespective of customer)?
    Thanks in advance
    Message was edited by:
            Shovon Banerjee

    Hi
    to get the list of all sales orders irrespective of customers ,follow the given solution
    1. VF04  this if for billing due list, can get all the documents list which are billing  due documents
    ...hope this will give the answer for ur problem.
    bye

  • How to view the cancelled/deleted sales order?

    Hi SAP Gurus
    I there any T.code/Table to view the cancelled or deleted sales order.
    I am not able to view the order even in VA03.
    Regards
    Giridhar

    Dear Sushmitha,
    T. Code: SE16
    Key-in -
    Table: CDHDR - Change Document Header.
    Table: CDPOS - Change Document Items.
    and "Enter". On to next page, Key-in
    Field: Change doc. object (OBJECTCLAS) as VERKBELEG
    Field: Transaction Code as VA02
    Field: Appl.obj.change, as D - Delete, and execute (F8).
    Then you will get object values (sales orders) and document numbers. Pass these two values along with objectclas: VERKBELEG) to table CDPOS to get more details about these deleted orders.
    Also, Go to -
    T. Code: SE38,
    and execute Report: RVSCD100.
    Enter Sales Document Number and Execute. This will provide information, who deleted the order.
    Best Regards,
    Amit

  • List of Released Sales order

    Hi,
         Where can i get List of Released from Sales order.Thanks in advance.
    Rgds,
    NAG

    Hi Abhay,
                   Thanks for reply,I know VKM2 but we are able to release from there also.Where it goes if we release from VKM2.
    (Sorry I mean this in  above question
    Where can i get List of Released Sales order.Thanks in advance.)
    Rgds,
    NAG
    Edited by: NAGA SUDHIR on Dec 10, 2008 7:41 AM

  • List of Released Sales order USER ID'S wise Report

    Hi,
          Where can i get List of Released Sales order.The problem is we have 3 user ID's to release orders.So i need user ID's wise release orders report.In VKM2 its not working even if i give credit representative group.Thanks in advance.
    Rgds,
    NAG

    Dear Sudhir,
    T. Code: SE16
    Table: VBAK
    It will list out the Sales Orders, along with Created by and Created On..and many more informations*.
    (You may group your Sales Doc. Result, based upon Transaction Group as "0 - Sales Doc." and Dcoument Category as "C - Sales Order").
    Best Regards,
    Amit.
    *To view/select felds, from Menu-bar,
    Settings --> Format_list --> choode fields

Maybe you are looking for

  • My iPod touch isn't recognised in iTunes. Nothing comes up in devices. There's no noise when the ipod is connected to my mac with a usb lead.

    I have been trying to connect an ipod touch 3rd gen to my mac. It doesn't seem to be recognised in itunes. There's nothing under "devices" nor a noise when it's connected to the mac to indicate it's recognised. Any suggestions?

  • [SOLVED] No Sound in Gnome - Problem with GStreamer?

    I've been using other distros for awhile, but this is my first time with Arch. Spent most of the morning getting it setup and now I'm pretty much done except getting sound to work I believe. So, not sure what info I should give troubleshooting wise,

  • Please tell me the solution(iProc extensions):Urgent

    Description of the Requirement:-           A check box and a textbox(will contain an address) is required in an existing iProcurement page CheckoutSummaryPG      If user check's the checkbox and have specified the value in the textbox then, the value

  • No partner bank types exist

    My client has properly entered bank information for a customer using FD02 for 2 banks including the field Bank type. So while entering an invoice - say by FB70, it should display that information under Part. Bank type. But instead they get a message

  • Netui:fileUpload tag and unicode

    when i attach files using netui:fileUpload tag, korean file names are broken. charset of my jsp page is UTF-8. <%@ page language="java" contentType="text/html;charset=UTF-8"%> chinese and japanese can be used, so default charset can not be changed to