01-26-2012 6:57 AM
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
01-26-2012 8:34 AM
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..
01-26-2012 8:37 AM
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