View the query in runtime in oaf

Can anyone please tell me that is it possible to view the execution query on the fly like in php i can see the statement by var_dump($sql).
i would like to see the execution sql script on the fly.
would you please tell the way if possible.
mofizur

mofizur,
You can make use of vo.getQuery before vo.executeQuery to get the script.
Regards,
Gyan

Similar Messages

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

  • I want to view the query like this

    HI,
    i want the output like when i execute query in the query designer it shouldn't show the variable screen i.e. directly it has to show the report but after showing the report if i click variable screen option it has to show the screen to select the variable values.
    IF U KNOW PLS SEND THE ANS IMMEDIATELY,
    Thanks and regds,
    S.Girikumar.

    Giri ,
    what you need to decide is ,
    1. what should the query take as input if no variable in entered - shouold it display for all values ? in that case is a variable required ? you could do with s filter area instead.
    2. Please give the intended user behavior and then we can guide you.
    Some of the options are :
    1. Have a default value for the variable ( this can be given during variable creation ) and then have a button on the template which will pop up the variable screen and the user can enter the variable.
    Hope this helps...
    Arun

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

  • How to view an image at runtime?

    Hi all,
    I am developing a web application using JSP,struts, ADF BC with JDeveloper 10.1.3.
    I have added
    <input type="image" src="../../images/calendr3.gif"/>
    in my Databound table on my JSP page.
    I can see the image at Design time but no image at runtime.
    What should I do to view the image at runtime??
    I have tried
    <input type="image" src="<%=request.getContextPath()%>/images/calendr3.gif"/>
    in this case JDeveloper completely stops functioning. I don't know why? Maybe it's not allowed to have a jsp tag within a databound jsp form???

    Hi,
    did you add the image to JDeveloper (hit the refresh button) so it gets deployed with the application ?
    Also, look at the generated JSP code to see how the image is accessed. I am sure you will find an improperly defined URL
    Frank

  • 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

  • Programmatically change the query used to generate Oracle Reports

    I have two queries. Depending on some parameter value, I would like to use one of these queries to generate my report. Is it possible to programmatically change the SQL query used to generate the Oracle Report.
    Thanks

    There are two options:
    - The easy way
    In the report paper layout create two frames, one for each query , and at runtime
    display only one based on your parameters. (using format triggers on the frames)
    - the not so easy way (but more elegant)
    create the query at runtime using xml customizations using the examples from
    the following documentation:
    http://download-
    uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_xml.htm#i1006734
    16.3 Creating XML Data Models
    16.4.1.3 Applying an XML Report Definition in PL/SQL
    16.4.1.3.2 Applying an XML Definition Stored in Memory
    Regards and Good Luck
    Ionut S

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

  • Unable to View SQL query

    Hi, I was trying to view the SQL of a crystal report connected to Oracle11 DB via native connection. But the "show SQL option " under database menu is greyed out. can someone please let me know the reasons behind this greying out of the option . Is there any way I can view the query of this report??

    Thank You for the quick response. The report is created on a single table . This table's fields are placed in the subreport which is placed at the footer section of the Main report. The main report just holds the column header. I hope its clear.

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

  • Is it possible the query in view object is dynamic?

    Is it possible the query in view object is dynamic?
    Generally, make the column list dynamic.
    I think this is related to whether view object can be assembled at runtime based on a dynamic cursor in a procedure?
    I ask this because I would like to know how we can use OA framework to simulate crosstab workbook in Discoverer?
    Anybody has some clues, please advise.
    Thanks.

    Hi Shay,
    Let me tell you briefly... I am sending input as customerId,customerNumber,CustomerName to the web service, if the record is available i am getting the response and i am displaying those records on page as a table. Now when i click a row i need to populate another table with all sale orders of that customer. From webservice datacontrol i have only customer object, I dont have Sales Order Object. For this i need master detail relation. In this case how to proceed. Thats why i am thinking to create a vO and EO object for sales orders table and i want to create view link for this sales order and customers. As i don't have customer VO and EO object to create view link.

  • Query to view the support group of a generated ticket in the Database, not the Data Warehouse

    Hi,
    I need a query to view the support group of a generated ticket, but the query must be useful in the only Database (I don't know what happened in the DW, could be a issue).
    Please help me,
    Greetings! 

    it's "possible", in the same way that low temperature fusion and space elevators are "possible". There's nothing conclusively ruling it out, but not something you want to attempt on your own under a time constraint. 
    The "Active" ServiceManager database is a 5th or 6th normal form dynamic software defined snowflake schema representitive object database. Updating the database directly is strictly unsupported, and
    Travis has discouraged people from even trying to read from it. a college of mine does service manager and operations manager databases at a 400+ level full time, and after 2+ years of doing it, he
    almost understands the operational database. it's WELL beyond me, and I do Service Manager basically full time. 
    That being said, if you are brave and only looking for some basic data, you might be able to tease some things out with the SQL management studio and a good grasp of SQL syntax.
     for a production environment, you're much better off fixing the DW. 

  • How to open and the view the .jsp(OAF) page and it's related code?

    Hi,
    Can anybody help on how to open the .jsp and it's related java files to see the coding? I want to know the table and view details related to a particular OAF page. It will be great help if someone explains.
    Thanks in advance.
    Muruga.
    Edited by: Murugeshapps on Jun 26, 2009 6:37 AM

    Hi,
    Please see the following documents.
    Note: 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=416708.1
    Note: 330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=330236.1
    For further OAF questions, please post it in [Technology - OA Framework |http://forums.oracle.com/forums/forum.jspa?forumID=210] forum, you would probably get a better/faster response.
    Regards,
    Hussein

  • How to view the sql query?

    hi,
      how to view the sql query formed from the xml structure in the receiver jdbc?

    You can view SAP Note at
    http://service.sap.com/notes
    But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
    Reason and Prerequisites
    You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
    Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
    Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
    When you want to use a parameter documented here, please be aware to which category it belongs!
    Solution
    The following list shows all available parameters of category 1 or 2. Please note:
    Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
    Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
    The default value of a parameter is always chosen that it does not change the standard functionality
    JDBC Receiver Adapter Parameters
    1. Parameter name: "logSQLStatement"
                  Parameter type: boolean
                  Parameter value: true for any string value, false only for empty string
                  Parameter value default: false (empty String)
                  Available with: SP9
                  Category: 2
                  Description:
                  When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
                  This should be used only during the test phase and not in productive scenarios.
    Regards,
    Prateek

  • Unable to view the Calendar Year/Month in the Query

    Hi All,
    We are having a standard query on Customer InfoCube 0sd_c01_q0003.
    I was able to get the data. But I am unable to view the Calendar Year/month. In that place I am getting '#'.
    I am able to view the details in the InfoCube. There aren't any errors while executing the error.
    Regards
    YJ

    hi,
    U r Problem is not clear...if u r getting # for characteristic values means..u don't have data in Infoprovider...try to view data in InfoProvider with the same selections that u r executing the Query with.
    thnaks

Maybe you are looking for

  • Action Plan

    Hi Everyone, I got this action plan from metalink :) ACTION PLAN =========== 1. Login to the Workflow builder and then check if the AP Invoice workflow got loaded onto the data base or not. 2. Check if there is a corresponding event created in WF_DEF

  • I want to transfer a product from 1 adobe ID to another adobe ID

    The wonderful experience with Adobe: step 1: years ago I created a behance account step 2: 1 year ago i created an adobe ID for CS6 step 3: today i logged into behance and thereby created a SECOND adobe ID step 4: i tried to cancel my CS6 adobe ID wi

  • FaceBook and twitter integration problem

    My face book and twitter tab are disappear from my notification any one plz guide my

  • Nokia N97 software update 21.2.045

    Hi guys, I want to perform a downgrade of software, really I don't like this version of update.  I phone is always with problems How can I do it?

  • How to move to the correct GL account.

    Hi All, I've the following account # 120151161 and there are two invoices booked to this account under 1101 GL account and they should be moved to the 1120888888. They are impacting the trade AR and they are not trade AR. So, pls advice me how can I