How to find object use in other object

Hi All,
I want to find one object for example procedure which is used in other object like function,procedure or view.
How can i find it?
Thanks in advance.

user647572 wrote:
Hi All,
I want to find one object for example procedure which is used in other object like function,procedure or view.
How can i find it?
Thanks in advance.Use DBA_DEPEDENCIES view :
SQL> create table my_tab (id number);
Table created.
SQL> create or replace procedure my_proc
  2  as
  3  p_id number;
  4  begin
  5  select id into p_id from my_tab;
  6  end;
  7  /
Procedure created.
SQL> select owner, name, referenced_name from dba_dependencies where referenced_name='MY_TAB';
OWNER      NAME                 REFERENCED_NAME
SYS        MY_PROC              MY_TAB
SQL>

Similar Messages

  • How to find Object Styles

    Hello,
    Adobes Scripting Guide: JavaScript explains well(more or less) how to find text, greps and glyph. But lacking is how to find Object Styles. The Find/Change Dialog box in ID does have this option.
    What I would like is a script that will find a style, then fill in the color of that style so that one can clearly see in a long document where the style was used. When there are only subtle differences between styles, this is helpful.
    The first thing to do is to clear all the options and that is my first stumbling block. In the following code the first line works, clearing the find of any parameters. The second line does not work.
    app.findObjectPreferences = NothingEnum.nothing;
    app.findChangeObjectOptions = NothingEnum.nothing;
    I also need to set the Search for Documents (not All Documents nor Selection) and to set the Type for All Frames.
    The second obstacle is setting the Find so that it will find the object I am looking for. The code below does not work but I do not know why.
    app.findObjectPreferences.getElements("Object Style 1");
    Any help is appreciated.
    Tom

    You need this:
    app.findObjectPreferences = null;
    app.findObjectPreferences.appliedObjectStyles = "Object Style 1";
    found_objects = app.activeDocument.findObject();
    Some things are different in scripting compared to the interface. For instance, the scope of the search in the interface is just "document" or "all documents", but in a script you can search a page, a spread, almost anything (I have to say that this is true for text and grep searches, I never tried it for objects). Finding frame types is different as well: there's no parameter for that I don't think. Instead, you have to find all frames that have a particular object style applied to them, then cycle through them checking their frame type; if the type matches your criteria, do what you want with it.
    Peter

  • How to find Object name for a object?

    Hi Experts,
    How to find Object name for a particular Object? Is there a Tcode for it?
    __Like Object name for__
    Material number -  materialnr
    Goods receipts / return - matbeleg
    Accounting documents -  rf_beleg
    How to find Object name for other Objects? Is there a particular way?
    Thanks & Regards
    Chandan

    Hi,
    You can find objects in SNRO transaction.
    In SNRO search by giving long text...
    for eg., Service .. for service entry sheet. keep the first letter in capital letter only.
    Thanks & Regards,
    Anand.

  • How to find u0091Where used list of BSP Applicationu0092?

    Hi,
    In standard, one BSP application is calling another BSP application by hard coded in application.
    I want find a where used list of a BSP application.
    How to find ‘Where used list of BSP Application’?
    Regards,
    ...Naddy

    Hi Naddy,
    there is a way to find such hard coded things as long as they are really written as literal in the coding. So far i havn't used it on BSP but it's just a token search.
    You can use the code inspector for such things (TCode SCI). You define an object list. Therefore you have to use the static list (dynamic won't work) e.g. for all objects in a package. The ugly thing is that sap has built a filter in SCI that you cannot run it on their standard objects (no comment on that). So you get always 0 objects on sap packages. But you can debug into SCI and set a break point on statement 'SELECT'. One of the selects gets the objects from repository. In this statement sap hands select options to exclude SAP objects. If you change the values you can get these objects in the list.
    Then you run a search on these objects to find the string you look for.
    Ok that's not very comfortable but still faster than checking dozens of objects by hand.
    Best regards
    Roman

  • How to find and use MS Office on new MBA

    How to find and use MS Office on new MBAir

    Office is not preinstalled on Mac computers. Since the MacBook Air lacks an optical drive, the most convenient way to get Office is to purchase it as a download from Microsoft here.

  • How we find object list  for SAP MM T codes.

    Dear Experts,
    How can i find object list  for SAP MM T codes.
    Actualy that is required for SAP User autorization review.
    Regards
    Kumar

    Get t.codes list from table TSTCT using SE16,Enter t.code as MM* or M*. Execute it.
    You will get a list of MM t.codes.
    Also you can refer SU22 for authorization objects from above t.codes list.

  • How to Find Companies Using SAP CRM in Australia ??

    Hello mate,
    Could you please tell me how to find out the companies list which are currently using SAP CRM in their organization and located in australia
    Thanks
    David

    This type of information is normally provided by SAP to their prospects and/or customers and sometimes partners etc.  If you are a SAP prospect and need this information, talk to your account executive.
    I'm located in the United States, so I personally couldnt' give you any public examples of companies running CRM in Australia. I think however there is this general reference source for customer examples. 
    This page will do what you want:
    http://www.sap.com/index.epx#http://www.sap.com/customer-testimonials/business-process/customer-relationship-management.epx
    It came back with 3 specific customer success stories for Australia and CRM.  I know there are more, but that should give you a start.
    Take care,
    Stephen

  • How to find script used for tcode VF31

    Hi
    How to find the Scripts or smartforms used for a particular tcode like VF31
    Regards
    Nanda

    Hi Kishore,
    Go to se38 and open the program RSNAST00. Search for the subroutine TNAPR_LESEN. Set a break point at that subroutine and go to transaction VF31. Run the transaction and give a form for printing. The processing stops at the subroutine and the debugger opens up. There double click on the field TNAPR-FONAM. This will display the name of the script or smartform that is used by the transaction.
    Try the following link for further reference.
    Link: [Re: SAP Script]

  • How to view channels used by other local wireless networks?

    I use a wireless airport network in my office, with my Airport Express (802.11g) base station about 10 feet from my iMac. I get a lot of interference (from other networks or cordless phones) and despite interference robustness being on, my airport signal gets dropped fairly often -- and with it, I lose my Internet access and wireless printer.
    There are about 15 other local wireless networks (owned by other businesses). I thought I might improve my interference robustness by switching my wireless channel to a channel used by the least number of other networks.
    Now, I seem to remember running into an (Apple) app somewhere that showed these local wireless networks with their channels. But now I can't find it again, so I can't tell which channel is least used. I hope someone can help me find that app or functionality again!
    Thanks.

    Thanks for the suggestion; I checked it out and found some questionable reviews on VersionTracker for iStumbler so I'm hesitant to jump right in (does it still fill up the Console log?)
    In any case, I seem to remember finding channel information using some other application or preferences pane or something already on my system, but now I can't remember where. Is there any app that comes with OS X that shows channels on local wireless networks? I can't find this feature in Airport Utility.
    Thanks for any assistance.

  • How to find which programs (and other objects) use the field LGORT

    Hi, Im an Abap freshman, and I have been asked to search all programs and objects that use the field LGORT (Storage Location), regardless of what table it is in.
    Is it possible to do it using the "Where-Used List"?
    This will be important since a new Storage Location will be created for MM, and we have to assure that no other programs that reference to it will be affected.
    I would appreciate any help. Thanks!!

    Hi George,
    Go to transaction SE11, choose radiobutton Data Element then enter the name LGORT. Now using the where-used-list in the toolbar, choose programs checkbox in the subsequent dialog and press enter. It should show all programs using the field LGORT irrespective of table name.
    Hope this helps.
    Cheers,
    Sougata.
    Using ECC6.0

  • How to find un used Object styles in a indesign document?

    hi,
    I need to remove unUsed Objects Styles.
    How do i find out?
    How to remove it?
    by,
    Subha

    As far as I can tell, you need to get an array of all the styles you are using, then compare it to the available styles and remove those that don't match up. I did something similar for swatches and changed it for object styles, but I am curious if there is a better way now or in the future. The following code compares and removes used and available styles based on the indexes, ignoring default styles in brackets... but hopefully someone has a more efficient way.<br /><br />jerrod<br /><br />//try this<br />var usedStyles = new Array();<br />for(var x=0;x<yourDoc.allPageItems.length;x++){<br />  usedStyles.push(yourDoc.allPageItems[x].appliedObjectStyle.index);<br /><br />}<br /><br />usedStyles.sort(compareNumbers);<br />var currentIndex = yourDoc.objectStyles.length-1;<br />for(x=usedStyles.length-1;x>-1;x--){<br />  while(currentIndex>usedStyles[x]){<br />    try{<br />      if(yourDoc.objectStyles[currentIndex].name.charAt(0)!="["){<br />        yourDoc.objectStyles[currentIndex].remove();<br />      }<br />    }finally{<br />      currentIndex--;<br />    }<br />  }<br />  currentIndex=usedStyles[x]-1;<br />}<br /><br />function compareNumbers(a, b) {<br />  return a - b<br />}

  • How to find object dependencies using the DBA_DEPENDENCIES

    Hi,
    Could some one please help me in finding out the object dependencies among objects?
    I was trying to find out the all levels of dependencies for a given object in  a given schema, but this following query is not working for packages type.
    I want to find out all LEVELS of object involved in the creation of a package.
    Example:
    SELECT DISTINCT owner,name,referenced_owner,referenced_name,referenced_type, LEVEL Le1
    FROM dba_dependencies
    where owner =user
    START WITH NAME = 'object name'
    CONNECT BY NOCYCLE PRIOR referenced_name    = NAME
    --AND PRIOR REFERENCED_OWNER = OWNER
    --AND REFERENCED_TYPE = 'PACKAGE'
    ORDER SIBLINGS BY name
    Please help.

    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    WITH v AS (
        SELECT  line
               ,col
               ,name
               ,object_type
               ,object_name
               ,type
               ,usage
               ,usage_id
               ,usage_context_id
        FROM    user_identifiers
        WHERE   object_name = 'XML_SPREADSHEET'
        AND     object_type = 'PACKAGE'
    SELECT  LEVEL,LPAD(' ', 2*(LEVEL-1)) ||NAME
           ,object_type
           ,type
           ,usage
           ,line
    FROM v
    START WITH name = 'T_REC_CAPTION'
    CONNECT BY PRIOR usage_id = usage_context_id
    ORDER SIBLINGS BY line, col
         LEVEL LPAD('',2*(LEVEL-1))||NAME   OBJECT_TYPE   TYPE               USAGE             LINE
             1 T_REC_CAPTION                PACKAGE       RECORD             DECLARATION        317
             2   TITLE                      PACKAGE       VARIABLE           DECLARATION        318
             3     VARCHAR2                 PACKAGE       CHARACTER DATATYPE REFERENCE          318
             2   TOPTITLE                   PACKAGE       VARIABLE           DECLARATION        319
             3     VARCHAR2                 PACKAGE       CHARACTER DATATYPE REFERENCE          319
             2   SPAN                       PACKAGE       VARIABLE           DECLARATION        320
             3     PLS_INTEGER              PACKAGE       SUBTYPE            REFERENCE          320
             2   COMMENT                    PACKAGE       VARIABLE           DECLARATION        321
             3     VARCHAR2                 PACKAGE       CHARACTER DATATYPE REFERENCE          321
             2   REPEATTITLE                PACKAGE       VARIABLE           DECLARATION        322
             3     BOOLEAN                  PACKAGE       BOOLEAN DATATYPE   REFERENCE          322
             1 T_REC_CAPTION                PACKAGE       RECORD             REFERENCE          324
             2   BINARY_INTEGER             PACKAGE       SUBTYPE            REFERENCE          325
    13 Zeilen gewählt
    What do you mean with They are giving only one level depth of dependencies?

  • How to find objects ( tables) used in SP

    Is there any query with which I can find all the tables used ( to perform Select Insert Update Delete operation) in a procedure in oracle 10g.
    I want to take back up of all the tables used in a particular. but it is becoming difficult to find by looking at line by line as the sp is of 3K + lines.

    With USER_DEPENDENCIES view :
    SELECT referenced_owner, referenced_name
    FROM user_dependencies
    WHERE type = 'PROCEDURE'
    AND name = 'YOUR_SP_NAME'
    AND referenced_type = 'TABLE'
    ;

  • How to find object type

    hi friends,
    i have a object type -BUS2081. which is bein used in MIR4 transaction.
    how to get the object type for transaction fb03.
    thank u,
    kat

    Hi,
    It is BUS1028
    Mark use full answers.
    Regards,
    Nanda.

  • How to find Object List from multiple Transport Requests

    I have more than 300 transport request to review, going though all requests will take lots of time. Is there a way to find the list of objects from these requests so that I can go through objects only and by this way the list of objects will be certainly less than 300 for example.

    Maybe you can use SE03 function "merge object lists" for this purpose. You can enter the 300 numbers and merge all objects e.g. into a transport of copies, that you can delete again after your exercise. Don't lock the objects inside this temporary request.
    The benefit is that each object will only appear once (if not, choose "object list -> aggregate" in the request details), and you can navigate to the underlying objects, something which a simple SE16 for E071 does not offer.
    Thomas

Maybe you are looking for

  • Can't boot ! (I killed my new Mac)

    I am a meat-head Windows user just switching to Mac.... and I killed it within a day. I was poking around in the sharing/permission section of my Macbook Air drive. There were three sections... [System, Administrator and Everyone] I set System and Ad

  • Select Expert - Formula : Some clarifications

    Hi, Can anyone explain the below formula in Select Expert: IF {?param} = "AAA" THEN {Command.CD} = "ALL" ELSE IF {?param} = "BBB" THEN NOT({Command.CD} = "BALL") ELSE true My doubts are: 1) This formula will be executed after the query in the 'Comman

  • How to trigger a MouseEvent from TLF, my test doesn't work

      Hi,       I run into a problem while using the Listener of TLF,       Inside  the  TextFlow,  I have several Paragraphs.       What I wish to accomplish is to trigger a mouse Event, like ROLL_OVER, ROLL_OUT event , when  my mouse is over a on one o

  • Material Determination in Purchase Order through EAN ( Barcode )

    Hi Experts, Required your valuable inputs. My Client has internal number range and has EAN Number in EAN Field through Barcode, Can any one help me out to know the determination of Material number through EAN. While raising a Purchase Order he wants

  • Corsair Ram for iMac late 2013

    Hi, I got a new iMac 27" late 2013, and bought 32GB Ram somewhere else. It's 4x8GB Corsair Mac Memory DDR3 1600MHz PC3 12800 (CMSA16GX3M2A1600C11). I got several Kernel Panics, but only with the Corsair Ram. Everything seems to work fine if I use the