Retrieve deleted sales order

Hi Everybody,
Is there any way to find the date the sales order is deleted and who deleted it?
Srinivasan Kannan.

Hi Srinivas
The following steps given will  give you all  the informatio you need.   I have tested the same here and it works.
Regards
Yatin Thakkar
Re: Retrieve deleted sales order  
Posted: Sep 10, 2009 4:00 PM    in response to: cheenu           Reply 
Hi,
Can you try step 1 with VA03. Dont hit enter button, just go to menu Environment ->changes.
Regards

Similar Messages

  • Retrieve a deleted sales order

    Hi,
    Is it possible to retrieve a deleted sales order?
    Rgds
    TV

    Dear TV,
    Deleted Sales Orders can not be retrieved. However, you can retrieve the data if you had stored them in custom tables during sales order creation with the help of BAdi/Enhancement.
    However, you can not retrieve the data from standard tables (VBAK, VBAP etc) as the data will be deleted as soon as you delete the sales order.
    Hope this will help.
    Regards,
    Naveen.

  • Deleted Sales Orders

    Hi,
        Business needs to get the data back for all the deleted sales orders for a period. Is there any way these data can be retrieved. When I put the sales orders number system says "Sales Document XYZ is not in the database or has been archived".
      Your views are much appreciated.
    Regards
    Raj

    Hi,
    There is only one option available by which you can track changes done for a particular sales order which has been deleted.
    thru VA02, go to an existing Sales order, click on tab ENVironment, changes.
    Here, you will find, the existing sales order number. Delete this number and enter the number of the sales order that was deleted & for whose details you intend to RETRIVE.
    You will get a change LOG, which will give u complete details of the changes done for that Sales order.
    Reward points if found useful.
    Regards,
    C. Ramakrishna

  • Delivery Deleted, Showing error when deleting sales order. R3, Oracle9i

    Hi experts,
    One of my users deleted delevery document and when he is trying to delete sales order it is giving error.
    Also it is showing delivery archived. How to retrieve the document.
    Thnx in advance

    Hi Dhanush,
    I suppose there is no need to run any consistency jobs for this issue(as per my understanding).
    As specified above by Senthil just try first running //CCR for the LOC_PRODUCT with category as Sales Order (also tick the VBBE table option) and Purchase Order. I think this will solve your purpose. Also please make sure that the IMs for the LOC_PRODUCT is active.
    Do let us know your findings on the same.
    Thanks and Regards,
    PP.

  • 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

  • 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

  • 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

  • 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

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

  • Retrieve the sales orders for a particular customer in selection screen

    Hi
    I want to retrieve the sales orders for a particular customer(entering customer number field in the selection screen and then clicking on f4 help on sales order field in the selection screen I should get only sales order numbers for that particular customer number).How can I achieve this through search helps?Are there any standard search helps that I can use.
    <removed_by_moderator>
    Edited by: Julius Bussche on Apr 9, 2009 12:55 PM

    Hi,
    try this:
    at selection-screen on value-request for p_par.
    select * from vbak
    into itab
    where kunnr = p_par.
    then use the FM 'F4IF_TABLE_VALUE_REQUEST'.
    with
    retfield = 'VBELN'
    dynprog = sy-repid
    dynpnr = sy-dynnr
    dynprofield = <name of parameter>
    value_org = 'S'
    tables = itab.
    Regards,
    Leo.

  • Information about the deleted sales order line item in idoc.

    Hi Experts,
    I am new to IDOC.We have the following idoc requirement,
    When a line item is deleted from the sales order(VA02) ,
    the outbound idoc getting triggered for the sales order has the information about the rest all line items other than the deleted line item.We now want the information about the deleted line item in the Idoc .
    Please help me in proceeding further.

    Hi,
    I am facing the same scenario of capturing the  deleted sales order line item in idoc.
    I am using ORDRSP message type , where in E1EDP01- ACTION contains value  "000" .
    And the Deletion line item is not been captured, is there any configuration setting required to
    capture the deleted line item in Idoc.
    Based on the posting in this thread i understand that there is an  indicator which has to be set .
    Please let me know what is that indicator and how to set it?
    Thanks
    Sathish

  • Deleted Sales Orders Issue

    Hi,
    I have a typical issue with Sales Order deletion in R/3
    In R/3,the Sales Orders have been physically deleted due to which the sales orders are not available in the tables.
    In R/3 reports those Sales Orders are not reflected. But in BI, since they have already been loaded, they are showing in the results since the SOs at that time were loaded to BI. Once documents are deleted in R/3  those changes are not reflected  in to BI. This discrepency is not acceptable by the customer. Plz help in how to resolve the issue.
    Many Thanks
    Uday

    Hi Uday,
    It seems the same issue has been discussed sometimes back ,but no solutions were given.
    Deleted sales order items and delta direct
    As I said earlier,extractor will not capture those deleted items. Even enhancement may also not work for this case. Anyway,please check with OSS whether any solutions available for this problem .I convinced my users to go for the cancellation (not mark for deletion) of the items. 
    Below link will give you the info about why it is not a good practise to delete the item .
    deleted sales order
    All the best.
    Thanks.

  • Deleted Sales Order

    I would like to understand the possibility of looking the details abt a sales order that got deleted from the SAP system.
    I believe tables VBAK and Changes related tables will not help me out to find the same information as the deletion of the order will have the data deleted from these tables are there any other means by which i can get info on a deleted sales order .
    Thanks in Advance.
    Ilango

    this is not a process followed, but i just want to know if there are by any means we can see the line item level details (like material & Qty).
    CDPOS do provide information on the order but am unable to interpret the data i receive,
    passed the deleted order no, to the table and i could see only the values that got changed i can still see the information abt VBEP(sch line ) & VBAP. am unable to see the document details. i feel it shows only those fields that are changed inside the order before deletion, i cud see a document in the output of this table, wat is that document no.??

  • Require to delete sales order

    Hello
    All the contributors,
    plz to give me a right solution, Req_urjent.
    Query:
    with PO against Sales order ( indvidual purchase order_ sales process.)
    with ref PO- raised sales order, and also delivery with PGI,
    but when raised a  sls order customer code entered wrongly of other customer code, here i followed vl09 reverse goods entry, and vl02n deleted delivery, but when deleting the sls order in va02 the sls order unable to delete and getting some message of cost management account issue.
    so know i want to raise with the same Purchase Order Number with right customer code,
    therefore requiring how to delete sales order. plz help out me.
    thanking for all.

    Hi there,
    You willnot be able to delete the sales order. You will only be able to reject the line items in the order. Once you enter the reason for rejection, the order line items are not further processed.
    Regards,
    Sivanand

  • View Deleted Sales Order by material

    I need to know in that sales order has been a material because when we run MRP, system creates purchase requisition for requeriments of sales order, ok?
    But, after if user deletes sales order, the purchase requisition created is incorrect but purchase department can be that it purchase requisition is studied yet. Customer would like know what sales order deleted causes this purchase requisition in this case.

    Hi Daniel,
    If the sales order has been deleted then you should delete the corresponding PR as well.  Inorder to achieve this you need to write the logic in the Sales order user exit, to cancel the corresponding PR.
    We cancel the PR if the release strategy is implemented in the PR. We have implemented this logic and it worked fine for us.
    Thanks,
    Mahesh.

Maybe you are looking for