FM or BAPI to delete a transport request or any object of a transport

Hi Experts,
Is there any FM or BAPI to delete a transport request or any object of a transport request.
Thanks
Yogesh Gupta

Hello Yogesh,
See if this helps:
If you want to delete a transport from a system queue try FM TMS_UI_MAINTAIN_TR_QUEUE. Just mantain parameters IV_SYSTEM, IV_REQUEST and IV_DEL_REQUEST.
If you want to delete a request, try using FM TRINT_TDR_USER_COMMAND. Just maintain parameters like this:
IV_OBJECT = YOUR REQUEST ID
IV_TYPE = 'TASK'
IV_COMMAND = 'DELE'
If you want to delete an object, just put a breakpoint in this FM to see it's logic.
Kind regards,
Bruno
Edited by: Bruno Garcia on Aug 19, 2008 10:31 AM

Similar Messages

  • Delete the bad request from ODS.

    Hi,
    i am tring to delete the bad request form ods object but i am unable to delete the request from ods. i am using full uplaod and the processing is "psa and datatarget in parllel. when i check the data in PSA, it is giving "No data packet numbers could be determi request REQU_5SMPS3MTHYJHHUYQ62AM61H89".
    Thanks in advance,
    Kasi.

    Hi KAsi,
    I had a similar issue few weeks back, look in SM50 and chk if there are any processes still running which might lock the object. Also chk in st22 to see if any dumps are created under your login.  If tehre are any processes - you can try to cancel them or ask Basis to help u with it.
    *I guess* - when you hit delete, the delete  icon appears but is not able to lock(enqueue) the object and after sometime the delteion program cannot move forward and hence it returns to original status.
    regards
    Poonam

  • How to delete the Transport Request release from SE09

    Please let me know How can I delete the New Transport release request from SE09 and if I HAVE OBJECTS SUCH AS Process chain and process variant, infopackage in one request. Being A NEW request it has Delevelopment correction ABDK904193 under main request ABDK903667, should I double click on  ABDK904193 FIRST AND then go to request editor and change - display and select all request and delete it and save and then delete main request ABDK903667. If I do this will there be any problems on Process chain Objects such as locking or unlocking. let me know if there are any more steps that need to be taken to avoid any trouble.
    hope u will help me asap
    thanks
    hardeep

    Hi Hardeep,
    Allways delete child node and then parent node.Coz Parent node does not allow you to delete straight away so first delete child node either by double clicking and select all>>delete or individually select each object by placing cursor on it and say Delete by pressing the Delete Icon..it will prompt u message obj is locked press delete that will delete the object, subsequently when all objects are deleted then delete the request also.
    when u delete a request all the objects saved or locked onto that request are released or unlocked.
    So all the objects that were previously locked or saved onto a req are now ready to save into another req.
    Simply say, once the objects are deleted from the req they are independent again with latest changes and readily available to save onto a diff req.
    another option is release the req but do not transport it to target system.
    Regards
    Ellora

  • How to delete the Transport Request?

    Hi all,
       I want to delete the Transoport Request from Production Box( we have 2 request number... one child another one parent). I released the Child Request. Now i want to delete that request. we don't have setup in our production Box i think(in order to release that we don't have setup in Production Box).
    Any Idea? I know how to delete that Transport Request. If i try to release that i'm getting TP(Transport Profile error) <b>with return Code 12</b>. it suppose to handle by Basis. My basis consultant is not aware of how to work on this?
    Regards,
    Nagesh Ganisetti.

    I am not sure I understand.
    You release the request in the system you created, not in another system (in your case production). It will then go to the import queue of the target system.
    Transports will be configured in all the systems in your landscape (including production).
    Just by releasing a request, it will not go to the target (unless it is configured so, not likely if the target is production), someone has to import it into the target. I assume you do not want this request to go to target. In this case, release it, then go to STMS, import queue, and delete it from there.
    Added -
    I now see that the request is in production.
    Igore the above in that case.
    If you are not able to release it, let it be. If you are doing an upgrade/support pack, you will need to release it.
    When you try to delete, what message do you get?
    Message was edited by: Ajay Das

  • The correct way to delete old transport request record ?

    Dear all,
    We want to delete old transport request record before 2008 (two years before) of our system.
    We learn that we should delete the records in the below two path:
    /usr/sap/trans/data
    /usr/sap/trans/cofiles
    Our target is that we will not see the old record after deleting in our PRD system.
    Normally, we see the transport request record in system by this way:
    STMS -->  import overview --> PRD --> Import Queue   system PRD --> Import history
    Our question is do we need to restart our system after delete the record to refresh the Import history?
    We have not delete the record now.
    Any experienced or expert, please kindly give advice.
    Regards,
    Allen

    Hello Allen,
    there are some notes and documentations for this process. Deleting the files from /cofiles and /data will not erase the request from the import history, as you already know.
    You should follow note #41732 to have the requests/data completely deleted from your system. There is a lot of complementary reading in notes #7224, #556734, #189841, etc.
    Note that you can remove the request from the import queue, import history, data and cofiles subdirectory, but still have it on the <SID> buffer (located in  /usr/sap/trans/buffer/<SID>). If this happens to you, please save a copy of the buffer file <SID>, then create a new, blank file named <SID> at a time when the import queue is empty (VERY IMPORTANT). Or, alternatively, please excute the tp cleanbuffer FIL command (which will erase the requests that are not found in /data and /cofiles directories).
    --> Please test this first on a test system, not directly on a productive environment.
    This should be enough to delete old transport requests on your system.
    Best regards,
    Tomas Black

  • To delete the transport request.

    when i'm trying to delete the transport request by using se09, it responses with " Request/task BWDK916118 cannot be deleted because it contains locked objects." That request is created by me. It showing same name but it will not allow me to delete. Please help to delete how to delete that request.
    Thanks
    Satish

    Hi..
    Basically you are getting this messge because first you have to delete all the objects of the underlying sub requests and then the subrequests ......then finally the actual request.................
    Secondly, it is better to unlock all the objects first so that you can delete all the objects at a time..............because if  you have to delete all the objects one by one.....and if each requests contains 100s objects then it is very tedious to delete all the objects one by one...
    Go to SE03 --> There you will get the options "Unlock Objects (Expert Tool) " --> Click over there --> give the subrequest nos and unlock it....
    Then go to SE01 --> Click on "Objects" tab --> You will get the change button --> click on it --> Select All and Delete at a time...
    Regards,
    Debjani..

  • How to delete unreleased transport request where the objects are locked

    Hi Experts,
      I was created a transport request, but I am facing some probelms with taht request, now I want to delete transport request. I tried to delete them in SE10, I am getting message that the objects are locked. Please tell me how to delete unreleased transport requests where the objects belong to this transport request are locked.

    Hi,
    First go to transaction se03 Choose "Unlock Objects (Expert Tool)" option under "Requests/Tasks" and unlock your task,
    Than go to se10 and delete what you want.
    I hope it helps.
    Bulent

  • Is it is possible to delete released transport requests...

    Hi Experts,
    I had created transport request and it is released, moved to quality with errors. I dont know why I am getting errors while transporting the request, Now I am creating another transport request. Is it any possibility to delete released transport request or is there any solution for this. why I am getting errors while transporting from dev to quality.
    Thanks & Regards,
    RAJ

    HI,
    Its not possible to delete the released transport request. You should have to follow transport procedure .
    T-code for Transport Connection- Check in SE09/se10 for creating requests.
    For collecting objects you have go Transport connection without missing the objects.
    SE03 for checking the Request objects.
    Go to transport connection in RSA1 Select u r Data target or report what ever it may be in development sys & select only necessary objectsu2026 click on transport optionu2026u2026it will ask the transport request create new req. go to SE-9 release the objectu2026go to STMS import u2026RELEASE The objects in quality sysu2026same procedure to production sys.
    Thanks
    sudhakar.

  • Requested deleted in Transport Organizer

    Hi,
    How can we find out request deleted in Transport Organizer (SE10). Is there any table or log which possess the request and the person who deleted the request.
    Thanks.

    Dear Rakesh,
    We just can find only modified ,released ,released from starting requests in Transport organiser,
    I suppose we cant find the deleted requests and person responsible in BW side.
    The Basis people may help u in this issue as they maintain dumps of what has been loaded and deleted on a timely basis..Please do contact basis People.
    Assign points if needful.
    Best Regards,
    VVenkat.

  • How delete the Transport request in Development system

    Hi Guys,
    I have created one Transport request and released (not moved to other system), now I don't want that request to transport to other systems.
    I need to delete the Transport request, could you please suggest how to delete the Transport request.
    Please provide the steps to delete the Transport request.
    Thanks,
    Gourisankar.

    hi Gaurishanker
    check this thread
    How to delete transport request if child request was released
    hope it helps you.
    thanks
    Sachin

  • How can i delete a transport request?

    Hello:
    I only speak a little english. I wait that you can understand me.
    I have a transport request that is released. I make bad this request and i need delete it. But, when i go to se10 and I try to delete I recive this messagge:
    Request/task ____ already releaded (not modificable).
    How can I delete this request?
    Thank you very much.
    Report RDDIT076 is internal and should not be executed by customers.
    - Reported by Jason ORiordan
    Message was edited by: Suhas Saha

    Hi,
    It is easilly possible to delete the cofile and the datafile of the released transport request but why would you need to do that ?
    It is also possible to delete a transport request in the transport tables but it is a very bad idea and could even be seen as a temptative to hide a forbidden action in the system.
    It will be seen by a security audit as this would create a hole in the request order numbering.
    You would need to use direct database access to delete a released transport request.
    As I told you before, I would NOT do it as it is hasardous et may generate security audit problems.
    You can also destroy your transport system.
    Transport requests are stored in table E070.
    We only modify the e070 table after system copy by database refresh to reset the next transport request number. It is done by inserting a line in the table. We never delete inside this table.
    Use at your own risk !
    Regards,
    Raj.

  • How to delete a transport request easily?

    Hi Gurus,
    I need to delete a transport request. Unfortunately, I received an error that says
    "Request/task BWDK903562 cannot be deleted because it contains locked objects".
    So, in order to delete that transport request, I have to first delete all objects contained in that request. However, there are just too many of them if I were to do it manually one-by-one.
    Is there any approach where I could delete this transport request easily without first deleting all objects contained in that request?
    Thanks you in advance.

    Hi Fulham,
    A transport request cannot be deleted with locked objects. So you have to first unlock the objects in the request. To do this: SE03 --> Request Task --> Unlock Objects.
    The in SE10 select the request you want to delete and expand. Then right click on the sub node of the request and delete. Then Select the main request and delete.
    Hope this helps.
    Bhargava

  • Delete Release transport request

    Hi Gurus,
    I need to delete a transport request which is already release. Please let me know what is the best way to do that.
    Thanks
    Liza

    Hi Liza:
    You cannot delete released transport requests.
    Don't import them into QAS or PROD.
    If you already imported them, then your only option is to delete the Objects manually in DEV, capture the deletes in a new request and transport th enew one.
    As you know if you released a request, you can ignore it without moving it anywhere.
    Ram Chamarty
    Message was edited by: Ram Chamarty

  • Objects deleted under transport request by me-how can I know what were dele

    I am using my collegue's user id and password.
    I was creating data element and adding it to segment in we31 and then I did program change in se38.
    Unfortunatley, I was created all the above under my colleague's existing transport request which contains so many objects.  After I realised, I deleted some to create all under a fresh request ( it seems some which are not related to my development were also deleted . so how can i find what ever were I deleted ? ) ...not sure what was I deleted...may be one program, one transaction code etc.
    Kindly help me how to find out what were I deleted under that request  ?
    YOUR HELP WILL BE HIGHLY APPRECIATED.

    There is no easy way to find it out. Something you can do that you can find out the object list from TADIR table which is created by your friend and then go to E070 table and E071 table and check among those objects which are not attached with any transport request.
    So thus you will get a smaller list of objects and your friends objects ( deleted by you) will be definitely in that smaller list. Now you can check with your friends so ensure which are the objects deleted by you.

  • Deleting modifiable SE10 request/transport

    Dear Forum,
    One of our developers made by mistake a transport request (se10) in our Q/A environment /should have been Dev system), and she would like it removed/deleted again. I would say it is ok to delete the modifiable request in Q system (garbage can) as long that it hasnt been released. but i would like your opinion.
    Best of my knowledge we wouldnt end up having any locked objects as long the reuqest hasnt been released. It is in status modifiable.
    Any replys will be greatly appreciated
    thanks in advance!
    kind regards,
    Soren

    Hi,
    If any objects are stored in TR first remove them and delete the request.Check the target system of request in properties tab and change if it is Production , make sure it is not released .
    Thanks and Regards,
    P.Bharadwaj

Maybe you are looking for