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: 

Tables referred by a program/function module

Former Member
0 Kudos
114

Hi,

I am trying to develop a program to meet the following requirement.

I have a list of data base tables in my internal table.

I need to find out all the custom programs/custom function modules that select from these tables and update these tables.

Can anyone let me know, if there is any standard tool available that does this? or hint me with logic.

Thanks in advance.

Srinath.

7 REPLIES 7

Former Member
0 Kudos
90

Hi srinath,

1. if there is any standard tool available that does this

Manual tool

WHERE USED LIST

is avaialbele.

2. Goto SE11

Type the table name.

3. In the application toolbar, (3rd button)

where-used List

Press this button,

4. A new window will come,

select PROGRAMS (and others as required)

5. It wiill show the list !

regards,

amit m.

Former Member
0 Kudos
90

you can use where used tool to see that. ctrlshiftf3

0 Kudos
90

Hi,

I actually need to do this programmatically. My program uploads an excel sheet with list of data base tables.

output will be something like this.

Program/FM name database table selected updated

zxyz ztable Yes Yes

zabd ztable2 Yes No

Please advise.

Srinath.

0 Kudos
90

you can use the following class to get the details.

CL_WB_OBJECT_TREE

this is the same one which in used in SE80

Regards

Raja

0 Kudos
90

rs_tool_access is a fn module which gives where use list.

0 Kudos
90

PASS INTO THE FN MODULE

RS_TOOL_ACCESS the parameters

refering to structure RSEUAP.

u refer the structure once and pass parameters into this fn module.

This fn module takes ABAP WORK BENCH OBJECT and gives where used list

0 Kudos
90

also check

REPOSITORY_OBJECT_INFO_GET

AND REPOSITORY_INFO_SYSTEM fn modules They may help u