No data Found the whole report is suppressed

<p>Hello, </p><p>I am trying to create a report with two commands (without link) Command1 would have data in any circumstance as it has the report information (e.g title etc.,) which is stored in database.  </p><p>Command2 data is dependent  on the parameters passed (eg. emp_date < = begin_dt(parameter) etc.,) </p><p>Now when there is no data returned by command 2 I still need to display data which is returned by Command1 which is not happening. </p><p>&#160;</p><p>To achive this I have created a link and outerjoined the two commands.. it is still not working since the record selection formula is using command2.emp_date< begin_date.. which wud override the outer join. </p><p>Is there any way to achive this. Can anyone please help me with the solution. </p><p>All I want to do is have two queries and display data irrespective of each other. </p><p>Thanks,</p><p>&#160;</p>

I'm sure someone else has had this problem before and it has landed in the Knowledge Base. I would seriously take a look up there for some guidance.Â
     - Kathryn Webster (Report Design Consultant)
           Kat&#39;s News: http://diamond.businessobjects.com/blog/279

Similar Messages

  • Aborting a report or suppress the whole report

    Is there any way I can abort a report, or suppress the whole report, depending on some condition detected during processing? Preferably with a message, but that's not essential.
    Several of my reports can only be run for the user launching the report, but I also want to allow 'proxies' to run the report - ie users who can run the report for one or more other users - and superusers who can run it for anyone. The reports are called from VB/NET but I have no control over the calling software except for parameters and the record selection text.
    I have a simple 'proxy' table which defines both the proxies and the superusers. I can check this in a subreport but that fires after the main query, so I'm stymied. If I could abort or suppress the report at that stage, I could prevent unauthorised users accessing the report.
    I could conditionally suppress all the sections, but this means putting a condition on each section, which would be a pain (these are complex reports, sometimes very complex, with subreports).
    I could probably also use a SQL query but I'd rather avoid that complexity too.
    I'm using CR10.
    Any ideas?
    Andrew

    Raman Sharma wrote:>
    > There is no way, you can abort the report, but you can however suppress a subreport conditionally. May be you can try to go subreport way and see if that helps you.
    As I indicated in my original post, I'm trying to find some relatively simple way to suppress most or all of the main report as a result of running a subreport.
    I can't put the main report in a subreport because the main report already has subreports, in some cases 20 or more.
    I could suppress the main report sections on the basis of a shared variable, but this is a messy solution in my mind.
    I could bomb the report by forcing an error in the subreport (eg div by zero), but the result would be confusing for users. If I could define the error message this would be OK, but apparently that's not possible either.
    It appears you may have answered the question, ie that there's not easy way to do this.

  • After changing a subreport I loose data in the main report.

    Hi All,
    I have a main report that has two parameter fields and two subreports linked to the parameter fields.  The two subreports access the database and work fine separately.  When I add the two subreports to the main report it works fine.  As soon as I make a change to a subreport it works fine standalone.  But as soon as I update the main report (reimport subreport) the subreport no longer returns data to the main report.  To get the report to work after a change to a subreport I have to delete the subreport from main and then add it back in again.
    Does anyone have any suggestions?
    I am using Crystal Reports 10 and I'm totally at my wits end.  I've been working with Crystal for about 5 years and this is the first time I've seen this.  Maybe I'm missing something small but I just can't seem to find the answer.
    Thanks for any help,
    Jim

    Jim:
    I usually edit my subreports from within the main report.  I right click the subreport and then click edit subreport.  This eliminates the need to reimport the subreport.  I've done a lot of work with subreports and this always works for me.
    I hope this is not too late and helps you out.
    Ralph

  • Only the Admin can view the data in the Discoverer Reports

    Hello,
    Discoverer Version Info:
    OracleBI Discoverer 10g (10.1.2.3)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26)
    Discoverer Model - 10.1.2.55.26
    Discoverer Server - 10.1.2.55.26
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.55.26
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    Everything was working fine until we applied some database patches.
    Users cannot see any data in the discoverer reports. Only the Admin can see data. Even the LOVs do not populate any values for the regular users.
    Can someone please advise as to what is happening?
    Thanks.
    Thanks.

    Hi Akshaj,
    It would certainly be hard for me to replicate (I am on 10g), but perhaps you could identify the patches that were applied and this would help people discern the problem.
    I would narrow down this problem to one business area. Next, identify what users or responsibilities have been granted access using the Discoverer admin tool. Has anything changed?
    Confirm which users have been granted access. Has this changed because of the patch?
    I would look at the session sql to see if there is some change after the patch (something like this):
    select
    from
    v$sql
    where
    parsing_schema_name = 'APPS'
    and module in ('Disco10, DISCOADMIN:Discoverer_login_responsibility','dis51ws@apps_server_url (TNS V1-V3)')
    order by first_load_time desc;
    Hopefully you have a test or development environment which has not received this patch and you can juxtapose the authentication behavior.
    Patrick
    Edited by: Patrick Bacon on Oct 3, 2011 12:55 PM

  • Time delay on seeing the changed data onto the webi reports

    Hello,
    I'm new to BOBJ and was hoping someone can help me with adjusting the time delay the reflects the changed data to the Webi reports.
    I have a user that would update a form on our EP.  Afterward, she would have to wait a while before she can see the changed data on our Webi reports.
    can you please tell me the default time lag and show me where I can change it if required?
    thanks.

    Thanks for the reply.
    Our BO is 3.1 SP4.
    We just implemented PBF (Public Budget Formulation) and our forms are running on NWCE server.  It's being written to our backend BW 7.01 SP8 server.  I was told by our users that after she updates some new information on the form, it takes a while before she can see it on the reports.  My understanding was the universe should see the updated data from our BW immediately after they refresh.  Just as you both mentioned.  But according to the users, its not.  there's a time delay.
    I'm going to test this myself if there's a delay.  In the meantime and suggestion would be helpful.

  • Displaying HTML data in the xml report

    hi
    can anybody help me out on how to display the HTML data in XML report, for example the data in the table is in the following format with HTML tags attached to it
    *&lt;b&gt;Test Good display as normal text&lt;b&gt;*
    +&lt;i&gt;Test Italicized &lt;i&gt;+
    i would like to display the above data in the XML report as a following with "Test Good display as normal text" as BOLD and "Test Italicized" as Italicized
    Test Good display as normal text Test Italicized
    if anybody came across similar issue please help me out.
    Regards
    Hemi.

    Hi..
    Check out this link..hope this helps..
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

  • Hide 'No data found' msg in report region  when you 1st click search page

    Hi,
    (sorry if it's confusing but my APEX is in FRENCH and I tried to translate)
    I created a search page in my application.
    1- I have an HTML region, with a search box and I search button
    2- I've got a report region (PL/SQL source) which sometimes returns no data, giving a 'No Data Found.' message.
    When I click on the search page for the 1st time (on my navigation bar), I would like to HIDE the report region so I don't have the " No Data Found" message.
    Only Once we click on the search button and there is no result, I want to have the message "No Data FOund"
    How can I achieve this?
    thanks
    Roseline

    1. create a hidden element on your page (P1_HIDDEN_ELEMENT)
    2. put your No Data Found message in a span tag
    <span id="no_data_found">No Data Found</span>3. create an on load computation to set your P1_HIDDEN_ELEMENT to 'no_data_found' if it is NULL and to set it to ' ' if it is NOT NULL - type PL/SQL Function Body
    BEGIN
       IF :p1_hidden_element IS NULL
       THEN
          RETURN '<script>html_HideElement(''no_data_found'');</script>';
       ELSIF :p1_hidden_element IS NOT NULL
       THEN
          RETURN ' ';
       END IF;
    END;4. Put this into the page footer:
    &P1_HIDDEN_ELEMENT.The other solution would be to create a display region - pure HTML and to display that first. Once the search is started that region would remain hidden and only the report would show up.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Customize No data found error in report

    4.2.1
    thm:24
    Hi Everyone,
      I have a page with a couple of classic reports. When the underlying sql returns no data, it throws the standard "No data Found" message in that report region. Is there a way we can further customize that by adding something like - no data found for he selected range ?
    Anyone has done this?
    Thanks,
    Ryan

    Hi Ryan,
    Under Report Attributes, scroll to the "Messages" section. There you can edit the "When No Data Found Message", which is default set to "no data found"
    Regards,
    Vincent Deelen

  • No Data Found In APEX report

    Hello All
    I am new to APEX and have a problem. I have created several reports in APEX that allow users to extract data into Excel. However, one report says that No Data is Found in excel although data appears when report is run. Hope I am making my self clear.

    Arie,
    in my case I must have hit a bug (still using Application Express 2.2.1.00.04): I observed this "no data found" issue, and worked around it by just disabling CSV export in the report settings and re-enabling it again afterwards.
    I don't quit understand why we need to apply procedures likes those described in http://htmldb.oracle.com/pls/otn/f?p=31517:117 : shouldn't a CSV export simply work when the corresponding report is non-empty?
    Regards, Thomas

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

  • No data found in MSS Reports.

    Hi All,
    I've configured the MSS business package in my EP.I've done all the required configuration to get it work.But in all my MSS reports it is showing "NO DATA FOUND".Even the employee search is showing the same message whereas in ESS the employee search and other views are showing proper data.
    Can anyone suggest what could be the issue?
    Your efforts would be rewarded.
    Regards.

    hi,
    MSS now use Launchpad for reporting which u need to configure from the backend system.
    You need to customise the Launchpad reportfrom the backend uding t-code FPB_LP_MSS_REP_CUST. this t-code will initialise ure Launchpad report. Check that table FPB_LP6_SNI is no
    longer empty, and has the required entry. Then run the transaction to
    convert.
    Manually add the line to table FPB_LP6_SNI. The values are role = 'MSS', instance = 'REP', and sni_used = ' ' (blank). Then run the transaction to convert.
       Also try to run run program #PWPC_CONV_MDT_TO_LPA# with type #RPT0#.
    If you want only MDT report's...i.e only HR report..you can include Reporting iView from SAP provided content folder...this is standard iView which will display Manager Desktop.
    Thnaks and Regards,
    Jigar OZa

  • How to pop up if no data found in Crystal Reports XI

    Hi,
    Can you please suggest me how to alert message if no data found?
    Thanks and regards,
    Manjunath N. Jogin
    Edited by: Manjunath N Jogin on Jan 21, 2010 2:53 PM

    To Create a alert the following things has to done
    Goto Report menu --> Alerts --> Create or Modify Alerts --> Click on New button.
    Give the Name as No Records Found and then click on the Condition button and give the condition as
    count({field}) = 0 // Where {field} is any DB field used in the report
    This will create the alert. At each refresh it will alert you.
    Write a formula in the report  as  ie.,Alert Message and give the condition as
    If IsAlertTriggered ("No Records Found") Then
    " No Records Found "
    You can use this formula field in the report to show No Records Found when there is no records available.
    Hope it might help you!

  • Not having to refresh the data in the main report but only in the subreport

    Hi SAP,
    I have a report that uses a stored procedure in the main report and uses regular database tables in the subreport.  The data returned from the stored procedure reports information from the month-end database (a cutoff point from the previous month's numbers) while the subreport reports information from the live database.  This report gets run everyday to show the changes in numbers from the live database.  Obviously the numbers from the month-end database remainds static until the next month's cutoff database is created. 
    My problem is that everyday when I run the report, the data needs to refresh from both the stored procedure in the main report and the live database tables in the subreport.  How can I leave the data returned from the stored procedure static or as is without refreshing the stored procedure returned data and just have the subreport data refresh itself?  The stored procedure really puts a strain on the database and I would like to cut-out the time to process the report as well.  Does anyone have any ideas?
    Zack

    Hi Zack,
    Try the following under Report options.
    1. Clear the check box of "Verify Stored Procedures on First Refresh" in the Main report.
    2. Select the check box of "Verify on First Refresh" in  the sub report.
    Hope this helps.

  • No data in the STD Report S_ALR_87012272

    Hi,
    The SAP STD report is s_alr_87012272 is not showing any values.
    Kindly help me how we can get the values in the report.
    Report long text:  Cash Flow (Indirect Method) Variant 1
    Report name                      0SAPRATIO-03
    Thanks..,,
    Regards,
    John Pal

    Dear John,
    All reports are based on a financial statement version. This is
    determined in the form with the same name under the general selections
    (see overview of the report parameters). In the standard system, this is
    the INT version. In the version, accounts with chart of accounts (INT)
    and number are assigned to the individual items. If the system in
    question uses another financial statement version or another chart of
    accounts, the selected data cannot be assigned to the balance sheet
    items.
    This is the reason we suggest our customers to create their own form.
    Check SAP note 43661 which describes creation of new
    forms and reports.
    Following are the steps to create the form and report:
    FSI4 => Form type: Financial Statement Key Figures => Copy
                 Form: Name and Text for the new form
            Copy from: 0SAPRATIO-04
    FSI5 => find and double click the new form just created => Edit Gen.
    data selection => change the FSV to what you want to use
    FSI1 => Report type: Financial Statement Key Figures  => Create
                 Report: Name and Text for the new report
              With form: Name of the new form
    details please refer to standard SAP report 0SAPRATIO-04
    FSI3 => find and excute the new report to check if you can get the
    result you want
    To change the fin.statement version in the general data selections of
    your new form is not enough.
    All reports are based on a financial statement version. This is
    determined in the form with the same name under the general selections
    (see overview of the report parameters). In the standard system, this is
    the INT version. In the version, accounts with chart of accounts (INT)
    and number are assigned to the individual items. If the system in
    question uses another financial statement version or another chart of
    accounts, the selected data cannot be assigned to the balance sheet
    items.
    This is the reason we suggest our customers to create their own form.
    Please find the attached note 43661 which describes creation of new
    forms and reports.
    Following are the steps to create the form and report:
    FSI4 => Form type: Financial Statement Key Figures => Copy
                 Form: Name and Text for the new form
            Copy from: 0SAPRATIO-04
    FSI5 => find and double click the new form just created => Edit Gen.
    data selection => change the FSV to what you want to use
    FSI1 => Report type: Financial Statement Key Figures  => Create
                 Report: Name and Text for the new report
              With form: Name of the new form
    details please refer to standard SAP report 0SAPRATIO-04
    FSI3 => find and excute the new report to check if you can get the
    result you want
    To change the fin.statement version in the general data selections of
    your new form is not enough.
    Mauri

Maybe you are looking for