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: 

Transport request containing deleted entries.

bikash_bansal
Product and Topic Expert
Product and Topic Expert
0 Kudos
2,161

Hello,

I am facing an issue regarding transport handling and TADIR.

Steps:

1. I create few objects which are added to a transport request.

2. Later I delete these objects.

3. I release the transport request. It works fine. The objects CAN be seen in the Transport request.

4. I create a new transport request and call the Function Module TRINT_COPY_COMM to copy the

old transport into the new one(All objects can be seen in this new transport request).

5. When I try to release the new transport request. I get an error.

The issue is that those entries which were deleted are now not existing in TADIR. Hence a lock on those entries could not be obtained and release fails. I am able to proceed by manually deleting these entries from the transport.

Let me know if there exists some function module

1. To copy the transport request into another but while copying it removes the deleted entries.

or

2. Some function module to find which objects from the transport request are TADIR relevant, then another one to check

if its in TADIR, and one to delete entries from transport request.

Regards,

Bikash.

1 ACCEPTED SOLUTION

MarcinPciak
Active Contributor
0 Kudos
264

Frankly, I didn't do transport maintenance from the program. But you can have a look at FG of your FM - TRINT_COPY_COMM -> this is STRI . Looks like there are some functions you could use i.e TRINT_DELETE_COMM_OBJECT_KEYS .

Of course maybe someone else have better tailored functions in one's sleeve.

Regards

Marcin

3 REPLIES 3

MarcinPciak
Active Contributor
0 Kudos
265

Frankly, I didn't do transport maintenance from the program. But you can have a look at FG of your FM - TRINT_COPY_COMM -> this is STRI . Looks like there are some functions you could use i.e TRINT_DELETE_COMM_OBJECT_KEYS .

Of course maybe someone else have better tailored functions in one's sleeve.

Regards

Marcin

ravi_lanjewar
Contributor
0 Kudos
264

Hi,

It is not problem it normal behavior of TMS. It will not effect on any of but you should delete such type of object manually from request.

Goto transaction se01 and expand your request and delete object from the request which all ready deleted.

Then only you can release the request.

Former Member
0 Kudos
264

you may write a code to check if the table entries in transport exists in SAP, If no delete them. Should not be too difficult.