Report shows no data in the Viewer

Hello,
i'm new to Crystal Reports and i have to develop a few Reports.
I load the data with a stored procedure form a sql-server. This is working and i get all datas i need. But the Report Viewer doesn't show any data.
I don't know why.
If i do it over a select statement and not a stored procedure, the Report Viewer shows me each data set up to 9 times.
I'm working with three tables.
Here is the c# code i wrote.
command = new SqlCommand();
command.Connection = connection;
command.CommandType = CommandType.StoredProcedure;
SqlParameter myParam = new SqlParameter("@FormulareAuftragNr", SqlDbType.VarChar, 5);
myParam.Value = AuftragNr;
command.Parameters.Add(myParam);
command.CommandText = "dbo.Abfrage_Arbeitsplan_Bericht";
connection.Open();
SqlDataAdapter dataAdapter = new SqlDataAdapter(command);
ds = new DataSet("ABC");
dataAdapter.Fill(ds, "dbo.Abfrage_Arbeitsplan_Bericht");
druckarbeitsplan.SetDataSource(ds);
CR Version : latest
VS Version : 10.30319.1
OS : Windows 7
it is for an Windows App
Johannes

CR Version : latest
That is not enough info. All my content below is based on the assumption that you are using CRVS2010 (V. 13.x)...
The code does not show you loading an actual report(?). Also, I'm assuming that after:
druckarbeitsplan.SetDataSource(ds);
you have code to show the report in the viewer or you're printing  exporting the report?
For datasets see [this|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533323335333433333332%7D.do] KB. Also, make sure you are using the full 4.0 framework, not the client framework.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Similar Messages

  • Service Level Tracking Reports show no data from the data warehouse db.

    Hi, I have some Service Level Tracking reports that will only show data from the last few days.  If I select last month as the time frame, there is no data displayed.  All of these reports have previously worked fine.  Nothing to my knowledge
    has changed, and it appears that the data is still being collected in the data warehouse database.  Any thoughts would be greatly appreciated.

    Is this meant for SCOM forum
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/home?category=systemcenteroperationsmanager
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Siebel BIP report not show correct data when current view=my programs view

    Dear All,
    I have report that contain field approval,
    which is when i login as 'SASKIA' as example then i want to print report budget request,
    this report contain field approval like :
    Employee Login
    HOKIONO     
    BAMBANG
    PONGKY
    SASKIA
    but when i print the report it just show:
    Employee Login
    SASKIA
    and it happened only if i print report in 'MY Programs' view,
    the report show ok in 'All Programs' view.
    and when checked in siebel tools, IO Program Container(that used in report), the link already set to all.
    Please help me on this.
    Best regards
    Cecilia

    try adding a user property to your integration object:
    User Property Name: "ViewMode"
    User Property Value: "All"
    see if it has any effect - for me it solved some issues with data not being displayed!
    Benny

  • PO report showing PO date and qty deliverd date

    Hi ,
    Do we have any standated report for MM which show the Po no, Po date, material, description, delivered qty and delivery date..
    regards
    rajesh

    Hi Pankaj,
    Thanks a lot for your prompt reply. As you said in ME2M / ME2L in delivery schedule we can see the delivery date, but the delivery date is the one which we are maintaining in the purchase order, i would like to know the (Delivered date ) exact date on which the qty has been deliverred to us .
    Regards
    rajesh

  • Report Shows no data

    Hi, i have a problem with oracle reports. I am running oracle Application Server 10G release2 with forms and reports services. On Windows 2000. I have developed an application using oracle forms10g and runs well, then i have some reports done in oracle reports10g and i call them from within forms, i use the rp2rro.pll library where i specify *.rdf/*.rep files location and report_server name. i have my procedure using the library, the library is attached and everything. I assume the process of calling the report is done correctly because when i run the form and call the report, firefox actually opens a new tab asks me for my SSO username/password, then shows me the report parameter form with all the options. Then i select the possible options(that means my database connection is still working fine i guess..). then i press submit query to view the report and i get nothing.
    My reports server is up and running, because if i run the report manually using
    http://<hostname>:7778/reports/rwservlet?server=rep_mosiapps_Ias10g&report=resumnom.rdf&desformat=pdf&destype=cache&userid=<username>/<password>@<connstrng>&paramform=yes
    the report runs perfectly.
    I would appreciate your help a lot.
    Thank you very Much
    Luis R.

    Check the past job results here: http://<hostname>:7778/reports/rwservlet/showjobs?server=rep_mosiapps_Ias10g. If a report generated an error, you'll see a red X that you can click on to see the details.

  • Print link on report shows 'no data found' when LOV has not been used

    Hi all,
    I have a simple standard report that queries data based on the value in a Select List. This Select List allows users to pick a year for the report. The LOV has a default of TO_CHAR(SYSDATE,'YYYY').
    If I open the page using the associated Tab everything wotks OK. However, if I open the page via a button on my home page, the prink links fails:
    The page opens OK, the select list defaults OK and the report shows the correct data. However, if I click on the 'Download as CSV' or 'Print' links I get 'no data found'.
    If I update the LOV to 2010 everything works. If I set it back to 2009 evenrything works. I just cant get it to work when I open the page.
    I have tried adding computations to get this to work, but this does not seem to help.
    Any ideas?
    Thanks,
    Martin

    Hi,
    It would depend on what has been added, if anything, to the redirect. The redirect should just function as though you had typed in a URL into the address bar and pressed Enter. The page doesn't get submitted, so any data entered onto the page itself is, unless it is already in session, lost. A button, however, should submit the page and Apex will store all values in the session. So, if the value you need for the LOV is from the previous page, then this is the preferred method - but, note, that the redirect can also store values provided the page item name and the value is included in the redirect's URL string
    Andy

  • Financial Tax Register Report shows No Data Found

    Hi All,
    We are upgrading from 11.5.10 to 12.1.3, ofter upgrading to 12.1.3 when i running the Financial Tax Register Report it is showing No Data Found.
    Please reply me ASAP.
    Regards,
    Raju.

    Hi,
    For your references i posted the log file of financial tax register report.
    E-Business Tax: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RXZXPFTR module: Financial Tax Register
    Current system time is 15-FEB-2013 09:38:25
    Publishing concurrent program ZX : RXZXPTEX.
    Request 487766 submitted.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Current system time is 15-FEB-2013 09:38:25
    Request restarted at :15-FEB-2013 09:38:27
    Publishing concurrent program ZX : RXZXPTEX.
    Publishing request ID 487766.
    Its a BIDI char set
    Its not a BIDI language
    FA_RX_SUBMIT_PURGE (PURGE API PROGRAM NAME =ZX_EXTRACT_PKG.PURGE) (ROWS PURGED =0)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    36093
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 487765      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 15-FEB-2013 09:38:28
    ---------------------------------------------------------------------------

  • Calendar itmes not showing end date in list view/when opened

    Hi,
    Got a client with a very strange issue with meetings.
    Few of the meetings are not showing end date after accepting those although he can see all meetings in calendar.
    I have already checked below on his machine
    switched the month view to ''low detail'' then back to "high detail"
    Show end date is visible in views
    Reseted view options to default
    Strange thing which I have noticed during troubleshooting is that issue is happening with Exchange cached mode only and not in Online view.
    Client is using Windows 7 Enterprise with office 2010 on his machine.
    I hope someone can help here. Let me know if any further infomation is required.
    Thanks

    Outlook 2010 would read the local data in local email profile and the view setting is also stored in local configuration when someone runs it in cached mode.(Email profile in online mode would read the data from Exchange store directly)
    At this point, I recommand that we create a new profile to check if we could see the end date in Outlook calendar view.
    http://support.microsoft.com/kb/829918/en-us
    Tony Chen
    TechNet Community Support

  • ICal still shows previous day in ical proper, but shows current date in the dock

    iCal is open in the MONTH, on my desktop permanently, but it continually shows yesterdays date.  It isn't till I actually click on the following day in iCal proper that the date changes to the current date. The iCal icon on the dock works fine with no issues.  When I first purchased the iMac iCal worked aok.  Software is continually updated.

    I have the same issue. I am also running iCal 5.0.2 under Lion 10.7.3. It worked fine for me on Lion 10.7.2, and it still works ok for me on my iPhone 4 running iOS 5.1. It does look like a bug to me. I have the issue connecting to a Google Calendar as well as to another (non-Apple) CalDAV server.
    Let me know if you call Apple Support to report this issue.

  • Crystal report showing Incorrect data against Bex Query

    I have created Crystal report on top of Bex Query, I have not done any calculations in the report, just dragging structure and key figure in the report, ran for one month, when I compare with Bex Query with same period, it is showing incorrect data.
    I don't know what can be wrong here?
    We are Business Objects 3.1 SP3.
    Thanks,
    Ravi

    HI,
    I would suggest you trace the workflow in Web INtelligence according to these notes:
    Tracing:
    Unix : Note 1235111
    Windows : Note 1260004
    and then post a link for downloading the trace files here.
    regards
    Ingo

  • SQL Server 2008 R2 Disk Usage report showing incorrect data file

    When I go to ANY database (System, AdventureWorks*, user) in Managemant Studio, I right-click on the db, select Reports, select Standard Reports, and select Disk Usage.  The disk usage report shows the correct db on top, but always only shows AdventureWorks_Data.mdf
    when I expand Disk Space Used by Data Files section.  This happens to any db I try.  When I look at Database Properties/Files for that database, the logical and physical file names are correct.
    Since the correct files appear in Database Properties/Files, I'm hoping it's just a bug in the report.  Same thing happens if I run a Disk Usage by Table report for ANY database,  The tables for AdventureWorks always only appear,
    Thanks,  Mike

    Thanks Tibor!
    I looked at the Properties for my login under Security/Logins and it shows my default db to be master.  Not sure if this is correct, but it sounds plausible.  I'll see if I can report the problem.
    The only issue I can think of that was out of the ordinary for the install of 2008 R2 EE was this:
    I originally installed 2005 DE, since it wouldn't expire.  After the install of 2005 DE, I decided to uninstall it and install 2008 R2 EE.  In between the installs of 2005 DE and 2008 R2 EE, I installed/uninstalled stupid stuff like 2008
    Express, 2008 Express with Advanced Services (?), and 2008 EE.  After each uninstall I also did a system restore to be safe.
    Now each time I open Management Studio, i get a pop-up stating that there are SQL Server 2005 registered servers on my sytem and asks me if I want to add them into Management Studio.  I always say no.
    The AdventureWorks db is from 2005 and was installed automatically with 2005.  I installed the 2005, 2008, and 2008 R2 AdventureWorks databases to my R2 for class.  I'm not sure now if the Disk Usage report is showing me AdventureWorks_Data.mdf
    because of my install into 2008 R2 EE or my previous install of 2005 DE.
    Hope this kind of makes sense...
    -Mike

  • Report auto-refreshes data in the background

    Post Author: tpoland
    CA Forum: General
    I ran a very large report that does some formula calculations based on a sub-report, in all it takes about 30 minutes to process.  After it finished running I minimized Crystal and went on to work on some other things.  After about 5 minutes my system started crawling and when I looked at the CPU crw32.exe (Crystal XI) was using between 90 and 99% of the available CPU.  When I finally was able to maximize Crystal again I saw that it was refreshing the data in the report.  Is there a setting that I can use to prevent Crystal from doing this?
    Thanks,

    Post Author: bryanflora
    CA Forum: General
    新增網頁1
    Since you talked more about your requirement.
    My suggestion is still not to use subreport.
    And the better way is try to let the subreport result into a view.
    I guess your report should like this:
              PH
              Loc
              Amount
              Rank
              GH
              USA
              D
              CA
              10
              3
              D
              FL
              30
              1
              D
              PA
              20
              2
    The "Rank" is what you get from formula, right?
    You can prepare a view with a calculated field "rank" and joined the original
    table.

  • Show "connecting" icon on the view

    Hi,
    Please give me a hint how to do the following:
    I would like to show connecting icon with the label "connecting" next to it in the center of the existing view when I perform loading data from Internet in my application. After the operation is completed I would like to hide this dialog.
    Is here any recommended way of doing so?
    Thanks!

    Call setCloseAction(new TabCloseAction()) on CustomTab which TabCloseAction inherits AbstractAction class as neither setCloseable nor setShowSelectedCloseButton is need.

  • CRM 2007 Interactive OLTP Reports - Showing No Data

    Hi,
    I am using CRM 2007 with in-built BI client and wanted to activate OLTP interactive reports. I have done settings as per C41_BB_ConfigGuide_EN_DE.doc document provided by SAP. But when I am executing these OLTP queries this shows these error .
    1. System error in program SAPLRSOA and form FUNC RSOA_VCUBE_READ_REMOTE_DATA[6]
    2. OLAP: General error on BI side.
    And shows no data.
    Please suggest a solution.....
    Best Regards,
    Lokesh Kumar
    Edited by: Lokesh Kumar on Mar 9, 2009 2:59 PM
    Pls reply someone

    Hello Lokesh,
    In SM30 maintain the Table SMOFPARSFA for the PARAMVAL field vaue of your BI interactive client.
    I think it should help.
    Best regards,
    Partha Das

  • Report showing wrong data

    Hi Gurus,
    When we are generating report in the answers in one column it is showing wrong data from where i have to start for this issue.
    Thanks,
    Rafi

    Pull that column alone,run report, compare the results with your manual query, and also compare the physical query.
    if all are good then try to add other column from any other dim and then do the same as above
    repeat till you know the cause.
    Pls mark if helps

Maybe you are looking for