2006 Feb 16 12:26 AM
We have a need to 'clean-up' development class $TMP. This can be performed from SE80 for an individual user, one at a time. This is laborious and time consuming. SAP OSS have recommended I post this topic here, as there are no SAP standard ways of doing it.
Is there a way to delete all local private objects ($TMP) for all users?
Thanks,
Wayne Hanrahan.
2006 Feb 16 2:23 AM
Dear Wayne,
All objects are stored in our TADIR table. You can simply delete it from TADIR where DEVCLASS = '$TMP'.
Hope it solves your problem.
Regards,
Deva.
2006 Feb 16 2:28 AM
2006 Feb 16 2:59 AM
That's right Rich. Deleting them via transactions would be the right way, as these objects have entries in more than just TADIR. Thanks for the input.
2006 Feb 16 3:37 AM
Maybe you could use the information from TADIR to create a BDC that deletes objects based on what type of object they are. Or produce a report or spreadsheet that gives you the information to delete them one at a time.
Rob
2006 Feb 16 3:42 AM
Thanks Rob. That is probably the only way. May put some LSMW's together, grouping by object type. Such a simple requirement, maybe SAP could put something together!
2006 Feb 16 3:46 AM
Or you could put it together and market it!
Good luck with it.
Rob
2006 Feb 16 1:31 PM
Wayne
Try not to upset your developers by deleting their little test programs that they will want to keep. Some $TMP programs may be useful to keep. For example Rob's program on nested loops, should not go to production, but should be kept. So new methods (or tables) can be tested. A good naming convention should help.
As you are using LSMW, Note this generates a new program each time you change any of the mapping rules. As the program name is generated you will not recognise it for what it is.
MattG
2006 Feb 16 3:12 PM
Hi Wayne,
Use FM RS_GET_OBJECTS_OF_DEVCLASS to get objects of a development class.
Thanks
Lakshman