Skip to Content

Document Deletion SAP

Hello All

We are facing an issue with end user, User has made sale order, Billing Document etc . and deleting the same. How can I find out which user has deleted the specific document and what are the data's included on the same doc.

It would be highly appreciated anyone can give me the solution

Thanks

Engli

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 25, 2012 at 08:29 AM

    Hiii ,

    check history table CDHDR and CDPOS table your object for vbrk and vbrp table is - Vbrk - FAKTBELEG , Vbrp - VERKBELEG . with CHANGE_IND = 'D' .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2012 at 08:37 AM

    Hi Yoonus,

    You can get details on deleted sales document/billing document from the table CDHDR/CDPOS.

    You can get the changed by (User name of the person responsible/deleted by) and document number from CDHDR. For sales order, CDHDR-OBJECTCLAS = 'VERKBELEG' and CDHDR-OBJECTID = <sales document number>.

    You can get the details from CDPOS by passing OBJECTCLAS and CHANGENR from CDHDR to CDPOS.

    Cheers

    ~Niranjan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Yoonus Ch

      Hi,

      Did you checked the CDPOS entries? Table key in CDPOS is the concatenation of client, sales document and line item.

      You can get the line item number from the CDPOS.

      I am not sure about getting all the sales order details after deleting. Because deleting of the document will wipe out the table entries from VBAK/VBAP also,

      Cheers

      ~Niranjan

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.