Skip to Content
1
Former Member
Nov 20, 2012 at 07:42 AM

How to read existing ABAP code?

2617 Views

Hi all,

I have a new requirement which seems pretty complicated to me:

In SAP, there is a number of SAPScript forms. To each of these is assigned a specific print_program which essentially gets the data out of the DB_tables and puts it in the form.

Now, I don't want to rebuild any of the forms. They are a SAP thing all right. What I want is only the information which tables and fields a specific form is using. These I could collect simply by reading the print_program.

I wonder if there would be a possibility to dynamically read the code of a print_program and just single out the tables and fields used. Again, I am not interested in the form itself, the "where does this go" part, only in the underlying data.

Can anybody help me there, please?

Thanks a lot!

Best regards,

Sapperdapper