Displaying the SQL Query in the report

How can i display the query used to display a report..
My query to get the records is as below
select ename,empno from emp
where deptno = :p_dept
When i run the report i want to display the select statement as a message....
How can we do this?

One way is to create a column formula which you specifically redefine your query in. However, if you change your query you will need to also change your column formula. So this way could be prone to a mismatch of data. Unfortunately, I don't know of any better way. Hopefully someone else can suggest a better method. Good luck.

Similar Messages

  • Report 6i/Webdb -Not able to display the report in the browser - rep- 3002 error.

    Would someone tell what I missed, I have set up the following:
    1) a report using report builder on NT
    2) my database is in Unix
    3) my report server is started in NT
    4) I run webdb listener for the following code: http://myweb.com/cgi/rwcgi60.exe?server=repserver+report=myreport+userid=usid/pw/connect_string+destype=cache+desformat=html. Then, I receive this message:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-3002: Error initializing printer. Please make sure a printer is installed.
    Why is it thinking I want to use the printer whereas I want to display the report in the browser?. Any help would be appreciated.
    null

    It sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
    http://hostname:port/cgi-bin/rwcgi60exe?
    If you get a help screen, then you should be able to bring up your report.
    Regards,
    Xiaoling

  • Display the reports under all subfolders at a time in the content area?

    Hi All,
    In SAP EP portal,We have a requirement to display few reports wherein we have 7 roles with the same names but different ID's and they are merged together so that even if the users have 7 roles assigned he will see only 1 tab in the first level navigation and uder that there will  be one folder at the second level.Now the requirement is like this
    1st level navigation : Role Name
    2nd level navigation :Folder Name
    Detailed Navigation : Folder Name
                                     Sub Folder Name
                                     Sub -sub folder1 Name
                                     Reports   --(one or many)
                                     Sub -sub folder2 Name
                                     Reports   --(one or many)
                                     Sub -sub folder3 Name
                                     Reports   --(one or many)
    Under al the sub-sub folders a workset map iview is added to display the reports with a pictogram in the content area.In the detailed navigation, as soon as the user clicks on the Sub folder the user should be able to see the reports under all the Sub-sub folders( Sub-sub folder1,Sub-sub folder2,Sub-sub folder3) .But currently the user has to explicitly click on each of the Sub-sub folders to view the reports(thrice in this case).Plz give a solution in which all the reports under the 3 Sub-sub folders should appear simultaneouly in the content area at a single click on Sub Folder
    Thanks & Regards,
    Sowmya
    Edited by: Sowmya B on Jan 4, 2010 2:14 PM

    Resolved

  • Display the reports in web browser?

    I need advise.. Here is my requirements.
    we are using Oracle9i database. We have data warehouse Schema. We wanted to display some of the reports in the browser. What are the possible solutions to display the reports in web browser with out using any reporting tools(cognos, business objects etc).
    Thanks

    Well your requirement is a little bit odd, displaying data in database without using tools or application. What's form of these reports you are talking about? Are they just bunch of queries?
    If you don't want to use heavy duty software like cognos or business objects, then consider use Oracle Application Express APEX
    http://www.oracle.com/technology/products/database/application_express/index.html
    by the way cognos and business objects are OLAP tools, does that mean your reports are OLAP report?

  • Regarding displaying the report information in Geographical map

    Hi All,.
    I have a specific requirement where I have to display the number of Telephone connections activated in a geographical area (GEO map) . How to do it.
    Can any body provide the step by step process to display the reporting information in maps.

    Hi,
    To do this you have to have the settings done in Info object maintenance where in the Map should have been integrated already.
    Once that is done, in BEx designer you can have the setting by cloicking the icon.
    Hope this helps to start with.
    Assign points if useful.
    Regards,
    Venkat

  • Display the report between two dates

    Hi,
    I'm new to this application.i have created two date fields item.i want to display the report between two date fields.please help me.how to do?.
    By,
    Prem.

    Prem,
    See this example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:99
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • See sql query from crystal report without crystal report

    see sql query from crystal report without crystal report 

    Hi,
    Depends on datasource type but you could have a look at ODBC trace or if you have access to the SQL Server you could use profiler to monitor the session.
    Regards,
    Craig
    And this will only be of use if you know which Server/Insstance/Database the Report is connecting to...
    Please click "Mark As Answer" if my post helped. Tony C.

  • How to enable show SQL Query in Crystal report tool

    Hi,
    How can we enable the show SQL Query under Database tab in crystal report...
    We have a requirement to modify the SQL query in Crystal reports.
    Thanks,
    Gana

    Gana,
    CR has an "Add Command" feature that will allow you to use hand-coded SQL as your data source.
    Look at Defining an SQL Command in CR's online help (F1).
    If a command was used in the original report creation, it's a simple matter to go in and edit that SQL.
    If the report was not originally built w/ a Command you may find it difficult to switch over. In most cases it easier to start over from scratch, creating a new, blank report, that uses the command.
    Jason

  • Modify SQL query in Crystal Reports 2013

    Bonjour,
    Je voulais savoir s'il était possible de modifier la requête SQL dans Crystal Reports 2013, car les bases de données de notre application pour bibliothèque utilise un format de date particulier qu'il nous faut corriger directement dans la requête SQL.
    Merci pour vos informations.
    Cordialement
    Claude Marcilly
    Cannes - France
    Hello,
    I wanted to know if it was possible to modify the SQL query in Crystal Reports 2013. Databases of our application library indeed use a particular date format that we need to fix directly into the SQL query.
    Thank you for your information.
    Best regards
    Claude Marcilly
    Cannes - France

    Hi Claude,
    If you are creating reports using tables then go in Database menu and click on show SQL query, this will show the SQL generated by crystal reports.  Now go in database expert and expend your connection and double click on Add Command and past the query which was generated by Crystal and try to modify the date format and click OK.
    Now you need to redesign your reports based on Add command.
    or
    If your reports datasource is Add command you can directly go in add command and change it.
    -Sastry

  • Display the report server error in the application

    i have got an error while running the report from the application , the status of the report was "TERMINATED_WITH_ERROR" which come from the "REPORT_OBJECT_STATUS" built in function ,
    when i go to the application server to the failed jobs i got :
    Terminated with error: REP-1401: ??? ??? ???? ?? PL/SQL: 'cf_1formula'.
    ORA-01403: ?? ??? ?????? ??? ??? ??????
    the problem is i wan to display to the end user this error ORA-01403
    not only "TERMINATED_WITH_ERROR" .....
    please help me
    thanks

    Give a button in your web page with 'Check status' which on hitting, make an ajax call, to query the status table, and show the status in that page.
    Hope this helps

  • Data not displaying  the report (Help me out Urgent)

    Hi Folks,
    When i am executing the query and web reports for the date 27/11/2007 & 28/11/2007 am not getting the data its saying "No applicable data found"
    But i can see the data  in the  ODS for those dates.
    Report is working fine till 26/11/2007.
    But when the user is trying to check the reports for the above mentioned dates its not displaying.
    Even in checked it the RSRT as well but the same case over there the data is not displaying.
    Its bit urgent as its month end user wants to see the reports.
    Any help or any clue will be great helpfull and appreciated.
    Urs,
    RK
    *****Points Committed

    HI Suchitra,
    <i>First check out how many records are there in the ODS as on 27th and 28th</i>
    There are totally 750 & 427 records on 27th and 28th.
    <i>At the time of executing the query,are using giving any variable entries?</i>
    Yes we are using variables entires like PO Date & PO number we usually check  the reports giving the date in  PO Date variable,
    Any other clue please?
    Urs,
    RK.

  • SSRS Reports level how to find out All tables names & columns list to display dynamically SQL Query????

    Hi Team,
    I Have one requirement,In SSRS Reporsitory 3000 reports are available.
    My end user requirement All 3000 reports are used Table names & columns list of each wise to display single table or single result set.
    I find out all 3000 reports details are diplayed single results set like
    Report Id,Path,Dataset,Source Query Text,Datasource
    In Source Query Text  column level All reports Queries are available but I want Each Report wise Table name & columns List.If any solution Please share me.
    Regards
    Rama

    Hi Ramakoteswara,
    According your description, you want to show used tables and columns of each report, and display is into a single result set. Right?
    In this scenario, we don't know where to find a column contains the Source Query Text. With my understanding, in Reporting Services, we have Catalog table in ReportServer DataBase, it has a column called Content stores the report code (.xml). In the
    code we can find the Query and Fields. Then you need to use VB/C# code to parse each .xml code of each report and fetch out the table name and columns. We do not support writing any queries against SSRS DataBase or parsing data records in any
    table.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Displaying the report output in excel format

    Please help me in getting the report output in excel format.
    thnks

    I ran into a BIG problem after passing from 6i rep server to 9i rep server.
    On 6i rep server I used to set DESFORMAT='DELIMITED', and that produced reasonable tab-delimited output for reports that did not have group above (all the query groups were from left to right, not a single group having fields displayed above some other group). When deployed on rep server 9i, the same reports produced some unexplainable output: some of the rows were duplicated, but I couldn't figure out any rule.
    So, the best thing to get the reports into something that fits in .xls would be to have the output in .xml, that may be imported in Excel.

  • How to display the report output from a standard Oracle Form

    Dear Members,
    I am calling a concurrent program (XML Report) from a standard form using form's personalization (special menu entry).
    I am able to successfully submit the concurrent program. Once it is submitted successfully user need to navigate to the Requests window to see the output.
    Instead of user navigating to the requests window to see the output, can we display it directly on the standard form itself after the completion of the report?
    Many thanks in advance.
    Best Regards,
    Arun Reddy.

    R4S,
    You might be able to Zoom to the view requests form to save your users a step.
    HTH,
    --Johnnie                                                                                                                                                                                                               

  • How to call a report  thru an RFC w/o displaying the Report UI

    Hi ,
    I have to pass the parameter to a report thru an RFC.
    I am using submit command , but I do not want SAP gui to appear..
    This is the report UI code .
    PARAMETERS     : werks LIKE mseg-werks OBLIGATORY.
    SELECT-OPTIONS : budat FOR mkpf-budat OBLIGATORY,
                     material FOR mseg-matnr.
    I have to pass the value to the report from my RFC by assiging values to these control in my RFC . and also I do not want display the SAP GUI for the Screen.
    I have used this code to achive this.
    SUBMIT ZRPT_MM_045 EXPORTING LIST TO MEMORY AND RETURN
                   USING SELECTION-SET 'ZZZ'.
    where 'ZZZ' is my variant .
    the problem here is I can not change the values dynamically in my RFC. All the values in 'zzz' variant are predefined.
    HOw to achive this ...
    A sample piece of code  greatly appreciated
    thanks
    pkiran

    If you want to pass parameters dynamically without using a static variant, you can do the following.
    In this example,  P_1, P_2, P_3, S_1, S_2, S_3 are the names of the parameters/select-options in the submitted program.   PA_1, PA_2, PA_3, SO_1, SO_2, SO_3  are fields in your RFC that can be built dynamically.
    * Lets say that S_1 in the submitted program is a date
    * range.  We want to pass a seven day range starting
    * today.
    <b>ranges: SO_1 for sy-datum.
    SO_1-sign = 'I'.
    sO_1-option = 'BT'.
    SO_1-low   = sy-datum.
    SO_1-high  = sy-datum + 7.
    append SO_1.</b>
    SUBMIT ZRPT_MM_045 EXPORTING LIST TO MEMORY
         WITH P_1 = PA_1
         with p_2 = PA_2
         with p_3 = pa_3
    <b>     with s_1 in so_1</b>
         with s_2 in so_2
         with s_3 in so_3
         AND RETURN.
    Regards,
    Rich Heilman

  • Display the report in dashboard by using CSS

    Hi Expects,
    I am using Display:None in CSS Option,it shows that the report is Minimize until we expand it.My question is,if when we give the conditions in filter and click apply the report is again minimize,hear i need to do that when we give the condition and click apply we should not get minimize,it should be get minimize only if we go to another tab.
    Please let me known the valuable answer for you..
    Thanks,
    Raju

    It's called an "ad" with a single d. That should help your google queries.
    Nobody here will be able to help you as it's impossible for us to guess what you are struggling with specifically. Logic dictates that when you want to develop a site you at least know the tools (java/jsp/html/javascript) to actually be able to do this.

Maybe you are looking for

  • Acrobat XI Pro Subscription

    I have a saved pdf contract that I'm trying to edit. I previously had the trial version of Acrobat XI Pro. After the trial ran out, yesterday I did the subscription for $20 per month. Now when I try to "open with" Acrobat XI Pro, it keeps telling me

  • Blu ray disc name

    I have a Sony blu ray player - I bought around 2010.  When I put in a BR movie (store bought), some of the time it will show the name of the movie in  Sony's little menu.  Other times, it will just say "BR DISC"  Are there certain steps you can take

  • How to create a condition with out join

    Hi all, I m using Oracle Discovere Desktop. I want to know that how can i use outer join in conditions. e.u. category(+) = 'E' Regards

  • Urgent :Show all records till selection screen date

    Hi Techis i want to show all records till selected date , selection screen consist of date also and my select statement is given below so any body pls tell me what changes i hav to make so that all records till particular date should b shwn Select st

  • Date being used up quickly?

    I have 300mb data plan from at&t, and it is being used up quickly? I don't use it much.