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: 

finding function module

Former Member
0 Kudos
86

Hi,

How to find to know a function module whether it is already existing or not?

Thanks in advance.

Regards

Ratna

7 REPLIES 7

anversha_s
Active Contributor
0 Kudos
51

hi,

go to se37.

give FM name.

rgds

anver

pls cdont open same threds.

0 Kudos
51

Hi,

I want to find all z* funtion module list.

regards

ratna

0 Kudos
51

hi,

go to se37.

give z*

press f4.

u will get all the Fm starting with Z

rgds

Anver

0 Kudos
51

Please mark this answered as U already gt the answer.

Former Member
0 Kudos
51

Hi

<b>Please check table TFDIR</b>

here if you give a select query

select * from

tfdir

into table i_tfdir

where funcname lile 'Z%'.

you should get the list of function modules

Former Member
0 Kudos
51

Hey... tell me a simple thing

just enter the<b> Function module name Press "Create" or F5,</b>

if it is already exsted <b>system will give error msg i.e. "FM is already Exist"</b> it means it is already created .

if the system is allows u to create means it is not existed...:)

Bye..

Nary

Former Member
0 Kudos
51
if u want to check with coding

then use this FM RH_FUNCTION_EXIST

call function 'RH_FUNCTION_EXIST'
       exporting
            name               =  'REUSE_ALV_LIST_DISPLAY'
       exceptions
            function_not_found = 1
            others             = 2.
  if sy-subrc = 0.
     *functin exists
  else.
   *function module does not exist.
 endif.