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: 

scan report and search for a string between form and endform.

Former Member
0 Kudos

Hi All ,

I have requirement to find all the function modules within the custom function module .

i am reuired to write a program will have parameter to pass function module ,

with the program I should have to get the include name of the passed function(is there Standard FM for find this) , then find all the function modules used in the functrion module(i can do this by scaning the include report and search for strin g 'call FUNC'), i will store them in int table . Now I will have to find the perform ststements in include program (include program of the passed FM) and find the main program of that perform (how find the main program of form) . and with the form i will have to scan for 'call func' again .

help needed in

getting the include name of the passed function module

how find the main program of form

how to scan(read) code only between form and perform for string 'call func'.

Thanks For your help

Vinay Kolla

1 REPLY 1

andreas_mann3
Active Contributor
0 Kudos

her's an old (4.6C) report to search phrases in fm's

http://www.a-saph.de/etc/z_fm_search.txt

hope that helps a very little!

Andreas