cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table for Function Module

Former Member
0 Likes
17,633

Hi Gurus,

I need the table for WHERE-USED-LIST of function modules.....

Answer will be rewarded full points...

Thx in advance.....

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Likes

Hope this code helps you.....

Function module where-used on programs:

SELECT * FROM cross APPENDING TABLE mycross

WHERE type = 'F'

AND name = <fm_name>.

Function module where-used on enhancements:

SELECT * "SINGLE enhname

FROM enhobj

INTO TABLE l_i_enhobj

WHERE obj_type ='FUNC'

AND obj_name EQ <fm_name>.

Function module where-used on Webdynpros:

SELECT * FROM cross APPENDING TABLE mycross

WHERE type = 'F'

AND name = <fm_name>.

AND ( include LIKE '/1BCWDY/S_____________________'

OR include LIKE '/1BCWDY/B_____________________' ).

l_inclname = mycross-include.

CALL FUNCTION 'WDY_WB_GET_CTRLNAME_BY_INCLUDE'

EXPORTING

p_inclname = l_inclname

IMPORTING

p_controller = l_controller

EXCEPTIONS

OTHERS = 1.

Function module where-used on Methods/Classes:

SELECT * FROM cross

APPENDING TABLE mycross

WHERE type = 'F'

AND name = <fm_name> AND

( include LIKE '______________________________C%' OR

include LIKE '______________________________I%' ).

To get the Class name (seokey-clsname), use the FM

CALL FUNCTION 'SEO_METHOD_GET_NAME_BY_INCLUDE'

EXPORTING

progname = mycross-include

IMPORTING

mtdkey = seokey.

.

Former Member
0 Likes

Thx Karthik

Former Member
0 Likes

Hi,

all function Modules are stored in table TFDIR.

or

if u want perticular function module goto SE37 t-code and give * and your reqired FM name and press f4

ex: Suppose u want Function Module for Date

goto SE 37

give -


*date press f4 it all the list of FM.

reward points if helpful

Thanks

prashanth

Former Member
0 Likes

Hi

All the function modules ar stored in database table TFDIR.

Rewards points if useful.

Regards

Nikunj shah

Former Member
0 Likes

Hi,

Check the table TFDIR.

Regards

Kiran Sure

prasanth_kasturi
Active Contributor
0 Likes

hi,

there is no such table.

its better to

goto se37

give the fm name and

press where used list icon(cntrlshiftf3).

reward if helpful

prasanth

Former Member
0 Likes

hi...

i dont think u will find ny table to view all de FM's....

instead if ur requiremnt is to find all the FM's, it is better u put an asterix (*)....and press F4....u will get a list of FM's with their descriptions.....

Hope dis would satisfy ur query

reward pts if useful

Regards

winnie

Former Member
0 Likes

I am developing a report which displays the where used list.....for this purpose I need the table....For EX: the where used list for TABLES is stored in WBCROSSGT....