‎2007 Apr 27 2:41 PM
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
‎2007 Apr 27 2:48 PM
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
‎2007 Apr 27 2:53 PM
hi Hemant,
Thanks for your reply.
I do not want like this. I want to write the same functionality through code.
regards,
srinivasarao oleti
‎2007 Apr 27 2:52 PM
‎2007 Apr 27 2:55 PM
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.