1

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?

enter image description here

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
siasty
  • 167
  • 1
  • 2
  • 10

3 Answers3

1

Check in transaction se16 or se16n the tables tadir and tfdir out. With the correct selection you will find your reports and classes.

SacrumDeus
  • 156
  • 1
  • 13
1

There is no single class or FM to fulfill your requirement, but you can combine several approaches for implementing the requirement:

  1. RS_PROGRAM_INDEX FM, where you put program name into PG_NAME parameter

It will list all types and data declarations, along with the subroutines!

  1. RS_GET_ALL_INCLUDES FM will list all program includes if existent
  2. 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.

Suncatcher
  • 10,355
  • 10
  • 52
  • 90
0

You can do this installing SAPLink and download what do you want.

SAPLink: https://app.assembla.com/spaces/saplink/wiki