天天看点

How to get table list belonging to a given package and all its sub packages

https://wiki.scn.sap.com/wiki/display/TechTSG/How+to+get+table+list+belonging+to+a+given+package+and+all+its+sub+packages

Created by Jerry Wang, last modified on Sep 02, 2016 Go to start of metadata

Suppose the requirement is to get all database tables belonging to package COM_PRODUCT_BASE and its sub packages.

Since COM_PRODUCT_BASE contains no database tables not only sub packages:

Since Repository information system does not support query against sub packages:

Here below is an ABAP code snippet which can help you get table list:

method GET_TABLE_LIST.

How to get table list belonging to a given package and all its sub packages