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: 

help on where-used list(very urgent)

Former Member
0 Kudos

can neone tell me a function module using which i can use "where-used list" on fields to fetch corresponding objects..

i have a itab of feild names n using these i need to search for all the custom objects using those fields.....

2 REPLIES 2

Former Member
0 Kudos

Hi,

I think i gave you an answer.

See READ REPORT will take all code into one internal table.

Then you can loop internal table and search the required string.

Then it will be easy.

Reward if useful!

0 Kudos

1.First Take all table names into ITAB_TABLE.

2. SELECT obj_name INTO TABLE ITAB_REPORTS

FROM tadir

WHERE pgmid = 'R3TR'

AND object = 'FUGR'

AND devclass IN devclass

AND objname = 'Z%'.

get all customized reports into

loop at itab_table.

<< GET TABLE FIELDS NOW

Use FM RPY_TABLE_READ to get table fields.

store it into ITAB_FIELDS

endloop.

Now,

For Each Field process all Customized reports.

Loop at ITAB_FIELDS.

loop at ITAB_REPORTS.

<b>READ REPORT prog INTO itab [MAXIMUM WIDTH INTO wid]. (explain me this pls)

Now in itab check the field</b>by read table itab.

endloop.

endloop.