Where-use help

specification:
i have a
selection-screen : taking table names (mara ,ekko)
i have to loop at list of table name
get all the fields of the table
using field name scan all the abap cuctom developemnt...to find the custom code
list all the custom code names using field name in the o/p -ALV

Hi Renu,
1.First Take all table names into ITAB_TABLE.
2. SELECT obj_name INTO TABLE ITAB_REPORTS
      FROM tadir
      WHERE pgmid  = 'R3TR'
      AND   object = 'FUGR'
      AND   devclass IN devclass
      AND objname = 'Z%'.     
  get all customized reports into
loop at itab_table.
<< GET TABLE FIELDS NOW
Use FM RPY_TABLE_READ to get table fields.
store it into ITAB_FIELDS
endloop.
Now,
For Each Field process all Customized reports.
Loop at ITAB_FIELDS.
  loop at ITAB_REPORTS.
      <b>READ REPORT prog INTO itab [MAXIMUM WIDTH INTO wid].</b>
      Now in itab check the field
      by read table itab.
  endloop.
endloop.
Reward if useful!

Similar Messages

  • Recently in the Bahamas where I helped a friend with his new iPad. We could not find Bahamas in initial setup so we used United States and could not enter Visa/MC billing address in Bahamas. iTunes rejected, billing info is not what's on file. What to do?

    Recently in the Bahamas where I helped a friend with his new iPad. We could not find Bahamas in initial setup so we used United States and could not enter Visa/MC billing address in Bahamas. iTunes rejected, billing info is not what's on file. What to do?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Need help to find out the navigational attribute where used list ?

    HI all ,
    i have a 0BATCH_0PLANT  navigational attribute ,  i want to find out  , where it has been used in the all the queries  .
    Thanks ,

    Nav-attribute will also be see as a attribute in the system search for it and click on where used list of it.
    Search for the Info object 0BATCH_0PLANT. double click on it -- click on the where used list of the nav-attribute.
    It will display all the dependent objects where its used.
    With this you can get the IC,DSO,MP names where this object is used. next with the help of those MP,IC and DSO you can get the list of queries.

  • Help needed for where used list

    Hi All,
    I want to use where-used list for the logical database BRF(Selection screen 950).When i hit where-used list in SE36
    it gives all the programs which use LDB 'BRF' but i want only the programs that use LDB 'BRF' and selection screen 950.
    Regards
    Divakar

    hi
    good
    go through these links
    http://help.sap.com/saphelp_nw04/helpdata/en/03/07b4e75eee423aafab88354306eafc/content.htm
    THANKS
    MRUTYUN

  • Help on where-used list(urgent)

    i have a selection screen ,which takes list of table names
    using these table names i need to fetch corresponding fields...n then need to put a where-used on these list of fields(scan all the abap custom developements ).
    plss help me with this..

    Hi,
        Check and Run this program RPR_ABAP_SOURCE_SCAN-- Program that retrieves the Where Used List
    You can reffer following links
    /people/puru.govind/blog/2006/10/13/the-power-of-where-used-list
    wherer used list
    <b>Reward points</b>
    Regards

  • Help With Where Used Query

    Hi Folks,
            i am trying to write a where Used Query for the child items.
    SELECT  ITT1.Father 'Item Code',BOM= Case OITT.Treetype When 'S' then 'Sales BOM' Else 'Production BOM' End FROM OITT  INNER JOIN ITT1  ON OITT.Code = ITT1.Father INNER JOIN OITM  ON ITT1.Code = OITM.ItemCode where OITM.ItemCode=$[$5.0.0]
    Everything works fine but when i am trying to bring back the item description in the report it brings the description of the Child item instead of the Parent. So i am looking for a query which will show the parent item, description and bom type for the child item.

    Hi,
    Try this one:
    SELECT T1.Father 'Item Code',BOM= Case T0.Treetype When 'S' then 'Sales BOM' Else 'Production BOM' End, T3.ItemName, T1.Code
    FROM OITT T0 INNER JOIN T1 T1 ON T0.Code = T1.Father
    INNER JOIN OITM T2 ON T1.Code = T2.ItemCode
    INNER JOIN OITM T3 ON T0.Code = T3.ItemCode
    where T2.ItemCode=$[$5.0.0\]
    Thanks,
    Gordon

  • Business Address Services (BAS) and Where-Used ADRV/ADRVP

    Can someone point out any good sources of information on Business Address Services or possibly its predecessors either online or hard-print?  I've been through the help.sap.com information for BAS and all sorts of SAPNotes without finding what I'm looking for.
    In particular I'm trying to understand default SAP's usage of the Where-Used links in BAS that are stored in the tables ADRV and ADRVP.
    My Issue: If I create a Sales Document in SAP referencing a partner address stored in BAS there is no Where-Used ADRV record created.  So I cannot use the address number of the ADRC record to find which documents are referencing it via ADRV.
    steps to recreate:
    - Using existing Customer/Partners
    - Create Sales Document (Order) adding partners by selecting partner #'s and not manually overriding any address information.
    - Address of the partner is now linked in the Sales Document via VBPA-ADRDA=D and the ADDRNUMBER references the same ADRC address records that KNA1 points to.
    - There is no Where-Used record created in ADRV indicating that the Sales Document is linked to that address.
    - If I change or delete the ADRC record from KNA1 then I do not have the information available to take any special actions on linked Sales Documents.
    Note: If you manually override the address or use a one-time address when entering the Sales Document then the new address is linked via VBPA-ADRDA=E and a Where-Used record is created in ADRV.  Also any follow-on documents created with reference to the Sales Document will also have Where-Used records created in ADRV.  So in the case of changed or manually entered addresses ADRV does work as I would expect it to.
    I am observing this behavior in both R/3 4.6c and ECC 5.0.  Trying to understand why SAP is using or not using ADRV in these situations and whether the behavior can and should be changed.

    Can someone point out any good sources of information on Business Address Services or possibly its predecessors either online or hard-print?  I've been through the help.sap.com information for BAS and all sorts of SAPNotes without finding what I'm looking for.
    In particular I'm trying to understand default SAP's usage of the Where-Used links in BAS that are stored in the tables ADRV and ADRVP.
    My Issue: If I create a Sales Document in SAP referencing a partner address stored in BAS there is no Where-Used ADRV record created.  So I cannot use the address number of the ADRC record to find which documents are referencing it via ADRV.
    steps to recreate:
    - Using existing Customer/Partners
    - Create Sales Document (Order) adding partners by selecting partner #'s and not manually overriding any address information.
    - Address of the partner is now linked in the Sales Document via VBPA-ADRDA=D and the ADDRNUMBER references the same ADRC address records that KNA1 points to.
    - There is no Where-Used record created in ADRV indicating that the Sales Document is linked to that address.
    - If I change or delete the ADRC record from KNA1 then I do not have the information available to take any special actions on linked Sales Documents.
    Note: If you manually override the address or use a one-time address when entering the Sales Document then the new address is linked via VBPA-ADRDA=E and a Where-Used record is created in ADRV.  Also any follow-on documents created with reference to the Sales Document will also have Where-Used records created in ADRV.  So in the case of changed or manually entered addresses ADRV does work as I would expect it to.
    I am observing this behavior in both R/3 4.6c and ECC 5.0.  Trying to understand why SAP is using or not using ADRV in these situations and whether the behavior can and should be changed.

  • How to find out where used list of Table or T-code

    Dear ABAP gurus
    I know many of you have done this several times.
    wish to find out which Transaction code INSERTs the data into the table IHPA.
    I did the where  used list - SE11 ( for specific key work called INSERT ).
    Used the Table called D010TAB which has some information.
    Vise versa if I know a T-CODE , how to know which tables it read  & Modify...
    any better procedure than spending hours in research...
    I found similar custom program to find USER EXITS ...here..., looking soething similar...
    [http://wiki.sdn.sap.com/wiki/display/Snippets/FindUser-exits%2CBADIs%2CBTEs%2CEtcbyTCodeorProgram]
    thank you for your help
    Edited by: Raj Anvesh on Aug 3, 2011 9:58 PM

    Hi Anvesh,
    Maybe the data INSERTION is happening by BAPI,
    So just try to look for the concerned BAPIS.
    ECP_SRV_PARTNERS_IHPA
    IREP1_IHPA_ADRNR_PRE_FETCH
    IREP1_IHPA_ADRNR_READ
    MAP2E_DIIHPA_TO_PARTNER
    MAP2E_IHPAVB_BAPI2080_NOTPARTE
    MAP2E_IHPAVB_TO_BAPI_IHPA
    MAP2E_IHPA_BAPI2080_NOTPARTNRI
    MAP2E_IHPA_M_BAPI2080_NOTPNRI
    MAP2I_BAPI2080_NOTPARTNRI_IHPA
    MAP2I_BAPI_IHPA_TO_IHPA
    PM_DB_FILL_DIIHPA
    PM_PARTNERCOPY_FILL_XIHPA
    PM_PARTNER_DELETE_XIHPA
    PM_PARTNER_GET_XIHPA
    PM_PARTNER_PUT_XIHPA
    PM_PARTNER_REFRESH_XIHPA
    these are the bapis which are dealing with the IHPA table,
    Segregate them as needed and then go to the std program
    Revert for further clarification.
    Thanks
    Sri

  • Short dump with Where-used list

    Hi All,
    I'm making some research on specific InfoObjects, and in some cases I want to know where are they being used, but when I try to use the icon for "Where-used list using Data Warehouse" I end up with an error, a short dump.
    Message class is: RSQBW
    Trigger Location of Runtime Error:
    Program: CL_RSQ_ISET_SERVICE===========CP
    Include: CL_RSQ_ISET_SERVICE===========CM016
    Row: 136
    Module Type: (METHOD)
    Module Name: EXTEND_FIELD_BUFFER
    Does any one can help me to understand why is this going on and how to solve this?
    Thank you!!
    Miriam

    Hi Miriam
    In the short dump you should also see the name of the infoset in question.
    You probably have to adjust the infoset in transaction RSISET and they try to run the where used list again.
    Best Regards,
    Vincent

  • How to find where used for PDF forms

    Hello Everyone,
    I have a small issue. I want to find the where used list for a PDF form SD_INVOICE_FORM01. Just want to see the driver program which is calling this PDF form.
    Can some one help me in this regard?
    Quick response would be appriciated. Thanks in Advance!!!

    Hi,
    You can see the driver program in Tnapr table.
    Give the FORM name in the selection criteria. You will get the driver program details.
    If you have the FM name generated,goto se37 and check where used list there.( It is useful only if  the FM is used by its name in the driver program.)
    Regards

  • Table name for BW Query Where used list

    Hi,
    I am looking for Table name where the information of  " where used list " of a BW query stores.
    Any help ?
    Thanks
    Satya

    Vani,
    I dont think it is available...
    whats your exact requirement???
    you can make use of these below tables
    RSZELTDIR              Directory of the reporting component elements
    RSZELTTXT      Texts of reporting component elements
    RSZELTXREF      Directory of query element references
    RSRREPDIR             Directory of all reports (Query GENUNIID)
    RSZCOMPDIR      Directory of reporting components
    RSZRANGE      Selection specification for an element
    RSZSELECT             Selection properties of an element
    RSZELTDIR              Directory of the reporting component elements
    RSZCOMPIC            Assignment reuseable component <-> InfoCube
    RSZELTPRIO      Priorities with element collisions
    RSZELTPROP      Element properties (settings)
    RSZELTATTR      Attribute selection per dimension element
    RSZCALC                    Definition of a formula element
    RSZCEL                 Query Designer: Directory of Cells
    RSZGLOBV            Global Variables in Reporting

  • Where used listing for Query Variables

    Can someone tell me how to get this list from the metadata repository or from the transport connector?
    I have read this thread "where used" list for BEx variables but this isn't working for us.
    Is there some config that is required which we have missing?
    We are running BI7 SP19 if this helps.
    Thanks
    Craig

    Arun,
    Yeah I figured as much, but this is why I am thinking we have something missing, config or otherwise.
    Cause all I get when I do this is a new window with just the Variable details and nothing else, no where used list at all i.e.
    Page Creation Date: 17.03.2009 15:12:03
    Technical name: V_FSTMONTH
    Object version: Active version
    System: BWDCLNT200
    Description (Short): 1st of Month to Toda
    Description (Long): 1st of Month to Today
    Last Changed On 17.03.2009 13:25:39
    Last Changed by ARMSTEC
    Is there something I need to get our Basis Team to do ?
    Thanks
    Craig

  • Query Where Used in Web Templates

    Hello to all BW experts,
    Do anybody knows how it is possible to write some code in ABAP to help users to find a Query Where Used in Web Template (Tables, Function Modules etc.)
    Regards,
    Theodore

    You could use one of the text elements available.  Don't know the ABAP.  But it should be possible.  Try to place this under ABAP questions if you don't get eny answers..

  • How to determine where-used characteristics in Queries???

    I'm trying to find an easy way to determine what queries a particular characteristic is used in? Tried from infoobject on workbench and where used Icon...and it does not reflect query information. From query designer, can do this for key figures, but apparently not for characteristics.
    Thank you for any help anyone can offer!
    Lauren

    Hi Lauren,
    You can get this info from RSD1 > put in the InfoObject name. From the menu Edit > Where used list (do not use the where used button).
    Hope this helps...

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

Maybe you are looking for