Application Development 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: 

How to determine deleted objects in a transport

Former Member
0 Kudos

Hi

I create a new report Z_TEST_1 and assign this one to a new transport request.

Now I rename this report to Z_TEST_1B

In my transport are two entries:

-Z_TEST_1

-Z_TEST_2

Now I read this objects with function module TR_READ_COMM

Afterwards I want to analyse the objects of this transport

But how can I see which objects exists and which not?

I only need the (still) existing objects (in my test case: Z_TEST_2)

I don't want to check every single object if this object still exists. I know I could check the entry in table TRDIR (for reports).

But there are a lot more object kinds in my transport (function modules, dictionary objects, forms, table keys)....

Does anyone have a simple solution for this problem?

Thanks

Andy

12 REPLIES 12

Former Member
0 Kudos

Hi,

Do you know the transport request number that you have assigned these objects to. If so please go to SE01 and open this TR number. In the task (if any) of this TR number you can see the attached objects. To check if it exists you need to double click on that and if it navigates to that particular object, that means it is present, else it has been deleted.

Regards,

Pramod

0 Kudos

Hi

thanks, this is a possibility.

But I have to analyse the transport (I know the number) with an own report which runs as job.

So I can't use your solution...

Any other idea?

thanks

Andy

0 Kudos

Former Member
0 Kudos

Andy

Check Deleted Entries in Table TADIR - where DELFLAG = 'X'...

Thanks

Amol Lohade

0 Kudos

@ Amol Lohade

If you create and delete (or rename) a object in one transport, no deleted flag will bet set...

And I have to check customizing transports (table keys), too

EDIT:

Uwe's answer is correct

"Only the export protocol will tell you the full truth."

But there must be a possibility to check this before I release the transport? Afterwards it's to late to check any objects because I can't change anything more.

Edited by: Andreas_P on Sep 12, 2008 7:18 AM

0 Kudos

Hello Andreas.

I think you can check the export requests in Transaction STMS and make the necessary modifications.

Good Luck & Regards.

Harsh Dave

0 Kudos

Hi Dave,

but where do I see the deleted objects in your selection via SE03?

And I have to check this in background...

To see the transport in STMS I have to release the transport. I have to check the existing objects before.

Any suggestions?

How does the "release transport" functionality check if an object exists or not?

thanks

Andy

0 Kudos

Hello There.

SE03 is for finding the existing objects according to your first question (for function modules, reports, etc).

As your object is not imported or transported.

You need to find your deleted objects in Transaction SE95.

In the window beneath,

1. Go to window, Reset Objects.

2. Check the deleted objects.

3. You can also mention your request or package.

4. Execute.

5. Go to Deleted objects node.

6. Navigate to the node desired.

7. You can also find the request related to that business object by clicking on find requests.

These are the logs.

If you have already tried out then its good or else give feedback.

Good Luck & Regards.

Harsh Dave

0 Kudos

Hello Andreas

My answers in previous posting will probably not address your problem of the renamed object because the object with old name has not been deleted but just renamed. Regarding TADIR entries the system must delete the old entry and create a new one because the object name is part of the key fields.

However, does the old object appear with TRFUNCTION = 'D' in the request? Not necessarily (to be honest I do not know the answer).

Unfortunately I do not have access to a SAP system yet. But I believe there should be a function module around (TR_...) which takes the TADIR key as input and should return as output whether the object (NOT the TADIR entry) still exists.

Regards

Uwe

0 Kudos

Hello Andreas

Perhaps function module TYPE_CHECK (fg STRD) might be useful.

Regards

Uwe

0 Kudos

Hi

I've found a solution:

I'm using a combination of:

-TR_CHECK_EXIST

-CHECK_EXIST_TABU

regards

Andy

Former Member
0 Kudos

Hello Andreas.

I would like to suggest,

You need to go to Transaction SE03 and to the left you find the term "Object Selection".

There you need to specify the parameters, (say)

PROG for Program,

DTEL for Data Element,

FORM for Scripts,

FUGR for Function group, etc.

There are many more options to it.

And then you enter the Request beneath.

Hope this solves your problem.

Good Luck & Regards.

Harsh Dave