Does anyone know how to extract program list objects from package. Classes,fileds,screend ? or in which the tables can I find this information. Like in the picture below... is there any way?
There is no single class or FM to fulfill your requirement, but you can combine several approaches for implementing the requirement:
PG_NAME
parameterIt will list all types and data declarations, along with the subroutines!
REPOSITORY_ENVIRONMENT_RFC remote-enabled FM which lists all types, data declarations and all function and interface calls in the report codebase. It should be called like:
OBJ_TYPE -> PROG
OBJECT_NAME -> <report>
If all this is not suffcicient, you can use ABAP READ REPORT
statement which fetches report full source code into internal table, and then you can analyze it with Regex or any other tool.