delete all the objects in a package
My requirement is that i need to write a program to delete all the objects in a package. In the selection screen i enter the package name and then i get all the objects in the package from TADIR table and display them in an ALV.
There when i select a object and press the delete button ,the object (program ,table, domain,data element etc..) should be deleted .
For this i tried to DEBUG in SE80 and tried to know how SAP is trying to delete the object. But i couldnot unterstand which Function Module or which Class and Method it uses to delete an object.
Guys please let me know how it can be done.