Application Development and Automation 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: 
Read only

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

Former Member
0 Likes
819

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
Read only

surajarafath
Contributor
0 Likes
671

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..

Read only

ThomasZloch
Active Contributor
0 Likes
671

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