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

Repository Function Module

Former Member
0 Likes
1,133

Hello Everybody,

I have a program that should find all tables that contain a certain field. I have found the FM RS_EU_CROSSREF and I wrote:

CALL FUNCTION 'RS_EU_CROSSREF'

EXPORTING

i_find_obj_cls = 'DTF'

i_scope_obj_cls = 'DT'

TABLES

i_findstrings = lt_findstrings

o_founds = lt_result.

I get the message that this function is not supported for DB Tables. If I change DTF (for field) with DD (for Domain) then it works ok, but I need to look for the field and not the domain.

Has anyone used it before and knows how should I call the function?

Thanks a lot!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,000

The data base tables DD02L , DD03L etc will have all the tables and field names information.

You can query these tables with suitable joins and find the required information

Mathews

7 REPLIES 7
Read only

Former Member
0 Likes
1,001

The data base tables DD02L , DD03L etc will have all the tables and field names information.

You can query these tables with suitable joins and find the required information

Mathews

Read only

0 Likes
1,000

Hello Mathews,

I didn't know about the tables, thaks for the hint. However, it takes forever when I do a SELECT, since the table has millions of records. I guess I still have to see if that function module works.

Regards

Read only

0 Likes
1,000

Hi,

I think you must have used joins.....

I dont think joins are required...

Use the query given below,

it will work for sure,

select tabname
  from DD03L
  into lt_tabname
for all entries in lt_fielname
where fieldname = lt_fieldname-fieldname.

Regards,

Siddarth

Read only

0 Likes
1,000

Hello Siddarth,

thanks for your help. The query seems to work, very slowly, but it works.

I would like to ask you something else: do you know also where the short description of the tables are saved? I only found the description of the tablefield.

Thanks and regards!

Read only

0 Likes
1,000

Hi,

Sure!!!

The short text of the tables are stored in DD02T table.....

Regards,

Siddarth

Read only

0 Likes
1,000

Hello Siddarth,

thank you and regards.

Read only

Former Member
0 Likes
1,000

hi,

GOTO se11.

Give the required table.

Place cursor on the required field and click the where used list. It gives you various options with respect to , where you want to search for that particular field.

You get list of programs where it has been used.

Thanks

Sharath