2010 Sep 23 11:30 AM
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.
2010 Sep 23 12:43 PM
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
2010 Sep 23 12:43 PM
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
2010 Sep 27 11:24 AM
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.
2010 Sep 27 11:51 AM
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.