Where the query behind the report?

For the Analyses of BI, it has nqquery.log to see the actual query that is sent to the DB, with parameter values.  Where can I see the query when I run a report BIPublisher?

What a pity that OBIEE save queries BEEP.  Try to understand the query by looking at the data BEEP model is awful when someone else has built and it is complex.  I found some workaround solutions:

-When you query the Oracle DB, look at V$ SQL from Oracle to see the complete sql query that was executed.

-When you query a MS Sql DB, run the activity monitor in Sql Server Management Studio (I have not yet tried).

Tags: Business Intelligence

Similar Questions

  • Where the report definition files are stored?

    Hi guys

    I found after I deployed a third party plug-ins, the report definition files (files *.) SQL) inside the jar file is not found under oracle home.

    But for the host target pre-installed , I find both of the file:
    for the definition of target file:
    +/U01/app/Oracle/OracleHomes/agent10g/SYSMAN/Admin/metadata/host.XML+
    for the report definition file:
    +/U01/app/Oracle/OracleHomes/oms10g/SYSMAN/Admin/emdrep/SQL/core/latest/targetTypes_sql/host.SQL+

    I ran 'grep' and 'find' in order to get the file but failed, it's just the way it works? If not after the deployment where are the *.sql file stored?

    Thanks in advance for any answers.

    When you import the plug-in, its content and are put in a table of repository. So when you go to exploit on the plugin, you don't need to join the file system of an individual WHO (which you might have several), you only need access to the repository.

    The best way to get to one of the report files is to export the plug-in and unjar the MPA, he gets put in. The naming of the files will be a little difficult to understand which is the file you want, but they will all be there...

  • client machine go where the report was run

    Hi experts,

    I want to see the name of the client computer that a user has run a report.

    EUL5_QPP_STATS has qs_created_by (the user who executed the report), the qs_doc_name (the name of the report), the qs_created_date (delivery status date). But I could not find any column for the name of the computer.

    Reports are running in the desktop version of discoverer 10.x

    Thank you
    Gerard

    Hello
    What wrote Sutirtha Roy is a good solution, but it's only for the time of the session is still open.
    As soon as the user disconnect the discoverer then the session will be closed and removed from sessions v$.

    If you got active audit so that you can use the audit tables to find the terminal or the machine that a certain user
    used in a given time.

    If you have not enabled on your Audit DB then I don't think it can be done.

    Tamir

  • small bug in the FLUKE PM668x driver, where the report?

    Hello

    just stumbled upon a minor bug in the FLUKE PM668x driver provided in the section of the driver.

    One ',' too in a format string in a cfg - vi to config: 6681 to a closed totaling.

    Where to report?

    However, I add the vi has changed.

    Hi Henrik,

    Thank you for reporting this issue, we have updated the driver and will soon issue the update.

  • Method of Report.Save, the report has been made in a new path, but why is the empty file?

    Hallo,

    I have a problem to save the report file in a new way.

    In my code, I used the Runstate.Report.Save(newpath, overwrite, 0) method to save the report.

    And after the excution of the test, I can find the file of report in the right place, but if I open it, it's empty, I mean, there's nothing in this report.

    Someone has an idea? Where is the problem? And what I could do?

    Thank you!

    Cabio

    Hi Cabio,

    Before answering your question, I would like to let you know that you can configure the path to the report file in the report file path tab report options.  You can choose from several options, including by specifying an expression that is customized for the report path.  This will allow you to customize where the report is saved without changing code.

    If this isn't meeting your needs, the problem you're likely to have is that you access report until the report is actually produced.  To access the report object after it has been populated, replace the ProcessCleanup callback, which runs after the report has been generated.  (see the example of navigation PreUUTCallback for an example of substitution of a reminder.

    Note: if you use TestStand 2012, this method will not work unless you configure Report Builder for not using a new thread.  You can configure this option in the treatment of dialogue by selecting the checkbox options more results.  If you do not want to use a new thread, you can access the report by changing the sequence of AddUUTReportAndSave in ReportGen_ATML.

  • Questions on the reports

    Hello

    I have two questions when creating reports in a page.
    (1) I use pairs model of attribute value to display the data. However, is it possible to change the template like
    col1 value1 value2 col2
    COL3 value3 value4 col4
    ...?

    (2) is it possible to put multiple reports in a form region?
    I have 6 reports on a single page. I want to consolidate
    for example:
    Heading1
    report 1
    report 2
    report 3

    Title 2
    report 4
    report 5
    Report 6

    Your help is very appreciated.

    Hello

    This is not my site (it's Kubecik Dene), so I have more details. If I understand correctly, the principles are:

    For a normal page: you create a region for each report and each region uses the model of the selected region. The region includes the entire structure, including the title and the formatting (for example, borders), for a region. Within the definition of the region is #BODY # which is where the report itself is created. Each region is then placed in one of the positions available region and each position of the region lies on template page using the #REGION_POSITION_01 # etc - and each of them can appear only once. When the page runs, each report in a position in the region is generated, but since each report uses a model of region complete, each of them receives its own title and borders etc.

    For your page: you want to view several reports in the same region, most of tags used in the model of the region are only required once a region rather than once per report - therefore, they must be removed from the template on the template of the page itself and the region. You must put your reports in two posts in the region, the tags should surround the two #REGION_POSITION_nn # that you want to use. Thus, you are then set folds/formatting the positions of the region rather than the regions themselves. Area of your report model should only include the #BODY # and any tag keep each separated from the other report. When the page runs, the position of the region Gets the title and border and reports are simple tables in there.

    You did not say what theme you are using, but here is an example of an application of theme 12:

    1. create a copy of the reports area model and change:

    <table class="t12ReportsRegion" id="#REGION_ID#" summary="" #REGION_ATTRIBUTES#>
     <tr>
      <td class="t12Header">#TITLE#</td>
     </tr>
     <tr>
      <td class="t12ButtonHolder">#CLOSE#   #PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</td>
     </tr>
     <tr>
      <td class="t12Body">#BODY#</td>
     </tr>
    </table>
    

    TO

    <table>
     <tr>
      <td class="t12Body">#BODY#</td>
     </tr>
    </table>
    

    This will just display the reports themselves in individual tables. The rest of the tags, including the region of style are not necessary here, but are required on the page template instead.

    2 create a copy of the page template that you are using (here I use the level one tab page)

    3 - Replace the current defintion of body with the following text:

    <table class="t12PageBody" cellpadding="0" cellspacing="0" width="100%" summary="">
      <tr>
        <td colspan="2" class="t12ApplicationLogo">
          <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="">
            <tr>
              <td>#LOGO##REGION_POSITION_06#</td>
              <td width="100%">#REGION_POSITION_07#<br /></td>
              <td>#REGION_POSITION_08#</td>
            </tr>
          </table>
        </td>
      </tr>
      <tr>
        <td class="t12UserName">&APP_USER. <span class="t12NavBar">#NAVIGATION_BAR#</span></td>
        <td align="right" valign="bottom">
          <table cellpadding="0" cellspacing="0" summary="">
            <tr>#TAB_CELLS#</tr>
          </table>
        </td>
      </tr>
      <tr>
        <td colspan="2" class="t12VerticalBar"><img src="#IMAGE_PREFIX#themes/theme_12/ParentTabBase.gif" alt="" /></td>
      </tr>
      <tr>
        <td colspan="2">#REGION_POSITION_01#</td>
      </tr>
    </table>
    <table class="t12ReportsRegion" width="100%" summary="" style="border:1px solid blue;">
      <tr>
       <td class="t12Header">The First Heading goes here</td>
      </tr>
      <tr>
       <td class="t12Body" style="vertical-align:top;">#REGION_POSITION_03#</td>
      </tr>
    </table>
    <table class="t12ReportsRegion" width="100%" summary="" style="border:1px solid blue;">
      <tr>
       <td class="t12Header">The Second Heading goes here</td>
      </tr>
      <tr>
       <td class="t12Body" style="vertical-align:top;">#REGION_POSITION_04#</td>
      </tr>
    </table>
    <table>
     <tr>
      <td class="t12ContentBody" valign="top"><div class="t12Messages">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#</div>#BOX_BODY#</td>
     </tr>
    </table>
    

    You will notice that REGION_POSITION_03 and REGION_POSITION_04 are now placed in the tags that were the main part of the definition of region model. Also note that the #... items # go to the model of the region have been eliminated or replaced by the fixed text (that is to say, the title has been hardcoded here).

    Now, on your page, set the first set of reports to be "Position 3 in the region" and the second set in ' region 4 "and rotate your page."

    Andy

  • How to avoid the report query needs a unique key to identify each line

    Hello

    How to avoid the error below

    The report query needs a unique key to identify each row. The supplied key cannot be used for this query. Please change the report attributes to define a unique key column.

    I have master-detail tables but without constraints, when I created a query as dept, emp table he gave me above the error.

    Select d.deptno, e.ename

    by d, e emp dept

    where e.deptno = d.deptno

    Thank you and best regards,

    Ashish

    Hi mickael,.

    Work on interactive report?

    You must set the column link (in the attributes report) to something other than "link to display single line." You can set it to 'Exclude the column link' or 'target link to Custom.

  • SQL query for the report?

    Hi all
    I have a large table with column:
    the code, street, data_type, credit, debt, saldo, date

    I created query as

    sum (saldo), code of Select tableA where data_types = 1 and date < ' 201010 "group by code

    but cannot develop this request to be in the report as

    COLUMN1 COLUMN2 COLUMN3 COLUMN4
    Sum (saldo) - where type = 1 and date = '201201', sum (saldo) where type = 2, sum (saldo) If date = '201205', code

    What is the best solution for sums of report for diferent data_types on a single line with just one code per lines?
    concerning
    Gordan

    Published by: useruseruser on May 14, 2013 10:52

    Hello

    useruseruser wrote:
    Hi all
    I have a large table with column:
    the code, street, data_type, credit, debt, saldo, date

    I created query as

    sum (saldo), Select tableA where data_types = 1 and date code<'201010' group="" by="">

    but cannot develop this request to be in the report as

    COLUMN1 COLUMN2 COLUMN3 COLUMN4
    Sum (saldo) - where type = 1 and date = '201201', sum (saldo) where type = 2, sum (saldo) If date = '201205', code

    What is the best solution for sums of report for diferent data_types on a single line with just one code per lines?
    concerning
    Gordan

    Published by: useruseruser on May 14, 2013 10:52

    You can use CASE what

     
    
    sum(saldo) -, sum(saldo) where type=2, sum(saldo) where date ='201205' , code
    
    select code,
      sum(case when type=1 and date = '201201' then saldo else 0 end) AS COLUMN1,
      sum(case when type=2 then saldo else 0 end) AS COLUMN2,
      sum(case when  date ='201205' then saldo else 0 end) AS COLUMN3,
      sum(saldo)
     from tableA
    group by code
    

    Concerning
    Mr. Mahir Quluzade

  • Query to find the match on two areas where the third does not work...

    Faced with this one...

    Light of the example data
    SECTION     GROUPID     SUBGROUPID     COMPONENT     PNUM     USERNAME
    HVAC     AC     MOTOR          HOSE          111.1     BOB
    HVAC     AC     MOTOR          HOSE          111.2     BOB
    HVAC     AC     MOTOR          HOSE          111.3     JIM
    
    HVAC     AC     MOTOR          BOLT          411     BOB
    HVAC     AC     MOTOR          BOLT          411     BOB
    HVAC     AC     MOTOR          BOLT          411     BOB
    HVAC     AC     MOTOR          BOLT          (null)     (null)
    
    HVAC     AC     MOTOR          CLAMP          211.1     BOB
    HVAC     AC     MOTOR          CLAMP          211.2     JIM
    HVAC     AC     MOTOR          CLAMP          211.3     BOB
    
    HVAC     AC     MOTOR          STRAP          611.1     JIM
    
    HVAC     AC     MOTOR          BELT          811.3     BOB
    HVAC     AC     MOTOR          BELT          (null)     (null)
    
    HVAC     AC     MOTOR          DISC          (null)     (null)
    HVAC     AC     MOTOR          DISC          (null)     (null)
    HVAC     AC     MOTOR          DISC          (null)     (null)
         
    What I need is a list of records where the GroupID and component matching, and where they had a PNUM who were not all the same

    So in this case I would like to only these returned, Section/SubgroupID/username are not required to match on anything whatsoever, but here to view the
    additional data that may be there. Items that have PNUM which IS NULL should be ignored? Example would be the example above where the PNUM
    for a record was 811,3 while one below is null, which should not return. Its considered to be 'ok' and does not need to be reported.

    SECTION     GROUPID     SUBGROUPID     COMPONENT     PNUM     USERNAME
    HVAC     AC     MOTOR          HOSE          111.1     BOB
    HVAC     AC     MOTOR          HOSE          111.2     BOB
    HVAC     AC     MOTOR          HOSE          111.3     JIM
    
    HVAC     AC     MOTOR          CLAMP          211.1     BOB
    HVAC     AC     MOTOR          CLAMP          211.2     JIM
    HVAC     AC     MOTOR          CLAMP          211.3     BOB

    Hello

    To identify all incompatible groupid/component combinations:

    SELECT       groupid, component
    FROM       table_x
    GROUP BY  groupid, component
    HAVING       COUNT (DISTINCT pnum)     > 1
    ;
    

    To view information on all lines with these groupid/component combinations, use the query above in an IN subquery:

    SELECT  *
    FROM     table_x
    WHERE     (groupid, component)  IN
         (
              SELECT       groupid, component
              FROM       table_x
              GROUP BY  groupid, component
              HAVING       COUNT (DISTINCT pnum)     > 1
            )
    ;
    

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).
    See the FAQ forum {message identifier: = 9360002}

  • Call in the report for PDF download query does nothing

    I am trying to download a PDF report based on 2 queries. Each query has a where clause clause with values taken from the page elements. I installed Publisher OBI 11.1.1.5 and used the term of Publisher 11.1.1.5 OBI plug-in to create the RTF file that I downloaded then the components Shared-> presentation of the State.

    I created a new button in the region to call the report query. However, whenever I click on the button to download the PDF file, nothing happens. I looked at the debug and the button seems to be running OK, except that nothing happens.

    The APEX of BOIP configuration works since I was able to have BOIP generate another report that do not use the predefined query. In other words, parts of reports including the attributes defined print "allow printing of the report = Yes" and 'layout of report = report default layout' work very well. Reports based on the query predefined and launched with a button in the region do nothing.

    Environment: APEX 4.1, DB 11.2.0.2, BOIP 11.1.1.5

    Any contributions to this PDF issue is greatly appreciated.

    Thank you
    Reid

    Hello Reid,

    Thanks for reporting back!

    It now works with a button linked to printing the report query URL. This method was not working before because when I deleted/recreated the presentation of the report, the layout of request report report had to "use generic Report Layout. When I changed the presentation of the report query to the name of the correct report layout, button link to the print URL worked as expected.

    He therefore finally brought its fruits check attributes...

    Still, he doesn't when I create a button with action = 'Download printable report Query'. I tried several times, but couldn't make it work. It seems that it is a bug, but I can't say for sure.

    It should work as long as you have configured the report query according to the needs and assured the session state is included.

    Go ahead rather than use the with action = "Download the printable report query", I'll use a button with Action is "Redirection of URL" where the URL is the URL for the report query printing.

    In this case, my guess would be the session state, because you will always she, when redirecting to the session, and the report query seems to agree.

    -Udo

    P.S.: If you don't mind, please check all useful or correct accordingly to ensure that other users of the forum search can identify those posts easily.
    Thank you!

  • Get the XSD of the report query

    APEX 4.0.2
    Oracle 11.2.0.1.0

    Hello
    We are trying to retrieve the XML schema for a report query.

    The following code example works, but the "xsd" for p_document_format parameter is not documented.

    Is "xsd" a taken parameter value supported for APEX_UTIL. GET_PRINT_DOCUMENT?

    v_blob := APEX_UTIL.GET_PRINT_DOCUMENT (
        p_application_id      => NV('APP_ID'),
        p_report_query_name   => 'test', 
        p_report_layout_name => null,
        p_report_layout_type => null,  
        p_document_format     => 'xsd',
        p_print_server => null);
    Thank you in advance!

    Hi Eric,.

    We have four different versions of apex_util.get_print_document, so depending on what you want to do, you can create PDF files and other types of documents based on your own style, your own XML data sheets or pre-defined SEO report queries SQL with predefined, or in custom arrangements. We support the output formats, as I listed previously for the four releases. However, the internal implementation of these APIs is different for the API that refer to report queries and those that refer to custom XML data. When you reference the report queries, APEX of the first loading and running queries and generates XML data and then passes the XML the print rendering engine. The analysis and execution of these queries can use the same internal functions that are also used on the edition of report request page, where you have buttons which allow to have downloaded representations XML and the XML schema for the query for your report. XML and XSD documents are intended for use with the plug-in of BI Publisher Word or design tools XSL of third parties to design presentations. Now as the same internal functions are used, you can actually generate documents from XML Schema (XSD) using the apex_util.get_print_document API, but only with versions that allow you to refer to a report query predefined. This is not officially supported, I can assure you that this behavior will not change in the future, but I don't see why we would change that. The main reason to support XML in APIs is really to test the printing functionality without requiring a print rendering engine. But it seems that there are other cases of use for those both output formats.

    Hope the helps

    Kind regards
    Marc

  • Where the conditional, or PL/SQL block as a source for an interactive report?

    I have this situation: my app's main screen displays a list of documents. For now, there must be a quick way to 'security' integrated, so that administrators can see all documents, but only other users can see what documents, they created (connection of the creator is stored in the table of documents). In the future we will use probably VPD to enforce certain rules, but for the moment we need a quick solution.

    So I stored administrators in a separate table. Now I want the interactive Act report on the homepage as follows:
    -If an admin is connected, it must have this query: select field 1, 2, 3 area in documents
    -For all other users: select the field 1, 2, area 3 documents where creator =: app_user

    Is this possible in a single interactive report? I could do two reports with different queries, and make conditional depending on who is connected, but this gives me two interactive reports to maintain. Is it possible to use a PL/SQL block as a source for the report? I tried, but I get a syntax error. Is it possible to do where proviso on somehow?

    Hello

    Install the demo application to your workspace:
    Home > create an Application and select Demo Application.

    Check page 1 interactive report. This should give idea how.

    BR, Jari

  • How to have the filter query/dialogue opened when the report is launched in the workspace?

    Is it possible to have a default value for the report to prompt the user for a value of filter/query when the report is opened in the workspace? Currently, when a report is released, it will display data from the previous report instance.

    Not really.

    You could put a limit/filter on the query Section and then change to limit/filter Variable.

    You want to add the following code in the Scripts of the bqy

    "" "ActiveDocument.Sections ["Query"]." Process()

    where the query is the name of the Section application to deal with.

    When the file is opened, you should get the limit/filter dialog box and when the value is supplied the query will run and update the data for you

    hope this is what you need to do

    Wayne

  • Where to put "DataLayout" (2D data in the report)?

    Hello

    IM using 2010 SP1 Teststand and Labview 2011. My question is about the plot of the data of the 2d tables in HTML Teststand report.

    I try to retrieve a table 2D x - y measurement data and it intrigues within the report file. Unfortuntly data is interpreted as "multiple-O", which means that each XY pair generates a new curve in the plot instead of have a curve following the x - y pairs. I found the following in TS documentation:

    http://zone.NI.com/reference/en-XX/help/370052J-01/tsref/infotopics/measurement_data/

    The problem is: I do not know WHERE to set the attributes of the property. Does anyone have a snippet of code running as an example defining the attributes at the right time and by generating a x-y-field correctly?

    Thanks for the help in advance.

    lv4ever

    lv4ever,

    I have consulted the documentation and I agree that it is not clear where the attributes must be added. I'll write a bug report for this problem.

    The approach recommended for you is to create local variables that have the appropriate attribute and use these local variables in expressions of value for each parameter.

    I have attached a files updated with the proposed solution.

    Concerning

    Anand jegou

    National Instruments

  • Where to put the report server ip and port for the Siebel server?

    Hello

    Where to put the report server ip and port for the Siebel server? I have checked the document "Reports Siebel Guide" but does not know where is the configuration section ' ip address of the server and port ' for 'Oracle BI Publisher.

    Note: I have installed BI Publisher, now necessary to define the ip editor and siebel server port.

    Please help, thanks.

    Hello

    Communication between Siebel and BEEP coming through webservices. You must set the Siebel Outboundwebservice 'PublicReportService' address to address BI Publisher.

    Similarly, the address of the webservice Siebel Inbound 'BIPSiebelSecurityWS' will be used by BEEP setting under the security model of Siebel - Siebel end Webservice poin of connecting to Siebel EAI, data inorder of success authenticate the Siebel user to perform the tasks of report being initiate Siebel UI.

    Please go through the integration document attached to the thread "Re: ADVISE WEBCAST: BI Publisher 11g Configuration with Siebel", it is any integration Siebel with BEEP 11g steps. " But if you go through each step, there are details about why we do it. Through this way you can better understand the integration.

    I hope this helps.

    Thank you
    Maria

  • Why bind variables/page items does not work in the report query?

    Hello world

    I am trying to use the page as a bind variable in the query of my report. I checked the box to state of Session and also added my page elements in the LIST of ITEMS in the SESSION STATE.

    but NO RECORD not DISPLAYED IN THE REPORT at RUN TIME.

    to see live please connect to

    http://Apex.Oracle.com/pls/Apex/f?p=52297:LOGIN_DESKTOP:8355343133792

    user name: [email protected]

    password: 123456

    Hello

    I looked at the application.

    Do you want to go to the report page after click on the report button? If it is, your button to submit the page. Then, you need a branch to access this URL. By submitting the page, your value should be set at the session.

    Kofi

Maybe you are looking for

  • C660-2EM Satellitensystem does not

    Hello Let me start by saying that I'm not very computer literate.So, any help would be appreciated. I have a Toshiba Satellite C660-2EM.I bought my machine about 16 months ago. Recently I had problems with my system is not responding.This problem see

  • Re: Satellite A300-1MC: recovery would restore to the original system?

    The story so far... Laptop failed (A300-1MC) No available recovery diskReplaced HARD driveInstalled Vista using the borrowed from the previous model of Toshiba Satellite recovery diskInstalled the missing drivers-online work system without valid prod

  • WiFi connection sometimes drops

    I live in an apartment complex and species piggyback arrangement with my neighbor.  Only a wall between our apartments.  Wasn't a problem when I had a HP laptop.    Now I have a new desktop HP Pavilion 500-164 and quite often when I run UTorrent my c

  • Cannot add facebook accounts in circles

    I'm unable to add facebook to the accounts of the Tablet section to access these contacts. I click on the 'add account' and the screen flickers and nothing else. Any difficulty?

  • Free updates

    I buy an HP laptop two months previously and purchased windows Vista editions Home Premium month last for my other computer.  I was told I'll get a free upgrade to Windows 7 when I purched the two products.  How can I get these free updates?