‎2015 Jun 02 8:13 AM
Hi All,
Is there any Standard FM or class method to get package hierarchies and concerned objects belongs that packages.
For instance If I give Super package then I should get all sub packages and objects under that packages.
I tried to find out but I could not. If there are no FM or methods available then how to get it programmatically?
Regards,
Rao.
‎2015 Jun 02 8:23 AM
Hi RAO,
You can query on TADIR table based on PACKAGE name.
Pass package name in DEVCLASS Field.
You will get all Object Information which belongs to package.
Note: Pass the Object type in OBJECT field. like PROG (Program). --F4 help is available.
Regards,
Praveer.
‎2015 Jun 02 8:32 AM
Hi Praveen,
I will get only objects that belongs to respected package in TADIR but I need to display in hierarchy.
For instance If Super package A have 3 sub packages called B,C,D. I want to download all these as a hierarchy.
‎2015 Jun 02 8:42 AM
Hi RAO,
Pass A into DEVCLASS field, and OBJECT field condition value would be DEVC, you will get all respective package, which belongs to A package.
‎2015 Jun 02 8:43 AM
Hi Rao,
Try these tables.
TADIR Directory of Repository Objects
TADIR_MOD Newly Created Repository Objects
TADIR_TMP Newly Created Repository Objects
Try these links
Thanks
Shony
‎2015 Jun 02 2:53 PM
‎2015 Jul 14 7:44 PM
Hi Rao,
Did you find any solution to your question yet? I am also trying to achieve the same thing.
Thanks,
Prakash