No Data Found Option in BI Publisher Report

Hi All,
Could you please help me.
I am looking for NO DATA FOUND OPTION in BIP Report.
Ex -
In the body of the report, I will write simple select statement
Select * from emp;
If the table do not contain data the out put should display " NO DATA FOUND IN THE DATA BASE"
Can some one help me on this....This is a sample query actually my sql query contains 100+ lines.
Please help me,

Take a look at these:
http://winrichman.blogspot.com/2009/05/no-data-found.html
http://blogs.oracle.com/xmlpublisher/2007/06/no_data_found.html
Also, search the forum. This has been covered before.
Thanks,
BIPuser

Similar Messages

  • Change the 'No data found.' message in a report region

    I've got a report region (PL/SQL source) which sometimes returns no data, giving a 'No Data Found.' message.
    I couild have sworn there was an option to choose a custom message in the region definition when no data is returned - but I can't see that option. I guess it must have been in another region type.
    Is there some other way of setting the No Data Returned message?

    Hi,
    Check out this post:
    Hide the 'no data found' message
    I hope that helps.
    -Marc

  • No data found when display image in report

    Hi,
    I have a table with a blob field in it which I use to store some image (gif),
    I tried to display the image in report but follow the guideline in http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_blob.htm#BCGBCHBD
    but when I run the report, error
    "report error:
    ORA-01403: no data found"
    prompt, I do not have MIME,FILENAME column in the table, so I define only
    IMAGE,Table Name,Column containing BLOB,Primary Key Column 1 and Primary Key Column 2 in the report column.
    Anyone has also this problem?
    Thanks
    Pek

    Hi,
    I found that the problem is there when I select the option
    "Use Generic Column Names (parse query at runtime only)" in the report.
    Is this a bug?
    Rgds
    Pek

  • "no data found" when trying to generate report

    Hi,
    I have a problem when I try to generate a report. It says "no data found", but the property figures in the data collection on the host. With another property, I get the graph (Overall % CPU Utilization), but with this (Overall % CPU Idle) I get only no data found.
    Ooops, worse yet. I stop the smc with es-stop -A in the server and started again with es-start -A. Now, no one of the reports works!! The one who worked, now don't!
    Someone experiment the same problem? Or knows how to fix this, (I guess) "anomalous", behavior?
    Please let me know, I've been with this for weeks!
    Thank you in advance!
    Regards,
    Martin Olivella

    I can make a preseted report, but if I try to make
    another report (with exactly the same options as the
    preseted), it gives me "no data found" once more.
    Any suggestions?Are you sure you're looking at the same data points? For example, there's a "Kernel Reader" module, and a "Kernel Reader (Simple)" module... and from memory the built-in reports use the "Simple" data.
    Even if you're graphing a metric that exists in both modules (i.e. 5 Minute Load Average), they're still different, so make sure you choose the correct one from the picklist when you make your own Report.
    Regards,
    [email protected]
    http://www.HalcyonInc.com

  • "no data found" message wrapping in interactive report

    I've looked around and can't figure out what's going on. Any help would be greatly appreciated.
    I have an interactive report which, when no data is found, displays the "no data found" message wrapping very tight. I have uploaded a screenshot of it to TinyPic for you to see what I see.
    The HTML generated around the "no data found" text is the following.
    >
    <DIV id="apexir_DATA_PANEL">
    <TABLE summary="">
    <TBODY>
    <TR>
    <TD>
    <TABLE id="12352007490697832" class="apexir_WORKSHEET_DATA" border="0" cellSpacing="0" summary="" cellPadding="0">
    <SPAN class="fielddata">
    No submissions were found in the system.
    </SPAN>
    </TABLE>
    </TD>
    </TR>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </DIV>
    >
    I've looked through the HTML code that is generated for that page, but can't figure out why the words are wrapping. Any thoughts?
    Shane.

    Well, my problem is back again. It is only doing this in IE 8, not FF. When I run IE 8 in "IE 7" mode, the error message shows up fine, all on one line. I actually have two span tags now so I can have some spacing around the "no data found" message. I cannot get the "span" tags to show up in the HTML code. The software for this discussion forum seems to be filtering it out or the web browser is interpreting it when it should not. I will replace the SPAN tags with square brackets so you can see them. I also had to change "style" to "st_yle" so the software did not filter it out. It sure looks like a jumbled mess now.
    >
    <DIV id="apexir_DATA_PANEL">
    <TABLE summary="">
    <TBODY>
    <TR>
    <TD>
    <TABLE id="12352007490697832" class="apexir_WORKSHEET_DATA" border="0" cellSpacing="0" summary="" cellPadding="0">
    [SPAN class="fielddata"][span st_yle="padding: 15px;"]No submissions were found in the system.[span][SPAN]
    </TABLE>
    </TD>
    </TR>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    </DIV>
    >
    Since I am using an interactive report, I do not believe I have any report template I can alter to adjust how the report and/or "no data found" message are being drawn up. I do have the region of the interactive report set to "Reports Region 100% Width", but the HTML in question is not being generated by that template.
    I wonder if the problem is specific to how IE 8 might be interpreting the inside TABLE tags when it does not have any TR or TD tags within it. Any further thoughts on the matter?
    Shane.

  • Dynamic data source in a BI Publisher report.

    Hello,
    I create a web page where I put a link to an BI Publisher Report and I want to pass a parameter to this link to indicate that XML file (datasource) this report should use.
    Example : http://servername:port/analytics/saw.dll?bipublisherEntry&Action=open&itemType=.xdo&*XMLPATHANDFILENAME=\\...*
    Is this possible?
    Thanks!
    Edited by: 830315 on May 17, 2012 11:03 AM

    Basically what are you trying to do :
    Attaching Mutiple Data Definition to a XML Program and deciding which one to call ased on parameter.Sorry you can not do that one Data DEfinition per Report.
    ut there is one way of doing that.
    Create multiple data defintion( mutiple programs) and then a master program something like
    IF Master Program Param1 = 'X'
    call BI Program 1
    ELSIF Master Program Param1 = 'Y'
    call I Program 2....
    End IF;

  • Data is repeating in xml publisher report

    Hi,
    We desinged the orcle xml publisher report.
    When we are running the report, the address infromation is repeating in every page.
    We have not mentioned any where the for each logic.
    Can any one help me on this issue.
    We designed the report as 'rdf data mocel' and designed and rtf for this.

    For 11i, pl see the XML Publisher User Guide at http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html on how to achieve this
    HTH
    Srini

  • No data found error message in bi report

    Hi All,
    I have a RTF template in that i need to generate a blank page and display a message as "NO DATA FOUND" when query is not returning any rows, i tried using as below :
    IF_NO_DATA
    ******* NO DATA FOUND *******
    END_IF_NO_DATA
    Under no data i wrote like below :
    <?if:count(G_LATE=0?> but still i am not able to get the error message in my page.please help me on this
    Thanks

    >
    Total Posts:      153
    Total Questions:      72 (58 unresolved)
    >
    no one can't help you?
    >
    IF_NO_DATA
    ******* NO DATA FOUND *******
    END_IF_NO_DATA
    Under no data i wrote like below :
    <?if:count(G_LATE=0?> but still i am not able to get the error message in my page.please help me on this
    >
    did you see No Data Found ?
    your logic can be
    <?if:count(G_LATE=0)?>
    ******* NO DATA FOUND *******
    <?end if?>

  • Can we dynamically select DataSets in Data Model of a BI Publisher Report?

    Hello,
    I have a requirement as below -
    For a report 'XX Report1' we have Data Model(concatenated SQL Data Source) with 3 Datasets -
    New DataSet1 - WebService Call (WSDL) (Say D1)
    New DataSet2 - SQL QueryA (Say D2)
    New DataSet3 - SQL QueryB (Say D3)
    Layout - 'XXRTFFile.RTF'
    And another report 'XX Report2' with Data Model(concatenated SQL Data Source) with 3 Datasets -
    New DataSet1 - SQL QueryC (Say D4)
    New DataSet2 - SQL QueryA (D2)
    New DataSet3 - SQL QueryB (D3)
    Layout - 'XXRTFFile.RTF'
    Note that DataSet2 and DataSet3 have the same queries in both the reports.
    'XX Report1' is called from Siebel frontend through a URL
    'XX Report2' is called from Batch Programming later.
    The requirement is to come up with a single Report for both of these calls.
    So, I thought of merging all the DataSets in to 1 Data Model as D1,D2,D3,D4.
    Is there a way for us to select the DataSets from Data Model using the Parameters when Report is run, so that the report picks up D1, D2, D3 if it is called from Siebel frontend and D4,D2,D3 if its run from Batch Programming?
    Please let me know.Thanks in advance.
    Thanks,
    Phani

    The web services API would probably be your best bet. http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10416/bip_webservice_101331.htm#CHDGIJHH
    There is some Java examples in the above. I'm guessing the c# code wouldn't be too different.
    Bryan

  • How to make Start Date as optional parameter in Crystal reports 2011

    Hi All,
    I have existing Start Date and End Date parameter how to make them as optional parameters.
    Thanks for your help in advance!!.

    Hi Mnnica,
    There is an option 'Optional Prompt' under value options, make that as true.  Do the same for both startdate and enddate then go in Record Selection Formula and write below formula :
    If Not (hasvalue({?Startdate}) then True else {?Startdate} >= {databasedatefield}
    and
    If Not (hasvalue({?Enddate}) then True else {?Enddate} <= {databasedatefield}
    Check below screen capture for Optional Prompt options :
    -Sastry

  • Java.sql.SQLException: No corresponding LOB data found  in XML Publisher

    Hi
    I am getting java.sql.SQLException: No corresponding LOB data found : error when i submit XML Report Publisher request through SRS. I can view the output within the template by pressing the preview button during template creation .When i am submiting the request using SRS and also changing the Option to Excel in the layout format in SRS window and if i see the preview then i found this error ,
    "java.sql.SQLException: No corresponding LOB data found : SELECT FILE_DATA, DBMS_LOB.GETLENGTH(FILE_DATA), FILE_NAME, LAST_UPDATE_DATE FROM XDO_LOBS WHERE LOB_TYPE = :1 AND APPLICATION_SHORT_NAME = :2 AND LOB_CODE = :3 AND LANGUAGE = :4 AND TERRITORY = :5 at oracle.apps.xdo.oa.schema.server.XdoLobsInputStream.<init>(XdoLobsInputStream.java:108) at oracle.apps.xdo.oa.schema.server.LobHelper.getLob(LobHelper.java:877) at oracle.apps.xdo.oa.schema.server.LobHelper.getBlobDomain(LobHelper.java:911)"
    but for PDF it is working correct But it is not working when i submit XML Report Publisher.
    Could some one help me ?
    Our XML Publisher version in 5.6.2 for R12
    Template type is RTF and Template Output Type excelF aswell.
    Thanks
    Suresh

    java.sql.SQLException: No corresponding LOB data found Please see these docs.
    Why Does the 'Concurrent Program Details Report - XML Publisher' Fail with 'No corresponding LOB data found'? [ID 367456.1]
    Attempt To Publish FSG Report In One Step After XML Publisher 5.6 Upgrade Fails With No corresponding LOB data found [ID 398905.1]
    XML Report Preview : Java.Sql.Sqlexception: No Corresponding Lob Data Found [ID 418374.1]
    XML Publisher Report Issues [ID 862644.1]
    Thanks,
    Hussein

  • ApEx 4: after upgrade, "when no data found" message on report not shown

    I have a page that displays a tabular form. Initially, the table is empty, and so I have text in the "when no data found" block of the report attributes.
    After upgrading to ApEx 4, this text is no longer shown when no results are returned. It displays the table header, but no rows. So for some reason, it thinks data is being returned -- even though the table is completely empty. I've tried several permutations, but have not been able to find a workaround.
    I'll try to set up a standalone page, but I can provide a pointer to the existing page on apex.oraclecorp.com on request.
    UPDATE: I think this may be related to the bug I reported on tabular forms.
    Is it possible that the empty, hidden row we are adding now counts as a returned row, even though the SELECT statement returned nothing? And thus the report never thinks that there is no data found? This would also explain why it's displaying the table headers, even though no rows are visible.
    Edited by: kswartz on Jul 8, 2010 12:18 AM

    Interesting. I didn't see anything about this change in behavior in the Release Notes. Did I miss something? It definitely didn't do this in 3.2.
    Overall, I think that's actually a very non-obvious change. Seeing a set of table headers with nothing below it looks to me like a mistake. Why would you ever show headers for something when you have no rows? In fact, I thought that was a bug the minute I saw it. With due respect, I don't think the new design is less desirable from a usability perspective than the old one.
    It also doesn't work as you described regarding the proportions: in my case, the columns in the header row did not match the sizes of the columns as I defined them. Although I didn't place anything beside the tabular form, if I had, it would still alter the layout when "Add Rows" is clicked. If you know what the size of those columns is supposed to be (because they are text fields of size xyz, for instance), why wouldn't you define the header cells to use that information? You won't get it exact most of the time, but you can get close, if they're all text fields of specific width.
    Plus, there's nothing on the Report Attributes tab that indicates the "When No Data Found" option won't apply if you are using a tabular form. The textareas should be disabled -- and at the very least, the on-line help should be mentioning this. It doesn't mention anything about this only applying to standard reports.
    Finally, I think you should also put this in the Release Notes, because this requires changes to any application where someone with a tabular form required this. In one case, that was where I provided instructions to users entering data for the first time. Now I have to move it. (Not a big deal, but it would have been nice to know that in advance.) On another page, I put a JavaScript block in there to submit and automatically add a row, because I wanted there to always be a blank row if nothing had been entered -- and that was the easiest way. Okay, granted, that's probably not something you intended to support, but there was nothing wrong with it, technically. And, again, it's fixed by moving that block to the header instead and testing for the number of rows in the table -- easy, now that you provide JQuery for us -- but still manual migration work.
    Thanks for the explanation.

  • Report template enhancement? no data found message

    I have a layout in which I want to show the excel export link in the same html table as a logo, so that code needs to be placed in the report template, but when no data is found I still want to show the logo and so all my reports have the same html code in the "no data found" field. Whenever I want to change this I have to change my template as well as all of my reports.
    Wouldn't it be a nice idea to provide for a "no data found" message in the report template instead of the report itself? I can imagine you would want to show the same "no data found" message anyway for all reports so the template would be a logical place to put this.

    There are known issues with Interactive Reports referencing :REQUEST value, probably due to some inner logic that also handles it simultaneously - potentially causing malfunction or deadlocks.
    One workaround I've learned is to create a computation to assign :REQUEST to a temporary item (a PXX_REQUEST, for instance) and reference it in the query, instead of :REQUEST. This has worked fine for me in my experience.
    Let me know if that helps - pls sign the thread as 'Useful' or 'Correct' if so, hence more people can benefit.
    tks,
    Kleber

  • Display 'No Data Found' when there is inv data but still there is xml data

    Hi,
    I am converting an rdf to BI publisher. The issue is when there is no detail (inv) but still there is still xml data , due to which the report is getting printed with the skeleton template and blank details(inv).
    I need to avoid printing the report out if there is not inv detail even though there is xml data. or atleast show 'NO DATA FOUND' msg. and print the report output only when there is inv data.
    Any help is greatly appreciated.
    sample XLM generated when there is inv data:
    - <ARXCBI>
    - <LIST_G_SETUP>
    - <G_SETUP>
    <COMPANY_NAME>GL SOB</COMPANY_NAME>
    <FUNCTIONAL_CURRENCY>USD</FUNCTIONAL_CURRENCY>
    <COA_ID>23456</COA_ID>
    <SET_OF_BOOKS_ID>1</SET_OF_BOOKS_ID>
    <LIST_G_SITES />
    <REPORT_NAME>Billing Invoice</REPORT_NAME>
    <SUB_TITLE />
    </G_SETUP>
    </LIST_G_SETUP>
    <RP_COMPANY_NAME>GL SOB</RP_COMPANY_NAME>
    <RP_REPORT_NAME>Billing Invoices</RP_REPORT_NAME>
    <RP_DATA_FOUND />
    <RP_SUB_TITLE />
    <R_DEFAULT_COUNTRY>US</R_DEFAULT_COUNTRY>
    <R_DEFAULT_COUNTRY_DESC>United States</R_DEFAULT_COUNTRY_DESC>
    <T_REPORT_TOTAL />
    <RP_COUNTER />
    <INV>Invoice</INV>
    <CM>Credit Memo</CM>
    <ADJ>Adjustment</ADJ>
    <XREV>Reverse Cross Site Credit Memo</XREV>
    <XAPP>Apply Cross Site Credit Memo</XAPP>
    </ARXCBI>
    Thanks!

    Hi Srini,
    Now I am running into another problem. When there is no detail data it displays 'No data found' as expected in the report output. But is there any way to restrict the print option (avoid wasting the paper) to just display 'No data found' in the output but not to print the output only in this case.
    I really appreciate any help!

  • No data found in csv output

    I have a classic (non-interactive) report that shows some strange behaviour.
    It's a simple page with a report region.
    On the report attributes page under 'report export' the value for 'Enable CSV output' is set to 'Yes' and 'Link label' has a meaningful discription.
    In the development database it works as expected:
    When I run the page the data is displayed and when I click the link for csv output I can either save or open the file. In both cases I find the data I expect in the csv file.
    In production, however, when I run the page the data is displayed, but when I click the link for csv output the resulting csv file just shows "No Data Found"
    I can imagine the report not returning any data, but in that case I shouldn't see any data on screen either.
    And it's extra weird that in development it all works fine.
    Anybody that can offer any help?
    Thanks in advance.

    Hi Eric
    I would never dream of telling anyone not to argue with me :D I've been wrong before and will be again, no doubt!
    For the DIV problem, I was more concerned with &lt; appearing in the output rather than the SQL statement itself - generally problems such as this happen when something on the page is incorrectly formed. When you get a chance, in FireFox, install the Web Developer add-on. When this is installed, on the right-hand end of its toolbar, you will see three buttons - the last two tell you about css and javascript errors. For HTML errors, if you have a text editor that has syntax highlighting, do a View Source on the loaded page, take a copy of the source and paste it in to a new document in the text editor. Save this with an HTML file extension. This should colour-highlight everything. It should become obvious what is wrong as you tend to end up with way too much in the same colour. Finally, on the loaded page, right-click on the DIV text and select Inspect Element - this switches you to a heirarchical view of the HTML on the page in the FireBug pane. Follow the tree up from the DIV and have a look at the structue - at some point, something will look wrong.
    Andy

Maybe you are looking for