No data or limited data returned

Hi,
I am having the following issues right now.  Has anyone else seen this happen?  Is there a setting that may be causing these things to happen?  thanks!
1.     I have a Crystal report, running against the production database.  It returns absolutely nothing.  If I do a show sql and copy and paste the exact sql into sql server management studio without making any changes whatsoever, I have over 80 records returned.  When I copied this same sql into a new report as a command (rather than joining tables like I did in the other report), I get all of the data returned.
2.     In another Crystal report, I get a very limited set of data returned (less than a page or less than 40 some rows).  When I copy and paste the exact same sql into sql server management studio without making any changes, I get almost 2,000 records returned.

Are you using wild cards ? Because there are problem when you use wild cards with crystal reports.
- Regards, Dibya

Similar Messages

  • No data return from BI7 via MDX drvier in Crystal report

    I have:
    Windows 2000 SP4
    SAP BI7 patch level 16
    SAP GUI 710 patch level 7 (BW3.5 addon patch 3, BI 710 patch 5)
    Crystal report XI R2 SP4
    SAP_Integration_Kit_XI R2-SP4
    and the BW tranports already imported in BI7.
    I can create a report over a Bex query in Crystal report using BW Query driver and retirved datafrom BI7
    Then I tried to create a report over the same Bex query in Crystal report using MDX driver, I got no data return from BI7.
    So I used the RSRTRACE transaction to trace the log when refreshing data in Crystal report, and then go to debug the call 10- GET_CELL_DATA and I have data from the MDX excution in BI7.
    So I think Crystal report can pass the MDX query to BI7 and BI7 can excute it without any problem, the issue is no data return to Crystal report.
    Could anyone help please?
    Thanks.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP]
    "TraceDir"="C :\\Crystal Report\\"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP\BW MDX Query Driver]
    "Trace"="Yes"
    "ExcludeSummaries"="Yes"
    Above are the right code in Reg and I have tried "C:\" as well, but still no trace file created.
    I was create the CR MDX report via SAP tool bar (and I create 2 reports base on the same Bex query with MDX and BW query just to compare, that one via BW query return data from BW)
    Thanks a lot.
    Allen
    Edited by: Wen Allen on Aug 25, 2008 5:32 PM

  • BW Error: No Data returned by XI

    Hello
    I am working on an BW(proxy) XI (synchronous)XMII scenario. The scenario is working fine in the DEV environment. I have transported objects to QA when BW is running the query it is givng an error which states no data returned by XI. Is the error due to improper transports on XI side ?
    I tested the scenario for XI to xMII connection and it is working fine. At BW end it is giving error.
    Thanks. I truly appreciate your help in this case.
    Kiran
    Edited by: KIRAN SAKHARDANDE on Apr 1, 2008 12:03 AM

    I performed the sldcheck and I think the error is caused since BW is unable to detect business system BWT
    BW Error 1:
    GET_BUSINESS_SYSTEM_ERROR: An error occured when determining the business sytem NO_BUSINESS_SYSTEM
    BW Error 2:
    No data returned by XI
    I will keep you update with the resolution.
    Thanks.
    Kiran

  • Capturing xml data returned from a url post in a jsp page

    Hi,
    We are writing a interface which will capture data returned from an other website. The data returned will be in XML form.
    http://www.ecrm.staging.twii.net/ecrmfeed/ecrmfeedservices.sps?eCRMFeedInputXml=<twii><ecrmfeedinput><data%20method="Login"><username>[email protected]</username><password>password</password></data></ecrmfeedinput></twii>
    When the above url is executed in a browser, it required NT authentication. The username and password is getcouponed. Once the username and password is fed, we can see the output in the form of a xml. We require the xml in a String variable in a jsp page. We need to know the steps on how to execute the url in a jsp page. We used the url object to do the same, but we get a error saying "java.net.UnknownHostException: www.ecrm.staging.twii.net".
    Can anyone help?
    Regards,
    Gopinath.

    Hi,
    I would like to know if I can use the java.net package to get anything out of a website which requires authentication. In this case NT authentication.
    Thanks in advance,
    Gopinath.

  • Why Date() return local and GMT time intermixturely

    I have following code in my Java application:
    Date dt = new Date();
    System.out.println("Local Time: " + dt.toString());
    I got local date (CST) at most time. But I got GMT format date few times within hours' running by the same code and the same running, which will crash my DateFormate later.
    Can anyone tell me why this happened? Is there any way I may use to make sure of that "new Date() will return only one date format, local or GMT"?
    Thanks.

    Do appreciate of your reply. In my application, I do use new Date() and DateFormat.format() like you suggested. But I caught following exception. Then I use Date.toString() to test Date and found that " new Date() return local time (CST time) and GMT time intermixturely". Most time, my application got CST time string and my SimpleDateFormat("yyyy.MM.dd' 'HH:mm:ss:SSS") works well. But few times a running, new Date() return a GMT time string, then I got following exception. I was confused by why one statement "Date dt = new Date();" in one running return both CST and GMT time.
    java.lang.IllegalArgumentException
         at java.util.SimpleTimeZone.getOffset(SimpleTimeZone.java:427)
         at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1173)
         at java.util.Calendar.complete(Calendar.java:1058)
         at java.util.Calendar.get(Calendar.java:916)
         at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:481)
         at java.text.SimpleDateFormat.format(SimpleDateFormat.java:410)
         at java.text.DateFormat.format(DateFormat.java:305)

  • Want to display "no data Return" message for empty report

    HI all
    I have a requirement where i should show a message saying "No data Returned" under the empty table in the webI report.
    I know that we should use function
    =If(NumberOfRows([Data Provider Name])=0;"NO Data Available")
    I will create a empty cell and include this formula for that cell, but any one please tell me what exactly is the Data Provider Name? Is it the name of the univerese or something else? where can i get the Data provider name?

    Data Provider Name is the name of your query.  By default its name is Query 1.
    =NumberOfRows([Query 1])
    Or you may have changed its name when you edited the query in the query panel, so that's the name you have to use there
    For example:
    =NumberOfRows([My Query])
    If you have a lot of Queries in your report they may be Query 1, Query 2, Query 3 and so.
    Edited by: PadawanGirl on Feb 18, 2011 3:33 PM

  • Datas return from Blob data type in Sqlite

    i am using sqlitejdbc-v053.jar through get SQLITE BLOB data type data. But i cannot data return from Blob type.
    Error will be display from :
    not implemented by SQLite JDBC driver
    and point out error line
    blob = rs.getBlob("NGP_REPDATA");
    {try {
                   Class.forName("org.sqlite.JDBC");
                    conn = DriverManager.getConnection("jdbc:sqlite:test.DB");
                    stmt = conn.createStatement();
                    rs = stmt.executeQuery("SELECT * FROM sometable");
                    System.out.println("==============");
                    while(rs.next()) {
                         blob = rs.getBlob("blobDATA");//
                         is = blob.getBinaryStream();
              catch(SQLException e) {
                   e.printStackTrace();
              }}any sample or solution pls give
    sqlite with BLOB sample there pls give link                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    There explicitly tells you that the JDBC driver that you are using will not do the method that you are calling.
    Thus you cannot use that method.
    There is another way to extract blobs which involves using a stream. You can search for that.
    If your blobs are actually short and only have character data then you might be able to use getString() as well.

  • Is it possible to size a flash chart based on the amount of data returned?

    My chart is based on a date range. If a user enters say a range of one year, I need the line chart to be rather large so show all the data points. Though if they select just a week, then the chart can be much smaller. I only see the hard coded values to set the size of the chart (Chart Width and Chart Height). Can those be changed on the fly based on the amount of data returned?
    Using Application Express 3.1.2.00.02 and AnyChart 3.3
    Thanks.
    Chris

    Hello Hillary,
    I tried your suggestion, but still not working for me. I added hidden text field that wold hold the vaule of the width for the chart. Then I reference that field in the chart source. Is there some other property I need to change as well? Any more suggestions? Thanks.
    Here is my source.
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
         codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
         width="&P86_NUM_ROWS."
         height="#HEIGHT#"
         id="#CHART_NAME#"
         align="">
    <param name="movie" value="#IMAGE_PREFIX#flashchart/#CHART_TYPE#.swf?XMLFile=#HOST#apex_util.flash?p=&APP_ID.:86:&APP_SESSION.:FLOW_FLASH_CHART_R#REGION_ID#">
    <param name="quality" value="high">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="allowNetworking" value="all">
    <param name="scale" value="noscale">
    <param name="wmode" value="transparent">
    <param name="FlashVars" value="waiting=#FLASH_WAITING#&loading=#FLASH_LOADING#">
    <embed src="#IMAGE_PREFIX#flashchart/#CHART_TYPE#.swf?XMLFile=#HOST#apex_util.flash?p=&APP_ID.:86:&APP_SESSION.:FLOW_FLASH_CHART_R#REGION_ID#"
    quality="high"
    width="&P86_NUM_ROWS."
    height="#HEIGHT#"
    name="#CHART_NAME#"
    scale="noscale"
    align=""
    allowScriptAccess="sameDomain"
    allowNetworking="all"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    wmode="transparent"
    FlashVars="waiting=#FLASH_WAITING#&loading=#FLASH_LOADING#">
    </embed>
    </object>
    #CHART_REFRESH#

  • No Data returns in Discoverer Desktop 10g

    Hi gurus,
    i return one query to retrieve invoice details,
    it working fine in Toad when i execute
    BEGIN
    MO_GLOBAL.SET_POLICY_CONTEXT('S','160');
    END;
    and then the query, it shows the data,
    i created view for that query and created the Business area,
    now in desktop it show NO DATA return,
    what to do,
    if i have to set the mo_global in discoverer
    i am working in Discover 10g and 10g db
    my query is
    SELECT po.vendor_name "Vendor name",po.vendor_type_lookup_code "Vendor Type"
    ,povs.vendor_site_code "Vendor Site",api.invoice_type_lookup_code "Invoice Type"
    ,api.invoice_num "Invoice Number",api.invoice_date "Invoice Date",api.invoice_amount "Invoice Amount"
    ,apc.check_number "Cheque No",apc.check_date "Check Date"
    ,glcc.segment1||'-'||glcc.segment2||'-'||glcc.segment3||'-'||glcc.segment4||'-'||glcc.segment5||'-'||glcc.segment6||'-'||glcc.segment7
    ||'-'||glcc.segment8||'-'||glcc.segment9 "CCID"
    FROM po_vendors po
    ,po_vendor_sites_all povs
    ,ap_invoices_all api
    ,ap_invoice_lines_all apil
    ,ap_invoice_distributions apid
    ,ap_checks_all apc
    ,ap_invoice_payments_all apip
    ,gl_code_combinations glcc
    ,gl_sets_of_books glsb
    WHERE po.vendor_id=povs.vendor_id
    AND po.vendor_id=api.vendor_id
    AND povs.vendor_site_id=api.vendor_site_id
    AND api.invoice_id=apil.invoice_id
    --AND   apc.vendor_id=po.vendor_id
    --AND   apc.vendor_site_id=povs.vendor_site_id
    AND api.invoice_id=apid.invoice_id
    AND apid.dist_code_combination_id=glcc.code_combination_id
    AND glsb.chart_of_accounts_id=glcc.chart_of_accounts_id
    AND api.invoice_id=apip.invoice_id(+)
    AND apip.check_id=apc.check_id(+)
    AND api.invoice_type_lookup_code !='CREDIT'
    AND api.source !='INDIA TDS'
    AND apc.status_lookup_code <> 'VOIDED'
    AND glsb.set_of_books_id=2021
    AND PO.VENDOR_NAME like'ADITYA ENTERPRI%'
    please help me

    hi, we enable d mulit-org in release 12 and i am having the same issue. My reports based on custom folders is giving no data found. How did you resolve your issue. I havr set MO _operating unit to the responsibility.                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • When I call nifGetObjectDictionary on a Domain Index, what is the format of data returned

    hello,
    When I call nifGetObjectDictionary on an Active Schedule Domain Index (450) of NI Card, retrieved from S-OD -> DLL Link Schedule OD Index, what is the format of data returned? I received 0801C202FFFF000000 as data and it is not matching with FF-Spec (Field Device Access Agent, page 95).
    Could you please let me know the format/structure of the data i received, so that i can parse them and understand?
    Also let me know is there any API available in NI API to upload/read Schedule Domain?
    Thanks
    Shankar.

    Sorry for replying late!
    We don't have the nifGetObjectDictionary function, so may I make a guess that you mean nifGetObjectDescription? If I'm right, there will be some trouble.
    To be honest, basically we don't support the APIs which are not included in the "NI-FBUS CM Function Reference Manual". In further, would you please let me know how you find this kind of internal functions? We cannot support it until we verify the customer has bought the complete version of APIs package and this package is still in the support period. If it matches your case, would you please help me in the verification? And then we can support the details for your question later.
    On the other hand, we don't have the APIS to upload/read Schedule Domain now.

  • RMS wrong data returned

    Most of time I am getting the right result back, but occasionally, I am getting wrong data returned from the record store.
    I am storing a string of numeric characters only from a text field as bytes. It is only a maximum of 4 characters and quite often it seems to come up with 100, when that was not the value that was saved.

    Just to tie this off, this behavior was observed on 10.2.0.1 on both Windows and Linux. However we've verified that it is fixed in the 10.2.0.3 Patchset (Patchset 5337014) on Windows. I was unable to find an Oracle ticket that directly corresponded to this behavior, but it appears that there were similar-ish problems with query plans created to support NLS behavior and those must have addressed some fundamental issues.
    Thanks,
    -Michael

  • Placing a parameter for a report in header when no XML data returned

    Good Afternoon ~
    I have a request from a user that requires the need to place a reports parameters in the header of the report even though  the report may return no data.  Example of this would be a missing time card report. 
    I have only seen the use of this when there is data returned.  If the report returns no data there is no XML.  
    I have no idea how I would accomplish this.  Any suggestions I can get on this is much appreciated.  How would I capture the parameter used?
    Thank you much!
    G

    Apparently I am not notified of these updates.    Sorry this took me a bit to get to you. 
    The report data is using an Oracle Report to generate the XML.  All other formatting is done in BI  Publisher.

  • Incorrect data returned when using a date prompt

    We are using BO XI R3.1 with fix pack 1.3 on windows with a CMS and report database on Oracle 11i. There is one report in which a date range is set by prompting for the Start and End date, depending on the dates entered it sometimes erroneously displays the message `No data to fetch`.  It can be confirmed that there is actual data rows, by either running the SQL script in an application such as Toad or by hard-coding the start and end dates into the condition, indicating that it is the `Prompt` which is causing the problem.
    For example if the start and end dates are 28/06/2010 - 02/07/2010 there will be no data returned, but if the end date is extended to 30/07/2010 then data will be returned which includes transactions from 28/06/2010 - 02/07/2010.  Whether the date range is set using the SQL `between`  operator  or  using the start date greater than or equal and end date less than or equal results in the same `no data to fetch` message displayed.
    Is this a known issue or have other users come across this behaviour in their desktopIntelligence reports ?. It may be that it is fixed in subsequent service packs but for the time being our environment cannot upgrade beyond the existing fix pack. This problem can also be replicated on new reports and even on other date fields in the database, and if the prompt is incorporated into the Universe the problem still remains.
    Meanwhile any thoughts or ideas on the problem are appreciated.
    Edited by: Peter Gibbs on Jul 26, 2010 1:14 PM

    Hi Peter,
    I've noticed similar behaviour in the past, and it had to do with a difference in language setting between client and server side.
    So let's say dutch client, american oracle.
    So oracle expects MM/DD/YYYY whereas the users think they must input DD/MM/YYYY.
    Now happens something that I consider BO being to clever for its own good.
    If a user enter 28/06/2010 it knows that can't have been MM/DD/YYYY since it is invalid that way,
    so it swaps it! and gives 06/28/2010 to the database.
    A date like 02/07/2010 doesn't get swapped because its valid,
    so it gives 02/07/2010 to the database.
    So ultimately the database tries to retrieve between Jun 28th and Feb 7th, which gives no data to fetch...
    Thats why in situations with different date formats I never use a data field to prompt,
    but request the data in a certain format as string and convert it myself in the universe to a dateformat for the database to process. I just state the expected input format to the user so there are no surprises anymore.
    Something like "Give date from (ddmmyyyy)"...
    Hope this helps,
    Marianne

  • Bad data returned using DSEE6.3: JDBC Data View to DB2 for CHAR fields

    I have created a JDBC dataview to a DB2 database using com.ibm.as400.access.AS400JDBCDriver. When using ldapsearch, the data returned is inconsistent with that which is on the database. The DB2 table has data types of CHAR, DECIMAL, and NUMERIC. For the Decimal and Numeric fields, I am not experiencing a problem. The data returned here maps exactly to that which is on the table. For CHAR fields, I get mixed results.
    When defining JDBC attributes in DSEE, I mapped the sql-syntax attribute accordingly for each corresponding attribute on the DB2 table. As a side note, I also configured each attribute so the ldap-syntax = ces (Case sensitive). Also, I could not find a way to define the length of the char for my JDBC attribute. I'm not sure if there's supposed to be a way that I just haven't figured out yet.
    For the CHAR fields, in some cases I get what's on the data source. In other cases, I don't. I've tried to find a pattern but have been unlucky so far. Many fields with length of just 1 come back ok, but a few of length 1 are incorrect. Some fields bigger then length 1 are ok, but the majority come back with garbage. Coincidently or not, it almost looks like a hash of some sort. I'm wondering if there is a character on the datasource that's causing problems with DSEE figuring out where the end of the string is. I'm using NetBeans to look at the database, but I don't have direct access to the DB2 database at this point to see the data directly.
    Has anyone experienced something simliar or have any suggestions as to further research of this problem?

    Upon further testing I have found that the problem mentioned exists only when using ldapsearch. When I used an ldap browser, the char fields looked as expected.

  • Adjusting field size depending on data returned

    Hi
    I need to display output from an xmltype column in the database. How can I set the field so that it adjusts its size depending on the amount of data returned for that xml column?
    Thx!

    This can be done by setting the Vertical Elasiticity and Horizontl Elasticity properties of the field. Try setting both to Variable.

Maybe you are looking for