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

Where Used list for Classes and Methods.

Former Member
0 Likes
4,372

Hello,

we want to publish the documentation of programs, classes, ... etc. on out website. some of the information we want to publish is the where-used info of the different objects. I know how to get it in SE80 or SE24, that is not the problem

Can anyone tell mee whether there exists a function module or method to get the where-used list for the methods of a class? For function modules we use 'AKB_WHERE_USED_LIST', but I have no idea what input I should use for methods nor if it can be used for it.

Thanks for helping.

Kris

1 ACCEPTED SOLUTION
Read only

former_member214857
Contributor
0 Likes
2,617

Hi Kris

You can try function RS_INFOSYSTEM_CREATE_REQUEST with parameters

OBJTYPE OO

ACTION WHEREUSED

SUPPRESS_SELECTION X

VARIANT

SHOW_AS_POPUP

APPLICATION_HIERARCHY

FIRST

EXTERN

WITH_GENERATED_OBJECTS

FULL_NAME

Then use OBJLIST to inform class and method

Best regards

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
2,617

You just need to pass object type and object name as import parameters.

For example if you want where used list for a class ZSALES_DATA

Give details as below

OBJ_TYPE CLAS

OBJ_NAME ZSALES_DATA

The export parameter references will have all objects where this class is used.

Read only

Former Member
0 Likes
2,617

I got this one already, it is the where-used for a class.

But how do i get this info for a specific method?

Read only

former_member214857
Contributor
0 Likes
2,618

Hi Kris

You can try function RS_INFOSYSTEM_CREATE_REQUEST with parameters

OBJTYPE OO

ACTION WHEREUSED

SUPPRESS_SELECTION X

VARIANT

SHOW_AS_POPUP

APPLICATION_HIERARCHY

FIRST

EXTERN

WITH_GENERATED_OBJECTS

FULL_NAME

Then use OBJLIST to inform class and method

Best regards

Read only

0 Likes
2,617

Thanks for the hint, but it is not perfectly clear how this works exactly.

I did some tests with 'RS_EU_CROSSREF' but this one returns the includes where the class or function is used.

Can I somehow translate this include into a programname or into the name of a functionmodule?