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

for getting list of Function Modules.....

Former Member
0 Likes
680

Hii All ,

Can u tell me any FM or (any code) for getting list of Function Modules used in any program/report.

Thanks

Chitrakant.

4 REPLIES 4
Read only

Former Member
0 Likes
587

hi

do u want to achive this at run time or... manualy...

if u want to do this mannually... then open the program u want-> then press on the FIND (binacular icon).. then in the search window enter <b>call</b>> select the radio button--> then press enter... u will get all the calls in the prorgram...

)

Naresh Reddy K

Read only

Former Member
0 Likes
587

For a given program use the command

DATA: t_lines TYPE STANDARD TABLE OF ty_line.

DATA: st_line TYPE ty_line.

TYPES: BEGIN OF ty_line,

line(255),

END OF ty_line.

READ REPORT st_programs-program INTO t_lines.

loop at t_lines into st_lines.

if st_lines-line CP 'CALL-FUNCTION'.

Write st_lines-line.

endif.

endloop.

Read only

Former Member
0 Likes
587

Hi Chitrakanth,

Check the function module:

RS_EU_CROSSREF

Regards,

Ravi

Read only

Former Member
0 Likes
587

Answered