‎2008 Jul 23 4:44 AM
Hi All ,
Is it possible to write a program which will take the program name as parameter and go-through the code passed program and list all the fuction modules used in that program in output.
Thanks
Vinay Kolla
‎2008 Jul 23 4:47 AM
Already standard report available for this .
Try program RPR_ABAP_SOURCE_SCAN
‎2008 Jul 23 5:31 AM
‎2008 Jul 23 5:12 AM
‎2008 Jul 23 5:33 AM
thanks for the response , Does the program work for Function modules , I mean if i pass function module or function group it does not seem to work
Thanks
Vinay Kolla
‎2008 Jul 23 5:33 AM
Hi Vinay,
Check FM RS_CROSSREFERENCE by passing the program name.
Thanks
Lakshman
‎2008 Jul 23 5:43 AM
Hi Lakshman,
How does FM RS_CROSSREFERENCE work?
Could you please give some explanation?
Regards,
Sukhbold
‎2008 Jul 23 5:49 AM
Hi Sukhbold,
By using RS_CROSSREFERENCE FM, we can get the internal program environment of the program e.g. objects/keywords used within the program.
Hope this helps.
Thanks
Lakshman
‎2008 Jul 23 5:34 AM
Hi,
Check this Programs:
RKCTSEAR :
Search source code of various programs for up to two strings. Also see RPR_ABAP_SOURCE_SCAN or use search in source functionality via SE80
RPR_ABAP_SOURCE_SCAN
Search ABAP code for a string. Much more flexible than RSRSCAN1 or RKCTSEAR
Regards
Adil
‎2008 Jul 23 6:00 AM
You can do this by Imitating the standard behaviour
In SE38 enter the Program name and Press F9.
it will open the popup, from there you can check Function modules under the external Object
Then press ok. it will display the report.
there you can see how many calls and what are they.