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: 

How to find the names of Function Module used in the program

Former Member
0 Kudos

Hi all,

can you people help me with this issue.I want to the names of all the Function Module used in the program along with their parameters into an internal table.It will be helpful for your suggestions.

Kind Regards,

Edited by: Prasenjit Sengupta on Nov 20, 2008 7:39 AM

7 REPLIES 7

Former Member
0 Kudos

Hi

Try this table FUPARAREF

GauthamV
Active Contributor
0 Kudos

hi,

Search for call function statement in the programs,you can get all function modules used.

Former Member
0 Kudos

Hi...can you help me with a sample code......what will be the internal table strcture like that....

Kind Regards

Former Member
0 Kudos

Take structure of internal table as

TYPES : BEGIN OF TY_FM,

FUNCNAME TYPE RS38L_FNAM, "Name of Function Module

PARAMETER TYPE RS38L_PAR_, "Parameter name

PARAMTYPE TYPE RS38L_KIND, " Parameter type

R3STATE TYPE R3STATE, "ABAP: Program Status (Active, Saved, Transported...)

STRUCTURE TYPE RS38L_TYP, "Associated Type of an Interface Parameter

DEFAULTVAL TYPE RS38L_DEFO,"Default value for import parameter

REFERENCE TYPE RS38L_REFE, "Call by reference

OPTIONAL TYPE RS38L_OPTI, "Optional parameters

TYPE TYPE RS38L_TYPE, "Reference Structure is an ABAP/4 Type

END OF TY_FM.

DATA : IT_FM TYPE TABLE OF TY_FM WITH HEADER LINE.

Former Member
0 Kudos

Hi...

thanx for the structure.....but how to fill it up by searching the whole program for all the Function Modules......

Kind Regards

former_member222860
Active Contributor
0 Kudos

Hi,

Check the Function Module RFC_FUNCTION_SEARCH and the structure RFCFUNC, then u can understand the itab declaration.

regards

Mahes

Former Member
0 Kudos

Hi,

You can find it in SE80 transaction.

In SE80 select program in application hierarchy and in below box give your program name.

and below you will all get the datatypes, types, fields, subroutines, events etc.

Thanks & Regards,

Sudheer.