2006 Jul 12 7:49 PM
Hi,
I´ve been searching for Function Module or program to get where used list for an object.
I try using the FM 'RS_TOOL_ACCESS' with parameters operation = 'CROSSREF', objectname = 'ZMYPROG', object_type = 'PROG'
and in effect i get the list of object where the program is used, but the list is showed in standard screen.
is there a function or program to obtain the used list for an object but in an internal table?
I'm using version 4.6B.
I checked the function module RS_INFOSYSTEM_CREATE_REQUEST, but i didn't obtain any result, is there a funcion or combination or FM to get the used list?
thanks,
Alejandro
Message was edited by: Alejandro López
2006 Jul 13 5:24 PM
Hi,
'RS_EU_CROSSREF' may help. For example to get the where used list of an iclude:
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,
Kalpana
2006 Jul 12 7:56 PM
HI,
Check this Function Modules
1) RS_WHERE_USED_LIST_NEW_CHECK
2) CDESK_DISPLAY_WHEREUSED_LIST
3) AKB_WHERE_USED_LIST
Thanks
Sudheer
2006 Jul 12 8:00 PM
Hi Alejandro,
Have you looked FM <b>RS_INFOSYSTEM_CREATE_REQUEST</b>?
Regards,
Ferry Lianto
2006 Jul 12 8:28 PM
Hi Ferry,
Please you can show me an example of FM RS_INFOSYSTEM_CREATE_REQUEST.
thanks,
Alejandro.
2006 Jul 12 8:45 PM
Hi,
Check this Programs
<b>RMCLKLVW</b> Where-Used List for Classes
<b>RMCLLIST</b> Where-Used List for Classes
<b>SAPMC29L</b> Single-Level Where-Used List
<b>RCUKDVWG</b> Dependency Where-Used List
Thanks
Sudheer
2006 Jul 13 4:28 PM
Hi Alejandro,
Please check this sample program.
DATA: OBJTYPE TYPE EUOBJ-ID.
DATA: OBJECTS TYPE RINFOOBJ.
APPEND P_OBJECT_NAME TO OBJECTS.
OBJTYPE = P_OBJECT_TYPE.
CALL FUNCTION 'RS_INFOSYSTEM_CREATE_REQUEST'
EXPORTING
OBJTYPE = OBJTYPE
ACTION = SWBM_C_OP_WHERE_USED_LIST
IMPORTING
INFOSYSTEM_REQUEST = P_WB_REQUEST
TABLES
OBJLIST = OBJECTS
DEVCLASS = p_scope_devclass
OBJKEY = p_scope_objkey
I_SCOPE_OBJECT_CLS = P_SCOPE_OBJECT_TYPES
I_SCOPE_OBJECTS = P_SCOPE_OBJECTS
EDITOR_SOURCE = P_EDITOR_SOURCE
EXCEPTIONS
NOT_EXECUTED = 1
BATCH = 2
OTHERS = 3.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
2006 Jul 13 5:24 PM
Hi,
'RS_EU_CROSSREF' may help. For example to get the where used list of an iclude:
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,
Kalpana
2024 Jun 06 4:52 PM
2024 Jun 06 4:50 PM