How to find level of dependencies for oracle objects....

Hi,
in oracle if we have to find the dependencies we use "all_dependencies", how ever if
we have to find level of dependencies then how should we go about it,
example as shown below;
master object : tablel1
view 1:            v_test using table1
view 2:            v_test2 using v_test
view 3:            v_test3 using v_test2:
so in this case
the master table1 is having level of dependency 0
v_test is having level of dependency 1
v_test2 is having level of dependency 2
v_test3 is having level of dependency 3
and so on....
i hope i am clear in my question,
plz assist,
regards
uvEdited by: Nicloei W on Oct 7, 2008 7:53 PM

You can use a hierarchical query on the USER_/ ALL_/ DBA_DEPENDENCIES table, i.e.
select level, a.*
  from dba_dependencies a
start with referenced_name = 'DEPT'
        and owner = 'SCOTT'
connect by nocycle prior owner = referenced_owner
               and prior name = referenced_name
order siblings by nameJustin

Similar Messages

  • How to find my SOA version for Oracle EBS?

    How to find my SOA version for Oracle EBS?
    Thanks!
    Wei

    please see
    SOA 11g Integration Support for Oracle E-Business Suite (Doc ID 1278194.1)
    AppsMaSti
    Sharing Is Caring

  • How to find latesh version available for ORACLE DB.

    Hi,
    Today i came across situation to suggest latest patchset available for 11G for my OS. How to find in systamatic way?
    like 11.x.0.y.
    Regards
    DBA.

    In general you need My Oracle Support (MOS) access https://support.oracle.com/CSP/ui/flash.html with a CSI linked to your support contract.
    Then you can access following docs:
    2. Oracle Database (RDBMS) Releases Support Status Summary [ID 161818.1] gives last patch set availability whateve the platform
    3. Release Schedule of Current Database Releases [ID 742060.1] give last patch set availabilty for each platform.

  • How to find multiple transport requests for one object

    Hi all,
    Is there any function module which will fetches multiple transport requests ( if created ) for one object.I tried almost all the function modules , but i didn't got the solution.
    I need to develop a report ,   which will takes a single Task number as input and gets the Request number from table E070.
    Based on that Request Number i will fetch remaining Task numbers under it.
    Then for all the Tasks Numbers, i am fetching their  objects by using table E071.
    I need to list out  whether any of these objects are in multiple Transport Requests. Once i got all the Transport Request numbers i need to release the Request based on their Transport Request sequence.
    I tried the following FM's , but not able to get the solution.
    SVRS_DISPLAY_VERSION_LIST
    SVRS_GET_VERSION_DIRECTORY_46
    SVRS_GATHER_REQUEST_FRAGS
    Thanks..

    Hello
    I have tried with below code
    DATA list_tab TYPE TABLE OF abaplist.
    SUBMIT RSWBO040 USING SELECTION-SET 'TEST'
                    EXPORTING LIST TO MEMORY
                   AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
       TABLES
         listobject = list_tab
       EXCEPTIONS
         not_found  = 1
         OTHERS           = 2.
    IF sy-subrc = 0.
       CALL FUNCTION 'WRITE_LIST'
         TABLES
           listobject = list_tab.
    ENDIF.
    break-point.
    Submitting the program(RSWBO040) of SE03 transaction a will result in 'CNTL_ERROR' dump.
    Please try some other options
    Thanks

  • How to find tables in SE11 for transported object details

    Hi Experts,
    I have some Objects from Development to Test system.Now I want to see the list of transported objects in a particular table
    Thanks in advance,
    Peter.

    Hi Peter,
    Also
    Goto SE03........
    Requests/tasks...>Find Requests.>Give that request number and Choose Released in Request Status.
    U will get the Request itslef.Drill Down to find out the Objects.
    Rgds
    SVU

  • How to find last DML operation in oracle ADF

    how to find last DML operation in oracle ADF
    Please help me
    Thanks
    Damby

    In the base EntityIml class, just override doDML() method as I said.
    (see http://docs.oracle.com/cd/E16162_01/web.1112/e16182/appendix_mostcommon.htm
    "Methods for Creating Your Own Layer of Framework Base Classes")
    So, put a some flag in the session.
    You should not call doDML() method in backing bean, it will be called by framework.
    In the backing bean, you only have to get that information from the session, as follows:
    String last_dml_op = (String)ADFContext.getCurrent().getSessionScope().get("last_dml_op");And voila...

  • HOW TO FIND WF_ITEM_TYPE AND WF_ITEM_KEY FOR PO

    제품 : MFG_PO
    작성날짜 : 2003-05-14
    HOW TO FIND WF_ITEM_TYPE AND WF_ITEM_KEY FOR PO
    ===============================================
    PURPOSE
    This solution is for Oracle Purchasing 11 and higher
    Explanation
    1. Start a SQL*Plus session using the APPS schema.
    2. Run the following script and enter the Purchase Order number that is stuck
    in process when prompted for the PO_NUMBER:
         SELECT WF_ITEM_TYPE, SUBSTR(WF_ITEM_KEY,1,25) "WF_ITEM_KEY"
         FROM PO_HEADERS_ALL
         WHERE AUTHORIZATION_STATUS='IN PROCESS'
         AND SEGMENT1='&PO_NUMBER';
    3. If more than one row is returned, then run the following script and only
    refer to the row that contains the OPERATING_UNIT_NAME that equals the
    operating unit name tied to the responsibility used when the Purchase Order was
    discovered as being stuck in process.
         SELECT SUBSTR(WF_ITEM_TYPE,1,12) "WF_ITEM_TYPE",
         SUBSTR(WF_ITEM_KEY,1,15) "WF_ITEM_KEY",
         SUBSTR(NAME,1,35) "OPERATING_UNIT_NAME"
         FROM PO_HEADERS_ALL PA, HR_ORGANIZATION_UNITS OU
         WHERE PA.ORG_ID=OU.ORGANIZATION_ID
         AND AUTHORIZATION_STATUS='IN PROCESS'
         AND SEGMENT1='&PO_NUMBER';
    Example
    Reference Documents
    -------------------

    Hi Kishore,
    Welcome to SCN!
    to find the sales order from Purchase order , go to SE16, Enter the table name as VBAK and press Enter.
    In BSTNK field of VBAK, Enter the Purchase order number. System will return you corresponding sales order.
    Hope this will help you.
    Regards,
    Nikhil

  • How to find Level 1, Leve 2, Level 3 reporting manager

    Hi Experts,
    How to find Level 1, Level2, Level 3 reporting manager for an employee.
    pernr--> leve1 manager --> leve2 manager --> leve3 manager .
    Thanks in Advance.
    Regards,
    IFF

    Hi,
    For fetching Level 1 manaer, there are 2 options:
    1.You can use FM RH_GET_LEADER for PERNR,Position or User
    2.Use FM RH_READ_INFTY with Subtype = A008.
    For Fetching level2 manager,
    1. fetch Level 1 manager.
    2. Get Level1 manager's Org.
    3. Get Level2 manager using FM RH_GET_LEADER.
    Thanks,
    Dharitree

  • How to find .pld files version in Oracle apps

    Hi,
    How to find .pld file version in Oracle apps using unix command or any other way.
    Regards

    Connect to the forms server.
    In the $AU_TOP/resource directory run the following...
    strings -a <NAMEOFFILE>.plx | grep '$Header'
    For example...
    To find the .pld version of INVAMCAP.plx I would run this on the forms server.
    cd $AU_TOP/resource
    strings -a INVAMCAP.plx | grep '$Header'
    This will return the .pld version.
    Hope this helps!
    Jen

  • How to install knowledge base file for oracle text

    how to install knowledge base file for oracle text?
    there are couple of files droldUS.dat,.. which are required to generate gists and themes, where can i find them or install them.
    please help!

    I checked the download page and it says:
    "All Release 2 download pages contain Oracle Companion, Client, Clusterware, Gateways, and Application Express standalone downloads"
    so you should already have it. Try searching for the filename that was in your error message.

  • How to find the WhereUsed List for a Business Object Event?

    How to find the WhereUsed List for a Business Object Event?

    Can anybody let me know how to get which
    Whereused  function will get the data from
    different Werks in multi-level?
    Any sample program please!!!

  • How to find out responsibility attached for particular user through query

    hi
    How to find out responsibility attached for particular user through query
    Regards
    9841672839

    Hi,
    Following sql will help you find the responsibilities associated with the users in oracle applications.
    SELECT frt.RESPONSIBILITY_NAME, furg.end_date
    FROM
    fnd_user_resp_groups furg,
    FND_RESPONSIBILITY fr,
    fnd_responsibility_tl frt,
    fnd_user fu
    WHERE fu.user_name = ‘&&username’
    AND fu.user_id = furg.user_id
    AND furg.responsibility_id = fr.RESPONSIBILITY_ID
    AND frt.responsibility_id = fr.RESPONSIBILITY_ID
    ORDER BY 1
    Cheers...

  • How to find top utilized query for last two months in oem

    how to find top utilized query for last two months in oracle enterprise manager?

    Can you mark the thread as Helpful  and once marked the information can be reviewed by other customer for similar queries
    Regards
    Krishnan

  • How to find next number range for project definition in tcode CJ20N

    Hai Experts,
          Please help me 'How to find next number range for project definition in tcode "CJ20N". I was trying in function module NUMBER_GET_NEXT. Is it right function module? If its right what input i need to give for this tcode and for the field project definition?
    Note: I searched in forum before posting, but couldn't find the solution.
    Thanks
    Regards,
    Prabu S.

    Hi,
    For project defination internal number is assigned by system.
    When you saves's project then system allocate one number to project defination, you can view it,
    SE11 >>> table  PROJ >> Click on contents >>> execute,
    here you will get your project defination & number is assigned to project defination.
    kapil

  • How to find classtype and class for a material.

    Hi,
    How to find classtype and class for a material.
    which table contains this data.
    Thanks
    Kiran

    Hi Kiran,
    Check below sample code. Use this BAPI which will give all info about the class for the material.
      DATA:      l_objectkey_imp    TYPE bapi1003_key-object
                                         VALUE IS INITIAL.
      CONSTANTS: lc_objecttable_imp TYPE bapi1003_key-objecttable
                                         VALUE 'MARA',
                 lc_classtype_imp   TYPE bapi1003_key-classtype
                                         VALUE '001',
                 lc_freight_class   TYPE bapi1003_alloc_list-classnum
                                         VALUE 'FREIGHT_CLASS',
                 lc_e               TYPE bapiret2-type VALUE 'E',
                 lc_p(1)            TYPE c             VALUE 'P',
                 lc_m(1)            TYPE c             VALUE 'M'.
      SORT i_deliverydata BY vbeln posnr matnr.
      CLEAR wa_deliverydata.
      LOOP AT i_deliverydata INTO wa_deliverydata.
        REFRESH: i_alloclist[],
                 i_return[].
        CLEAR:   l_objectkey_imp.
        l_objectkey_imp = wa_deliverydata-matnr.
    *Get classes and characteristics
        CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
          EXPORTING
            objectkey_imp         = l_objectkey_imp
            objecttable_imp       = lc_objecttable_imp
            classtype_imp         = lc_classtype_imp
    *   READ_VALUATIONS       =
            keydate               = sy-datum
            language              = sy-langu
          TABLES
            alloclist             = i_alloclist
    *   ALLOCVALUESCHAR       =
    *   ALLOCVALUESCURR       =
    *   ALLOCVALUESNUM        =
            return                = i_return
    Thanks,
    Vinod.

Maybe you are looking for