Function Module or Program to get where used list

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

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.

Similar Messages

  • Program to get where used list

    Hi,
    I was looking for a FM or program that would provide me the where used list for an object.
    Actually I need to create such a list for all the objects included in a transport request.
    The end goal is to find out which all programs/tcodes are linked to these objects.
    Please suggest...

    I don't think it is realistic. If a transport has a program then you want to find out where the program is used, or if the transport has table entries, what is 'whereused' in this context?
    But to find out the where used list for known objects, use the function module 'RS_TOOL_ACCESS' where operation = 'CROSSREF'. Go through the code once to understand the parameters. Unfortunately there is no documentation on this, but you can probably do a 'where-used' on this function module to get an idea.
    Please reward and close if this helps,
    Srinivas

  • Function module to replicate CA81 (Resource where used list)

    Hi,
    Is there a FM or BAPI to replicate CA81 (Resource where used list)?
    Regards
    Gary B

    Dear Sankaran,
    These are the Functional Modules which you can use,
    CS_WHERE_USED_MAT            Bills of material; where-used list
    CS_WHERE_USED_MAT_ANY    Bills of material; where-used list as material or class item
    MASS_WHERE_USED                where used list for mass maintenance screens
    CSEP_MAT_BOM_SELECT_WHERE_USED API Bills of Material: Select BOM(s)
    But Multi-level is not possible as far I knew.
    You can use either the 1st or the 4th Functional Module for preparing the report.
    No other way of getting a report simliar to CS15.
    Regards
    Mangalraj.S

  • Function Module to do "Where-used-list"

    Dear sirs,
    Please could anyone help me? I'd like to know if there is any FM which I can pass the name of an abap object (program, include, table, function module, etc) and returns the where used list of it in an internal table.
    I need to map all transactions that call a report or are using an include.
    Thank you in advance,
    Fabio Purcino

    You can use the Function Module
    RS_EU_CROSSREF
    Read the Documentation of the same.
    there is one example.

  • Where-used list for objects of a program

    Hi all,
    I need find a FM, Method, etc, to get all the objects are used by a program. Similar SE80's tree. Someone knows what I can use?
    Thanks!

    Hi Priscila_56,
    you may try with lcl_dev_cross_ref=>get_reqobj class method, defined in [Wiki SDN: ABAP program to read where-used lists|http://wiki.sdn.sap.com/wiki/display/ABAP/ABAPprogramtoreadwhere-used+lists]
    BR
    Sandra

  • Where-used-list for syntax

    Hi Friends,
    can i get the program names from where-used-list for a particular syntax.
    for example, if i want to know what all are the program that used the syntax " append lines ". is it possible?. if so kindly explain me.
    Thanks.

    Vennila, Where Used utility is desinged got ABAP Object and not for the Language constructs hence you will not be able to use this Utility.
    I generally take the way what Avinash has suggested. This programs looks up all the matching progrms from selection screen and finds particular string in it, In addition RPCSOUR* is some table which also hold the source code for report type objects (never tried recently found this).
    Regards
    Shital

  • Function Module where-used list does not find update rule programs

    We have function modules called in update rules. The where-used list in the function builder does not find the update rule programs.
    For example, function DATE_GET_WEEK is called in an update rule to InfoCube YCUBE001. The activated program name for this update rule is GP3PWI6PKM5Y3K75A370DIS8I77. When I goto SE37, enter the function DATE_GET_WEEK, click the where-used button, check the programs option and search. The system does not find the program GP3PWI6PKM5Y3K75A370DIS8I77.
    Without this search capability it is difficult to do an impact analysis of changing function modules. Does anyone know of a solution?

    hi,
    i think the reason is the code of update rules' generated program are stored line by line in table(rsaabap), update rules program itself stored in table rsupdrout, link with field codeid, another useful table is rsupdinfo which store infocube, infosource related.  other info may stored in some other rs* and rsa* tables.
    try to create following program in your system, and run, type in the function module name, and will display out the update rules program id, with additional useful info : which infoprovider, infosource, and detail info of the routine and infoobject in the update rule that using that function module. you may modify the program to have better display out list.
    hope this helps.
    REPORT  Z_FM_UPDRUL_WHEREUSED.
    data : lv_sfm,
           lv_line type string,
           lv_where type string.
    tables : rsaabap,RSUPDROUT,rsupdinfo.
    select-options:
    s_fm for rsaabap-LINE.
    start-of-selection.
      loop at s_fm.
        concatenate s_fm-low ' ' into lv_sfm.
        concatenate '%' s_fm-low into lv_line.
        concatenate lv_line '%' into lv_line.
        write : / 'function module', 'update rule id', 'routine id', 'infoobject', 'infocube', 'infosource'.
        select * from rsaabap
        where line like lv_line and objvers = 'A'.
           select * from rsupdrout
           where codeid = rsaabap-codeid and objvers = 'A'.
             select single * from rsupdinfo
             where updid = rsupdrout-updid and objvers = 'A'.
               write: / lv_sfm, rsupdrout-updid, rsaabap-codeid,
                        rsupdrout-iciobjnm, rsupdinfo-infocube,
                        rsupdinfo-isource.
        endselect.
        endselect.
      endloop.

  • Where used list of a function module

    hello ,
    i want to find out where used list of a function modules , but the problem when I try where used button with in a function module Im getting message saying 'Function Is Not An Include'  when it is used in other programs. Function AKB_WHERE_USED_LIST  does not exist.Function FUNC_GET_OBJECT  does not show the names of the programs.Im Stuck..Plz advise.
    Thanks in Advance

    Hello,
    This is working fine.
    i am getting the name of the programs where the Fm is used.
    In 
    OBJ_TYPE                        FUNC
    OBJ_NAME                        FUNC_GET_OBJECT
    Try this.........

  • Documentation for RS_EU_CROSSREF (where-used list function module)

    Hi,
    I'm trying to understand how to use the "RS_EU_CROSSREF" function module.
    It corresponds to the where-used list function you find in so many SAP screens.
    I need to use it in a program, but I can't find any good documentation about it.
    I'd like something that tells me what values I have to fill in parameters.
    For example, how to search form "TEST_FORM" in all programs ? or even in a given program, I didn't get how to restrict the search to a program...
    Thank you for any help,
    Quentin

    Hi Gurpreet Singh,
    table cross does not find any function modules although I know for sure that there are function modules calling the function module.
    Please post an example of how to find function modules calling a function module with RS_EU_CROSSREF.
    /Elvez

  • Function Module "where used list"

    I'm looking for a function module which does the same as the where used list: i want to have all tables conataining a special field e.g. mandt. Is there such a FM available?

    Hi,
    Use FM 'CHVW_EXPLODE_ALL' to get the Batch where used list.
    HTH
    Regards,
    Dhruv Shah

  • Function Module to identify Where-Used list

    Hi All,
    Is any one aware of any Function Module(s) to identify where-used list of any given Info Object(s).
    I would like to use this in an ABAP Report.
    I do not want to use RSD1/metadata repository way.
    I was thinking of a way to write multiple selects on the various tables (RSZELTTXT, RSZELTDIR, RSZSELECT...) to get  ELTUID/TELTUID/SELTUID..., but that seems to get very lengthy.
    Have already checked a few posts but they only indicate the queries/Cubes in which a given IO is used, where as I am interested in all BW objects where a given IO is used.
    Thanks in advance,
    Sanny.

    hi Sanny2 ,
    try this method... this will surely help
    if you want to know how where used list works then follow the steps.
    1 ) open tcode se11
    2) enter table name (example...MARA)
    3)  go to command window (where you often use to enter tcode ... Enter Tcode /h - which is debug switch on)
    4) select any field (example .. MATNR)
    5) press where used list button.
    6) you can navigate to source code (debugger mode)
    7 ) follow steps and trace the code HOW WHERE USED WORK,
    hope this helps
    let me know if useful
    Avirat

  • Update TVARV table entries using a Function Module or Program

    Hi Gurus,
    My requirement is that I have a entry in TVARV table which has a 'low'. We would like to change this value whenever we desire. We are unable to do it via sm30 and se16 as table maintenance access is not permitted in Production environment.
    Can you please provide any Function module or program code to do it?
    Requirement - User can enter a value into TVARV table by executing a function module or program
    Thank you all, will award points,
    Priyansh

    Hi Priyansh,
    Please refer to SAP Help for more information on variant maintenance and more specifically variable values in variants. You can use t/code STVARV for maintaining the variant variables in table TVARVC (Client-Specific Variant Variables).
    Note: I suggest to use the TVARVC table instead of TVARV.
    If you are looking for Function Modules in the area of Variant Maintenance, then please have a look at Function Group SVAR (t/code SE80).
    If you are looking for Function Modules in the area of User Variables in Variants, then please have a look at Function Group SVUV (t/code SE80).
    Furthermore, if you are looking for a program to update table TVARVC, please have a look at ABAP: Dynamic Variant Processing with STVARV.
    Best eregards,
    Sander

  • Where-Used List: Modifying SAP standard function module

    Hi,
    We have decided to modify SAP standard function module SD_SCHEDULING. But before that, we need to understand what impact this modification will have in the system. We will also estimate the risks with this modification.
    Therefore, I have taken Where-Used List for this function module. We are aware that this list is not comprehensive.
    Do you know any other way we could use to understand better what impacts this kind of modification may have? My colleagues say that this is the only way.
    Thanks in advance for your help.
    Regards,
    Jarmo Tuominen

    Hi Jarmo,
    Try this
    1). Goto Se16 and check the contents of table 'CROSS'.
    2). Enter 'F' in the first selection screen field
    3). In the NAME field enter the Function module SD_SCHEDULING and execute.
    4). The list will give you where all the FM has been used.
    Kindly note this is almost the same as doing a where used list. The where used list will only work correctly if the 'Update Navigation Index' works correctly in your system. So just to ensure the result of your where used list you can follow the above steps. This does not require the Update Navigation Index.
    Hope this helps
    Cheers
    VJ

  • RFC Function module's where used list

    Dear Experts,
       I have a situation where in I need to change certain parameters/ the logic of an RFC function module. but before making the changes to the function module I need to know where this function module is used in various systems. So can some one tell me a way to find the where used list of an RFC function module in the calling system.
    Thanks
    -Amit

    It could be called from anywhere, theoretically, SAP or non-SAP environments.
    I hope you can rely on good documentation in your organization to find the potential callers, as each call must have been consciously implemented at some point.
    Also check with system administrators who might have a means to study trace logs for information on calling systems.
    Thomas
    P.S. the hard way would be to just do the change and see who complains later on

  • What is the table contains Function module include program name

    Hi,
    What is the table contains Function module include program name
    Regards,
    Raja

    Try this FUNCTION_INCLUDE_INFO to get the include number to which function module belongs to.From this u ll get only the particular include name.
    or
    if u need the all the includes used in the function group u have use INNER JOIN on TFDIR and D010INC table
    <b>Select binclude into itab from trdir as a inner join d010inc as b on apname = bmaster where apname = fmodname.</b>
    I hope this will help u.
    Thanks & Regards
    Santhosh
    Message was edited by:
            santhosh ds

Maybe you are looking for

  • Why does my MBP restart itself randomly several times a day? Something about a "Panic Report".

    Ok so my MacBook Pro shuts itself down and restarts at least 4 times a day. Usually this happens when im away from my computer and its been idle or sleeping or whatever it does, however just 30 minutes ago this happened while i was using it and then

  • Mail sending problem -- takes forever (30 min+)

    hi, i read through some previous topics on this, and tried the "opendns" solution suggested here: http://discussions.apple.com/thread.jspa?messageID=9652048&#9652048 this did not work for me. it's weird, though, in that when i do airport-->advanced--

  • Can't drag disc to trash to eject

    Everyhing seems to be working well with Mavericks except that I can no longer drag a disc to the trash to eject it. I have to quit the app I'm using (Toast, iTunes etc) and then open Disk Utility and select the drive to eject from.

  • Pushdown with outer joins

    I'm implementing ALDSP 2.1 using the BEA best practice with 4 layers (physical, canonical, logical and application). The result of the logical layer is comparable with the example at http://e-docs.bea.com/aldsp/docs21/xquery/sql_pushdown.html#1131036

  • Configuration of adobe designer on server.

    how can i configured adobe designer on server. there is problem in abobe form creation. please give me the configuretion steps . regard kamal