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

URGENT- HOW TO SIMULATE THE 'WHERE-USED' FUNCTIONALITY USING A PROGRAM

Former Member
0 Likes
682

Hi All,

Please treat this question as a matter of urgency and reply to it asap. I have an object let's say a function module, an include etc..Now i need to find out as to where this function module or the include has been used using a program. This program should simulate the function of 'WHERE-USED LIST' .So please lemme know the logic for this functionality asap.

Regards,

Srinivas

4 REPLIES 4
Read only

Former Member
0 Likes
565

Hi Srinivas,

First go to that particular transaction. e.g. se37.

enter the function module name and click on the where-used-list button on application toolbar.u will get all objects where this FM is used.same case is for include.

go to se38. enter include name and click where-used-list button.you will get all objects where that include is used.

Reward points if helpful.

Regards,

Hemant

Read only

0 Likes
565

hi Hemant,

Thanks for your reply.

I do not want like this. I want to write the same functionality through code.

regards,

srinivasarao oleti

Read only

RaymondGiuseppi
Active Contributor
0 Likes
565

Try FM RS_EU_CROSSREF

Look at

Regards

Read only

ferry_lianto
Active Contributor
0 Likes
565

Hi,

Please check this FM RS_EU_CROSSREF.

For example to get the where used list of an include:


call function 'RS_EU_CROSSREF'
  exporting
    i_find_obj_cls                     = 'INCL'
   I_SCOPE_OBJ_CLS                     = 'P'
 TABLES
   I_FINDSTRINGS                      =   IT_FIND
   O_FOUNDS                           =   IT_ANSWER
 EXCEPTIONS
   NOT_EXECUTED                       = 1
   NOT_FOUND                          = 2
  ILLEGAL_OBJECT                      = 3
  NO_CROSS_FOR_THIS_OBJECT            = 4
   BATCH                              = 5
  BATCHJOB_ERROR                      = 6
  WRONG_TYPE                          = 7
   OBJECT_NOT_EXIST                   = 8
   OTHERS                             = 9.

Regards,

Ferry Lianto

Please reward points if helpful.