Reg: Check View/MView query -

Hi Experts,
I'm trying to search for all references of a Table (in ALL_SOURCE). But not able to check into the query of VIEWs and MVIEWs.
ALL_VIEWS and ALL_MVIEWS have LONG columns called TEXT and QUERY respectively.
Any pointers how can I search into these columns?
Help much appreciated!
Ranit B.

You can use all_dependencies
SELECT *
  FROM all_dependencies
WHERE type = 'VIEW'
   AND referenced_owner = 'TABLE_OWNER'
   AND referenced_name = 'YOUR_TABLE';Or you can have a look at Long to Varchar2 conversion....

Similar Messages

  • View object query bind variable

    I have a bind variable in my view object query and "Required" is unchecked for it. Due to this JUnits are failing with the Missing IN or OUT parameter error. If I set the bind variable as required, the JUnits run fine.
    But this bind variable is also used in several view criterias where it is set as Optional. So if I set the bind variable in the view object query as Required, will it affect the view criterias as well?

    check https://blogs.oracle.com/jdevotnharvest/entry/the_infamous_missing_in_or

  • Different in viewing the query in query designer and bex analyzer in BW Prd

    hello...i transported the query from bw dev into bw prod successfully. when i view the query using query designer in prod, the query is the same copy of query in bw dev and QA but when i view the same query under the bex analyzer in prod, the query is not the same.
    the correct query should be able to see 3 mandatory variable input but when i view it under the bex analyzer, only 1 mandatory variable can be seen here. Whereas when i view it under query designer, i can see the 3 mandatory variable being define there. And this query is assigned in one of the role as well.
    any idea on this? thanks!!!

    i checked in rsrt in sap, the personalization of the variable is not in yellow color, i can see the 3 variable in bex analyzer but the other 2 variable which is a mandatory field input for that query appear as optional variable input instead of the mandatory field input...

  • Data view in Query

    Hi,
    My Data flow has 4 dso's and 1 cube. There are some common fields in 4 dso's. It was a 3.5 flow and I have migrated to BI7.0. SOme of the mapping were proposed by itself but some are not.
    Now my question is How the data would be viewed at query level.
    Would appreciate if anybody can make me understand.
    Thanks

    On the cube.
    I am not able to understand how it will fetch the records. Let us assume Sales Documnet no. is in all four tables and our requirement is that we have to pick delivery information from one table and sales document no. from another table. How the system will link the record.
    Thanks

  • CM14 BI Publisher - modifying an existing Data Model, the Graphic View in Query Builder does not display

    I am trying to edit the default forms/reports that come with CM14, trying to edit the data model, data set, (to get to the old Infomaker style graphic view) , the Query model does not display (error the list of tables is too long..) Oracle tell me the limit is 60,  there are not 60 tables referenced in any CM report.
    Does this Query builder view work at all on any report?
    (bigger question, we are moving from CM12, should we move to CM13 which works with infomaker?)
    Thanks,
    Paul L

    Kurt, thanks for your replies.
    A couple of notes/clarifications.
    1.     You are correct that BI works better in Firefox--I have observed issues with the BI display when using IE.  I would recommend using Firefox too.
    2.     You are correct about the way to get to the Query Builder to see a graphical view of data tables.  There are basically two issues with this that I mentioned, but will re-iterate:
    a.  If you have an EXISTING query in the data set, then click the "Query Builder" button, this will remove the existing query that's there, it will NOT display the existing query in the query builder.  Query Builder works only to create a NEW query from scratch.
    b.  Query builder is limited to selecting 60 fields max in your query.  If you are creating a large report with many tables, you may find that 60 fields is not enough.  For that you will have to work in the SQL edit screen rather than using the query builder.
    I would impress on anyone developing CM14 reports that they become familiar with the database schema and relationships to avoid problems when developing your BI reports.  You should be able to find the tables and joins documentation in the knowledgebase.

  • SharePoint 2013 List View with query string filter stops working after editing view from browser

    I have created one list definition in which I have added one list view which will filter data from query string paramater
    So when I am creating list from my list definition, view with query string filter is working fine.
    But when I am modifying view from UI(I am not changing any thing , just opening "Modify View" page and then click on "Save" button), view gets stop working means it's not filtering data based on query string
    Any suggestion what I am missing?
    Below is my list view schema
    <View BaseViewID="11" Type="HTML" TabularView="FALSE" WebPartZoneID="Main" DisplayName="$Resources:OIPLBScoreCard,viewFilterTasksByTarget;" MobileView="True" MobileDefaultView="False" Url="FilteredTasks.aspx" SetupPath="pages\viewpage.aspx" DefaultView="FALSE" ImageUrl="/_layouts/15/images/issuelst.png?rev=23">
    <Toolbar Type="Standard" />
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    <ParameterBinding Name="TargetId" Location="QueryString(TargetId)" />
    </ParameterBindings>
    <JSLink>hierarchytaskslist.js</JSLink>
    <XslLink Default="TRUE">main.xsl</XslLink>
    <JSLink>clienttemplates.js</JSLink>
    <RowLimit Paged="TRUE">100</RowLimit>
    <ViewFields>
    <FieldRef Name="Body"></FieldRef>
    <FieldRef Name="Title"></FieldRef>
    <FieldRef Name="StartDate"></FieldRef>
    <FieldRef Name="DueDate"></FieldRef>
    </ViewFields>
    <ViewData>
    <FieldRef Name="PercentComplete" Type="StrikeThroughPercentComplete"></FieldRef>
    <FieldRef Name="DueDate" Type="TimelineDueDate"></FieldRef>
    </ViewData>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name="oipscTargetLookup" LookupId="TRUE"/>
    <Value Type="Lookup">{TargetId}</Value>
    </Eq>
    </Where>
    </Query>
    </View>
    I have one lookup field from "Target List" in my source list and I want to filter data based on that lookup field.

    Hi JayJT,
    The Miscellaneous is located in the contact list that you used for the connection.
    So , you need to edit the page, then edit the contact list that you used, in the web part properties of the contact list, you will find Miscellaneous, then expand it and select ‘Server Render’ .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How To change the ADF View Object  query where-clause at RunTime?

    I am trying to create a simple display page which will display user data (username, assoc_dist_id, assoc_agent_id, status , etc). The User data is stored in a database table and i am using an ADF Read Only table based on the View Object to display the data on the JSF page.
    However, i want to display only the users that a particular person accessing the page has the AUTH LEVEL to see. e.g. If the person accessing the page is an 'ApplicationAdministrator' then the page should display all users in the table, If its a 'DistributorAdministrator' then the page should display only users associated with that Distributor (i.e. assoc_dist_id = :p_Dist_id ) and If its an 'AgentAdministrator' , then the page should display only users associated with that Agent ( i.e. assoc_agent_id = :p_Agent_id).
    Currently my af:table component displays all the users in the table because the query for the view object is (select * from users) . However, i want to use the same viewobject and just set the where-clause at runtime with the appropriate parameter to restrict the dataset returned.
    Do anyone knows how to accomplish this ?

    David,
    See the custom method initializeDynamicVariableDefaults() in the SRViewObjectImpl.java class in the FrameworkExtentions project in the SRDemoSampleADFBC sample application. You can find out how to install the demo if you haven't already from the ADF Learning Center at:
    http://www.oracle.com/technology/products/adf/learnadf.html
    This class is a framework extension class for view objects that adds a neat, generic feature to be able to dynamic default the value of named bind variables. You can read more about what framework extension classes are and how to use them in Chapter 25, "Advanced Business Components Techniques" of the ADF Developer's Guide for Forms/4GL Developers, also available at the learning center above.
    It is an example of generic framework functionality that "kicks in" based on the presence of custom metadata properties on a named bind variable. See section 25.3.3 "Implementing Generic Functionality Driven by Custom Properties" in the dev guide for more details. Using this sample code, if you add a bind variable to a view object, and define a custom metadata property named "DynamicDefaultValue" on that bind variable, and set this custom metadata property to the value "CurrentUser", then that bind variable will have its value dynamically defaulted to the name of the authenticated user logged in. If instead you set this custom property to the value "UserRole", then the bind variable will be set to the comma-separated string containing the list of roles that the authenticated user is part of.
    Once you've created a framework extension class for view objects like this, you can have the view objects you create inherit this generic functionality.See section 25.1.4 "How to Base an ADF Component on a Framework Extension Class" in the dev guide for more info on this.
    By adapting a technique like this (or some idea similar that better suits your needs) you can have your view object query contain bind variables whose values automatically take on the defaults based on something in the user-session environment.

  • Unable to view adf query panel in jsf page

    hi i cannot view the Query > ADF Query Panel when i click the query button to load the page but i can see the page in design. i can only see the search with drop down arrow but cannot see other part of ADF Query Panel . i did this by 9.Expand the EmpDetails1 data control and expand the Named Criteria node below it. Select All Queriable Attributes and drag it into the new query.jsf page. Create it as a Query > ADF Query Panel.
    Edited by: user603350 on 2011/12/08 12:04 PM

    the query button am talking about is the button i click to navigate to the other page(jsf) the page does not display the Query > ADF Query Panel.
    am doing this tutorial http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_55/jdtut_11r2_55_3.html am having problem in step 9 .Expand the EmpDetails1 data control and expand the Named Criteria node below it. Select All Queriable Attributes and drag it into the new query.jsf page. Create it as a Query > ADF Query Panel. i can view the ADF Query Panel in design but when i run the application and click the navigation button the page does not show the full ADF Query Panel it only show the search with drop down arrow
    Edited by: user603350 on 2011/12/08 8:39 PM

  • BOXI3.0 Universe Design using view or query in SQL

    Hi. Alias here.
    I would like to know what are the effect to the BOXI3.0 or SQL performance if:
    1. We are using view or query in creating the universe?
    2. Is it the correct way of creating the universe only from tables?
    3. If need to do combination between tables and views?
    Hope you all can reply to this matter.
    Regards,
    Alias

    Hi Alias,
    Designer has the capability to import tables and views you cna use in the design of the universe. Furthermore, you can also create a derived table in the universe - in simple terms it is much like a view, but the code is in the universe availble to the universe designer.
    With all this available to you, it is pretty much up to you how you want to tackle the design. I would say first prise is using the physical tables in the databse, then move to using a view and if there are certain restrictions on the designer, use the derived tables.
    Remeber this, at the end of the day, any SQL code generated or used is passed down to the database to be processed, may it be the query from the universe directly on the tables or by means of the views or derived tables - the database server will need to crunch through it all - and this is what will determine your performance.
    Regards
    Jacques

  • Authorisation check in ABAP Query..

    Hi Gurus
      Can we put Authorization check in ABAP Query ?
    Your help is appreciated.
    Regards,
    Gajanan

    Hi,
    Please check this online document on how to setup authorization for SAP query.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    Regards,
    Ferry Lianto

  • Cannot export Financial Report from HTML view to Query Ready Mode

    Hi,
    I am opening Hyperion Financial Reports in Workspace in HTML mode. On the bottom right of the report, when I click on "Export in Query Ready Mode", the report does not get transported to excel. Rather, a message flashes for a split-second and disappears. The message is "The address is not valid". Can anyone please advise as to what should I do to get the report in excel? I did notice that there is also File->Export->Excel->Fully Formatted Grids & Texts, but we want to get it in Query Ready Mode.
    Version is 11.1.1.3. Thanks for any suggestions.
    ABG

    We have resolved this issue. The problem was that Smart View installation/configuration was not complete on the machine which I used to launch report into Query Ready Mode. Once Smart View was fixed, we were able to convert report from HTML view to Query Ready Mode.
    ABG

  • Using XL reporter view in query generator

    is it possible to use XL report views in query generator ?

    Yes, they XLR views start with ixv.
    Jim

  • View Command/Query Without Connection?

    I need to reverse engineer an old report so that I can reconstruct it using a new database.  The report used the Command feature, and I am fairly certain the fields being called into the report are not renamed, but I need to see which tables were used - how can I view the query without setting up a connection to the database?  (There are over 100 tables in the current database, with many replications of field names, so they are insufficient in determining the need - the old database is no longer in existence, and there was no data dictionary for it, so I cannot access it or recreate it).
    CR wants me to create a connection or log in before I can view the query, and I'm not finding a way around that ...
    Any ideas?
    thanks!

    I had already tried that before posting - CR "fixes" things to correlate with a new database, so the query bound to another database that is similar (if I had access to one, which I don't) would be altered to reflect the new database.
    The entire purpose of trying to get the query is to get the table names used in the original/missing database, and that's what I can't figure out how to do.  CR is requiring a logon to a database before allowing me to view the query that was typed in, but in so doing the query is altered.

  • Views in query designer

    Hi,
    can you please tell .
    In the tcode:RSRT1 we have View What does it mean?
    Can we create views in query designer?
    Can we use the dictionary views in query designer?
    Can you please tell about?
    Regards
    Naresh

    Hi Naresh.
    RSRT1 is used to view the output of queries as well as views.
    This is the reason why you see the option to input view.
    the difference between RSRT and RSRT1 is as follows
    rsrt allows only queries to be executed and provides output in List as well as HTML format
    rsrt1 allows you to execute views as well as queries and in HTML format.
    hope this helps,
    Sri...

  • Authority Check to a Query

    HELLO,
    I am trying to introduce an authority check in a query, to do this I use the SQ02 transaction but I have 2 problems:
    1.- I can't change the At selection-screen module
    2.- If I change the Start Of Selection, then I save the code and finally I generate the infoset but I can`t see the modifications in the query.
    Do you Know what can I do to solve this problem?
    Thanks

    I think you don`t understand me.
    I have put ZTCO_SOLTRAS_CAB-BUKRS in the GoTo ..., it works correctly, but it is not my problem. My problem is:
    before I modified the query, the query read the field SP$00001(a select options) and get all the bukrs between the SP$00001-low and the SP$00001-high . Then I had to put a new field s_bukrs in the selection screen and now the user put the bukrs in muy new field, in that way I can check the authrity perfectly; so up to now all is correct...
    but the problem arrives in order to show the query results,  it doesn't matter what values fill the user in my field (s_bukrs) because the query still uses the SP$00001 field to filter data.
    An example:
    The user introduces the values 'A41' in the SP$00001-low and 'A43' in the SP$00001-high.
    I get those values and I check the authority. Imagine tha the user can see all the bukrs and the query goes on.
    Here is the problem!!!!!!!!!!! The query continuous (and it was code so) and in order to show the bukrs, goes to the field SP$00001 to filter data.( I can´t modify this code....) SP$00001 is empty so the query shows all the bukrs and the user only want to see bukrs between A41 and A43
    Do you understand me now?
    Thanks a lot, yo are helping me a lot!

Maybe you are looking for

  • My system crashed...if I post my report, can someone tell me what happened?

    My relatively new 2010 MBP 15" 2.66 i7 8GB RAM w/ the anti-glare screen (trying to include all the info, just in case) crashed. First, it wouldn't wake from sleep. That happens from time to time, sure. But this time, it didn't even sleep when I close

  • Determination of First Date in Sales Order

    Hello SAP Friends,  Below is the issue we realised during the testing. The issue is with First date in the Sales Order which is not updated as per Unloading Point Calendar . As per details I received, it should refer Unloading Point Calendar for Ship

  • Why Can't I connect to itunes store ?

    Why Can't I connect to itunes store ?

  • Need help finding information about a photo taken on my iphone, date, gps

    I took a photo a few months ago and I still have the photo on my phone, I need to find out the date, time and GPS coords of the photo, I had an app a long while back that would do this and I am pretty sure its free but I have no idea what it was call

  • Macbook pro as a present

    Hey there! Just a quick question: My parents have bought me a Macbook Pro for a christmas present, as it has been stored away for a while now (and has not been booted up for the first time) will this affect the battery in any way? Or am I just being