Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table for Deleted Order details

Former Member
0 Likes
5,976

Hi Experts

I have deleted a Sales Order.

Now I want to retrieve the details of the deleted order (Which Sales Organization it belonged to)?{

Which table stores the details of a deleted Sales Order?

Similarly, is there a Table storing the details of the deleted Line Items of a Sales Order?

Regards

BD

15 REPLIES 15
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
3,774

i think there is no separate table for deleted data..

check the deletion indicator field of the table

Read only

GauthamV
Active Contributor
0 Likes
3,774

Hi,

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.

Read only

Former Member
0 Likes
3,774

Hi Gautham..

Thx for reply. Yes.. CDHDR and CDPOS will give us info on which order got deleted and whichever items got deleted.

But, my issue is,

I need to get the deleted Order numbers and Item numbers from CDHDR and CDPOS. Then I should get more details about these deleted stuff.

Like.. if VBELN from CDHDR = '000345', I want to know which Sales Org it belonged to when created? Is there any possibility to get these sort of info?

Rgds

BD

Read only

Former Member
0 Likes
3,774

use FM CHANGEDOCUMENT_READ

Read only

Former Member
0 Likes
3,774

HI,

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|http://www.sap-img.com/ab024.htm]

Hope this Helps

Read only

0 Likes
3,774

Hi Experts

To the least and highly specific, I can express my requirement as below:

I want to find the Sales Organization of a deleted Sales Order. HOW?

Regards

BD

Read only

0 Likes
3,774

How many times you will ask the same question...??

Read only

0 Likes
3,774

Have a look into the responses I got! Only those responses make me to ask the same question again and again!

This is always disappointing me too to ask the same stuff, Mr. Vijay!

Read only

matt
Active Contributor
0 Likes
3,774

Maybe it's not possible.

Read only

0 Likes
3,774

Hi Bobby,

Unfortunately for you, deleting a sales order from the system is not reversable. It is deleted from the database. so u cannot trace the sales organisation. (As per my knowledge).

Regards.

Pavan.

Read only

0 Likes
3,774

Thank you Matt. See.. How decent you are in your response.

But, I hate Vijay Babu Dudla. He is indescent. As if a Lord, he questions me.

He is showing his dirty culture through SDN.

Read only

0 Likes
3,774

>

> Thank you Matt. See.. How decent you are in your response.

>

> But, I hate Vijay Babu Dudla. He is indescent. As if a Lord, he questions me.

>

> He is showing his dirty culture through SDN.

R.I.P Mr. Bobby Deol

pk

Read only

Former Member
0 Likes
3,774

Hi,

i think it's not possible. If you realy need the deleted data, ask you basis to restore a data backup.

Regards, Dieter

Read only

Former Member
0 Likes
3,774

Closing the Query

Read only

0 Likes
3,774

This is the end of the road for you and your [fake identity|http://www.utrace.de/whois/64.26.204.100] ...

Thread locked and user ID deleted.

Edited by: Julius Bussche on Jul 28, 2009 10:13 AM