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

Similar Messages

  • 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 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.........

  • 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.

  • 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 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.

  • 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

  • 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 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

  • 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

  • Where-used list, Other WF template, Check functions

    Hi all.....within the Workflow Template screen, there are 4 icons at the top left-hand corner.....one is a 'Display-Change' function.  The other 3 however I'm not sure what they are, and what function they serve.  Can someone explain what these are, and in what scenarios they would be used?:
    Check
    Where-used List
    Other WF template
    Thanks!
    Steve

    Hi Steve,
    I hope by this tme, you might have explored these options..But if not , go ahead and try them out..
    Anyway, just for an easy way, I'll brief it:
    <b>Check</b>: Used to do the syntax check for workflow template
    <b>Where-used list</b>: SImilar to Other ABAP objects, i.e. to find out in which other places , this particular takss are used
    <b> Other WF -Template</b> : When you want to work with  workflow template other than that presented by workflow builder.
    Hope with htis you wil explore more on this front .
    Regds,
    Akshay

  • Function module to identify users - fowarded work items

    Hi
    Pls can anyone suggest an appropriate function module to identify the users of the forwarded work items?
    The onyl input i have is the user name.
    the scenario is :  UserA had fwd'ed a workitem XYZ to UserB and I need to find programatically all the details and the user of the workitem XYZ like who had forwarded to UserB. Since i dont have the work item number or dont want to restrict with date range, i wish to get this info purely with the user id only. pls can anyone suggest some functions?

    Hi Prabhu
    First, get the Work item IDS:
    Go to table SWWUSERWI, supply USER_ID as your User (User B) and FORWARDED flag = 'X'.
    You will get all workitems forwarded to THAT user (USER_ID) - User B
    Now Get "Who dared to forward them to me (the user which you have" :
    Now use FM SWL_WI_GET_HISTORY , supply WI_ID as fetched above
    You will get the History in table HISTORY. From this table, keep only records where WI_ID matches the above, METHOD = 'SWW_WI_FORWARD'
    You will be left with step history for that WI ID where it was forwarded. The field METH_USER will contain the user name of the guy (culprit) who forwarded the WI
    Regards,
    Modak

  • How to see an IDOC type & FM, "WHERE USED LIST"?

    Hi Experts,
    I nned to create an IDOC of WMTCID01 and message type is WMTOCO.
    I wanna to see that, Where Where this IDOC was used(especially, in "Z" objects) so that, I can get some idea abt. it and do my coding.
    So, let me know that, How to see this IDOC & FM, "WHERE USED LIST"
    thanq

    hi go to the tcode...
    1) Create Segment ( WE31)
    2) Create Idoc Type ( WE30)
    3) Create Message Type ( WE81)
    4) Assign Idoc Type to Message Type ( WE82)
    Tcode- we19  is for testing idoc
    in the we42 the message type and the idoc function module is ataached by the process code..
    this is a best example to understand the creation of idocs(z)..
    http://www.****************/Tutorials/ALE/CustomIDOC/Create.htm

  • Finding smartform where used list

    Hi sap sdn fans,
    How to find program name using smartform
    i tried tnapr and se37 (where used list) options
    but it is not showing any results
    in tnapr it is displaying error no table entries found
    i want alternative to find driver program name using  smartform.
    Regards
    udaya bhasker bandi

    Hi Uaday,
    What Mr. Florian Kemmer  said is correct.
    "where used"-list for smartforms is not possible at all.
    You can find smartforms name via two ways.
    Go to transaction SMARTFORMS.
    Environment menu->Function module name or use Function module to find samrtform name.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = 'SAMRT Form NAME'
      IMPORTING
        fm_name            = gv_smartform
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    But if you want to find driver program for that then ,
    CLICK FORM INTERFACE-> select Data dictionary object and where use list.
    You can as well check table TNAPR.

  • Bizzare situation withn the "Where used list" for a table

    Hello all,
    I use the "where used list" (all check boxes selected) function in SE11 to find out where and how the table FMGLFLEXT (same for table FMGLFLEXA) is being used and updated. All I get is a reference to a function module, namely   “G_POSTING_FMGLFLEXT”. When I do a "where used list" (once again, all check boxes selected) for the FM, I get the message: Function Module G_POSTING_FMGLFLEXT not found in selected search area Message no. ES120“ despite the fact that all check boxes are selected.
    Yet this table contains data which were put in there via transaction FB50 (G/L Acct Pstg: Single Screen Trans.). So somehow, somewhere this data was created and put into the table.
    I don’t get it! What am I missing?
    Thank you for your help

    Old thread, but anyway: There is one more thing to do to get the complete where-used list:
    (1) Select all checkboxes in the "Used in" block (as you did, probably by using the button "Select All (F7)")
    (2) and use the button "Search Range" (quickinfo "Limit Search Range (F5)") -- although the following pop-up is called "Restrict hit lit" you will find there a checkbox "Search also in generated objects". In my case that's how I found a generated function module G_POSTING_Z.... in SAP's namespace but with customer db table name Z....

Maybe you are looking for

  • BI Publisher Enterprise integration with 11.5.10.2

    Hi all! We are currently trying to leverage the XML publisher of 11i for any new report requests we have so we are more in line with fusion when we get there, if ever! The question for the group is that we found it a little conveluted to create the d

  • Invoice is getting printed instead of being sent in email

    Hi Experts, I have an issue where there is a list of customers for which invoice should be sent in an email. It should not get printed out. I've maintained customer specific condition records for this output type (ZINV) and have kept transmission med

  • Reg: Export To Excel From an ALV Grid

    Hi All, I am exporting data from an ALV Grid (FM: REUSE_ALV_GRID_DISPLAY). By Clicking the Standard 'Local File' button --> Spreadsheet Output Internal table is having data of around 300 Chars in a particular field but in exported Excel sheet it is d

  • Why won't my iMessage verify my email to be used

    It won't verify my email to be used for imessage

  • Release code - Purchase requisition - Release Procedure

    Hello, In the purchase requisition release procedure with classification, we are defining release codes say K, P etc. My doubt is , Is this being defined else where based upon the designatin of the person in the organisation, or else, we are defining