Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Table for relation between PROGRAM, FM, CLASS, STRUCTURE etc

Former Member
0 Kudos

Hi,

is there any system table storing relation between PROGRAM, FM, CLASS, STRUTURE etc ?

for example : base on program name ZFI_REPORT1 -


> i would like to know what are the FM / CLASS / STRUCTURE used by ZFI_REPORT1 ? is there any standard FM / table ?

Thank You in Advance.

FL

2 REPLIES 2

surajarafath
Contributor
0 Kudos

I dont think so, but if you want to know the FM,Prog, Class and all used in the same program. You can get that at runtime.

Run the FM 'SYSTEM_CALLSTACK'

it will return all the subroutines, program,etc..

ThomasZloch
Active Contributor
0 Kudos

There are several tables involved, e.g. WBCROSSI, WBCROSSGT. This functionality is offered for programs via SE38 -> Utilities -> Environment analysis. You could run an SQL trace and see which tables are being accessed.

Also look at how function module RS_EU_CROSSREF does it.

Keep in mind that the cross reference information is only complete if the "navigation index" has been updated for an object. In my experience this is not always case for all objects.

Thomas