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

Find ABAP objects

former_member355261
Participant
0 Likes
7,947

Hello,

Is there a way to find all objects (FM, tables, data elements, domains, structures, ...) used in an abap program or by an abap object generally ?

For example a table used in a program and itself needs a data element and the data element needs a domain ...

I want to be able to find all those objects needed by the report.

I found many ways, for example to find DDIC objects used in a report, or scan the source code ...

But I want a something to achieve the whole requirement (finding all objects needed by another object)

Thanks in advance

10 REPLIES 10
Read only

Former Member
0 Likes
3,834

Hi Dear,

Open your program on OBJECT navigator in SE80 Transaction.

I hope it will help you.

regards,

Read only

0 Likes
3,834

Hello,

This is not what i'm looking for.

Thanks anyway

Read only

Juwin
Active Contributor
0 Likes
3,834

Try tables:

CROSS                          Index of Modules Used Externally

ENHCROSS                      Cross Reference for ENH Object

WBCROSSGT                      Index for Global Types - Where-Used List

WBCROSSI                      Index for Includes - Where-Used List

Thanks, Juwin

Read only

Former Member
0 Likes
3,834

Hi,

What is your functional requirement?

The option you already mentioned are the only way to be fully sure that you don't miss anything, especially things like dynamically calling a fm which is used a lot in bapis can only be found with a source code scan, or by finding it out at runtime.

If the requirement is to find out if there are any reports which uses a specific object you can use report RPR_ABAP_SOURCE_SCAN to scan your z* packages.

Kind regards, Rob Dielemans

Read only

0 Likes
3,834

Hi,

My requirement is to find all objects used in some object. For example find all objects used in a table (domains, data elements, ...)

Read only

0 Likes
3,834

You need a recursive environment analysis.

Try searching for previous SCN discussions involving function module REPOSITORY_ENVIRONMENT_ALL, and remember to set parameter DEEP to a low value between 1 and 3, for a start...

The navigation indexes (tables mentioned by Juwin, and more) must be up-to-date for this to work correctly.

Thomas

Read only

matt
Active Contributor
0 Likes
3,834

If you will search there are various cross-referencing tools available.

Read only

0 Likes
3,834

This message was moderated.

Read only

Former Member
0 Likes
3,834

Hi Occoro,

Check the program in this document - I think it's exactly what you're looking for.  I've used it
for that purpose and found it works very well.

http://scn.sap.com/docs/DOC-56483

Jim

Read only

0 Likes
3,834

Hi Jim,

Yes, I already tried it, but it's not always working well.

For example, if you have a report with a screen and in the PAI for example you use a calass or a FM, then this tool is not able to detect it !