Remove unnecessary transport requests which are 7 days old

Hi All,
I would like to delete all the un-necessary transport requests which are displayed in STMS which are more than 7 days old.
But, the import log should be available whenever i need to verify.
Is there any script which can do this?
Thanks
Vijay

Hi,
I do have a similiar situation, I would like to write a script to remove transports that have successfully transported and are over 7 days old.   In STMS currently we have a list of every transport that has ever been sent and there is no need.  Note that via SE10 we still want to see transport history even for old transports just remove the old ones from STMS. Hopefully I feel some script does this job and no idea on this scripts.
Can someone throw light on this and help me out.
Thanks & Regards,
Bharadwaj.

Similar Messages

  • Unix shell - how to remove files in the cron which are N days old

    Hey guys:
    I know it's unix question rather then oracle.
    I have to gzip my archive logs due to the lack of space. Because of that, RMAN command "delete noprompt obsolete" (on the cron) does not delete the gzipped arch logs and I have to do it with rm command.
    I have this line in my file which runs on cron:
    find /db/oraarch/PROD1/arch*.arc.gz -mtime +2 -print |xargs rm
    It sends an error:
    Subject: cron
    Usage: rm [-Rfir] file ...
    Cron: The previous message is the standard output
    and standard error of one of your crontab commands:
    Any suggestions - maybe even to somehow delete compressed arch logs from inside RMAN?
    TIA,
    Greg

    Greg, what about:
    find /db/oraarch/PROD1/arch*.arc.gz -mtime +2 -exec rm {} \;
    If this does not work then trying adding the -f option to rm to supress messages
    HTH -- Mark D Powell --

  • Unable to delete Transport Request which contain locked objects

    Hi all,
    I need to delete  some unusable transport requests but as they contain locked objects, it's not possible to delete them. Release operation is just allowed. After releasing these transport requests, I can not find them any more in queue. Please help to find these  transport requests which are released and also provide a solution to delete instead of releasing them.
    Thanks in advance,
    Sanaz.

    Hi,
    Thank you for the reply.
    1. What do you mean by transport request , Shipment Request, Shipment Order or Tour.
    A. I mean requests which can be transported between SAP Systems using TMS (Transport Management System).
    2. What are the objects which has been locked and due to that you are facing this problem.
    A. There are diffrent object types. For examle some customizing have booen done or SAP Note correction has been implemented, ... Therefore some objects have been locked due to these operations
    3. Let's say if it's an freight Unit, then Pls confirm that System dump / error is not the cause for this.
    A. I have no idea about "Freight Unit".
    Thanks,
    Sanaz.

  • Released the Transport Request which is in Local Change Request

    Hi,
            Actually without knowing I have released  transport requests which are  under Local Change Request.Due to this they are not available for importing in Quality system.My  Package is also there in one of those Requests.Now please guide me how to recover these requests.
    Regards
    Karthik

    Hello Karthik
    The easiest way should be to copy the object list of your local request to a new (transportable) workbench request.
    However, the system might tell you that your objects can only be put into a local request.
    In this case you need to find out why your objects are not (yet) transportable.
    Usually there are two reasons for local request:
    1.) The request does not have a target system -> check the request header and enter the correct target system (if possible)
    2.) Your package has an inappropriate transport layer assigned -> change the transport layer
    Regards
      Uwe

  • How to register transport requests which is created outside CHaRM

    Hi Experts
    I have completed the ChaRM configuration in Solution Manager.
    Now I want to include the open transport requests (which I have created outside of ChaRM) in ChaRM. Could you please guide me how I can include these open transports in ChaRM.
    Thanks in advance
    Regards
    Venkat

    Hi Prakhar
    Thanks for your reply,  as per SAP Note 1150426 I have executed the task  in the maintenance cycle "Register transport request in tasklist", but the transport request is not added to the Change request.
    Then I have tried to execute through sa38 there it's saying "Unable to find the task list / status of task list is not active". we are in ST - SAPKITL434
    Could you please check and help me to resolve the issue
    Thanks & Regards
    Venkat

  • Deletion of Request which are not updated to data target

    hi,
    I want to all PSA data whether it is updated or not In our project this is being done by Using a Process chain, But it is not deleting the request which are not updated to any data target or failed, I have selected both the check boxes
    Only successfully booked requests
    Only requests with errors, not updated in any data target
    but even after selecting this check box it is not deleting the failed request, can any one tell me why it is so.
    Any help in this would be highly appreciated.

    Try to do it without checking any of the checkboxes...
    Regards,
    Luis

  • I am getting entries which are 'all day' entries duplicated 8 to 9 times. I have updated my software on the phone to the latest version. Entries in iCal are only once.  I have completely emptied my iPhone of all data. Has Apple resolved the issue yet?

    I am getting entries which are 'all day' entries duplicated 8 to 9 times. I have updated my software on the phone to the latest version. Entries in iCal are only once.  I have completely emptied my iPhone of all data. Has Apple resolved the issue yet?

    Simple solution. Get a real internet service and not a cell phone internet connection service it was never meant to be used as the primary internet service
    And how do you lose a home and job and be sued as you claim. What over 10 Gb of data? Give me a break
    In my city small claims is $5000.00
    And over that amount you can go to a superior court to have your issue settled.
    http://www.bbb.org
    Good Luck, Elector

  • Why does 4.5 mail keep removing emails that are 10 days old

    Why does 4.5 mail keep removing  emails that are 10 days old.

    Ten days isn't an option I'm familiar with; perhaps it's a new option in Lion? Prior OS's had choices like one day, week, month, etc.
    If not being apparently set in your email client, it's possibly been set or is set by default at the server level. To check and change that you'll have to access it directly, usually by logging into that domain directly.

  • To create a script and schedule which purge 30 days old files

    Hi Friends,
    Very new in Unix and i got a requirement like writing a script and schedule it, so that it removes 30 days old files from all the log locations of a unix box.
    Suppose i have a unix server ltbamdev1 and in this server i have a mount point opt/bam. In this mount point i have 3 different folders like
    /ltbamdev1/oracle/install/product/10.1.3.1/OracleAS_1/opmn/logs
    /ltbamdev1/oracle/install/product/10.1.3.1/OracleAS_1/bpel/domains/default/logs
    /ltbamdev1/oracle/install/product/10.1.3.1/OracleAS_1/bpel/domains/support/logs
    Please help me in writing a script which runs once a week and removes all 30 days old files from these three folder locations.
    Thanks in advance
    Duos

    Moderator Action:
    The discussion is in the duplicate cross-post:
    To create a script and schedule which purge 30 days old files
    @O.P.
    For the future, only make one post.
    If it is in the wrong forum, it will likely get relocated by moderators.
    This duplicate is now locked to prevent responses getting fragmented all over the place.

  • How to delete the versioned assets which are 2 months old?

    I have a req. to delete the versioned assets which are 3 months old.I think we have PurgingService component (OOTB component) which can be configured to achieve this particular activity.
    Any help wud be highly appreciated .
    Thanks
    Neelesh

    What I was referring, will delete the entire asset from repository based on some condition.OOTB ATG comes with profile purging function to handle deletion of profile.
    We can add other repositories too here,But it will delete data completely.It's kind of clean up required after some time for say anonymous user profiles. My Bad
    But in ur case as u need to delete only different versions stored in publishing db only, As u already pointed out at PurgingService, I think there is no need to customize, u can PurgingService Scheduler,
    But get clarification on this Purge projects and unused versions of assets older than _ days. What does this unused means.
    Logically unused should be this "It will exclude the current version, say current version is was created 30 says back and u are purging all the versions which is 30 days."
    But Please verify this before using.
    Also Please reply the correct approach once it has been implemented.  
    Thnks,
    Nitin.

  • I used to upload any picture to Fbook which was in my Iphoto.  Now, I can only upload pictures which are a week old.  I'm unable to upload any recent pics to FBook - like pics I uploaded to I photo today.  They are in IPhoto, but once I on FB, and want

    I used to upload any picture to Fbook which was in my Iphoto.  Now, I can only upload pictures from IPhoto which are a week old.  I'm unable to upload any recent pics from Iphoto to FBook - like pics I uploaded to I photo today.  They are in IPhoto, but once I'm on FB, and want to upload, they aren't available to choose.  Help?  Thanks!  Louise

    thanks for replying. 
    the booting and walking away and then attempting to browse and clean method is what i've been trying to do.  it won't let me drag and drop and just freezes up and goes to sleep after 2 minutes.  it's a never ending battle with very few results. which is why i questioned the method of just restoring the hd from a time machine backup.
    do you think restoring the hd from time machine will resolve the issue with all pics on the desktop?  and everything will be as it was from the date i restore it from?  sorry, as you can tell, i'm not overly computer savvy. 
    i have a really old desktop mac...i can try connecting the two...how does one boot a mac in 'target mode'? 
    as for the iphoto cleaning and organizing issue...that is what i was trying to accomplish with importing them to a folder.  was going to browse and clean from there...but somehow imported to desktop which is what's complicating everything.  once i get them off the desktop i can work on the iphoto issue...which as i mentioned...i didn't take 45,000 pics...i've just taken about 4,500 over the last few years, and they are being duplicated in iphoto.  this was my attempt to clean it out entirely and start over.  it will basically be a lot of deleting.
    one problem, seems to lead me to more...which is just my luck.  :-) 
    thanks again, for your help.

  • Can't able to release transport request which has process chain information

    Hi Experts,
    Can any one come accross the similar issue? . If so I am eager to know the fix for it.
    I have collected my process chain in a transport request and when I am trying to release the same for import to another system, I get the following error message.
    Error Message: some object (start varient for process chain and DTP process) is missing in the transport request.
    BUT THE MENTIONED OBJECT IS COLLECTED AND I CAN SEE UNDER MY REQUEST.
    But still i get the error message. Not sure where the problem is.
    Hope there might be some solution to resolve the issue.
    Thanks and Regards,
    Saravanan.

    Hi All,
    I have tried all the options which you all suggested, but still i face the same issue.
    I tried collecting it through transport connection through RSA1.
    Right click on request/task.
    Please let me know any other solution to resolve.
    Are there any check will be happened at database or somewhere else when collecting  the transport?
    Thanks and Regards,
    Saravanan.

  • How to find the transport request which was released to Quality

    Hi Friends,
    Could anyone please let me know, how to find the transport request that was already released from Development to Quality?
    there was some change in customization took place. I could find the user (through change log) who made these changes, however I could not find the transport request number he has already released. I did give his user name in SE10 and checked the released checkbox and did click transports to see them, however I found nothing. A message got displayed on the screen: Cross-system information for user xxx. I can't ask the Basis people about it, as its not yet been trasnported to Productive.
    Is this the correct way to see the transport request number? Is there any other way to find the number. I can give the tentative dates when the change was released.
    This post might already posted before, I did some search, could not find the exact info what I am looking for.  Would appreaciate if anyone could give the step by step method to find it.
    Thanks in advance.
    BR,
    Sats.

    Ram,
    let me tell you the the situation in a better way.
    When I see se10 with my user id I could see all the transport requests that I have released. However, now when I enter my colleague user id who did these changes (he is on vacation, otherwise I could simply ask him the transport number), nothing is shown on the page. in simple words the page is completely blank. Initially I thought it is because of some authorizations, but I can get the transport request numbers that are released by another user.
    the info what I have right now are:
    1. I knew the user name who did these chages
    2. I knew the date when it was changed.
    I just need the Transport Request number I mean which starts with DEVXXXXXXX.
    As per your solution --> If you have any idea when the reques was relase you can select the request and click on goto-transport logs. This way you can find out the request. --> I knew the date when it was released, but didnt understand, the bold and underlined sentense in your answer.. select on which request? as I said, the page was blank after I enter his user id and activate it.. May be I did not understnd your solution properly. Could you please simplify it.
    Thanks a bunch in advance
    Sats.

  • Want to crate a bc set with transport request,which has deleted records

    Hi
    I need a help in BC sets regarding records deletion.
    I want to create a BC sets with the transport, which has one deleted records from the table
    I have 30 records in table. I have deleted one record and created transport for the same.
    When I try to create BC sets with the above transport. It is not showing records, which is in Transport request.
    Could you please help me on this How can we create BC sets with deleted records.
    Thanks and Regards,
    Venkat

    Hai,
    Please check the following link.....
    http://help.sap.com/saphelp_nw70/helpdata/en/a6/c3a768465411d395c600a0c930dcc1/frameset.htm
    Regards,
    Yoganand.V

  • Permanantly removing vendor from sap which are set for deletion flag

    Hai Pals,
    I want step by step explanation of how to delete vendors which are marked for deletion.I have check the forum & got only transaction code SARA & Archiving object FI_ACCPAYB.I dont know hau to proceed further please give some explanation to proceed further

    Archiving is done from transaction SARA.
    Enter the object, then hit enter.
    to get the object specific steps, these are process from top to down. 
    You have to do the customizing first, which can be done from SARA transaction as well.
    Follow the link to the very details.
    See the menu on the left, expecially the first knot "Introduction to Data Archiving (CA-ARC)"
    http://help.sap.com/saphelp_erp2005/helpdata/en/ba/4b68b8327911d2a25c0000e8a5f24f/frameset.htm

Maybe you are looking for