Better user experience for slow reports (loading in background, progressbar

Hi
In our application, some reports take a long time till they are displayed. Therefore it would be nice, if i could provide the user with some feedback (example: progressbar). Is it possible to have this? Upon print, when a pdf file is being constructed (in web) we already have such functionality in place, is it possible to have it generally?
Mayb,e it would also be possible to have the report load the first page quickly, so the user has already something to look at, and load all the other needed data in a background thread. (i dont think it is possible, however, somebody may have an idea)
Does anybody have an idea how we could achieve a better user experience for our reports. Any help is appreciated. Thanks.
Greetings
I am using:
Crystal Reports 2008 (in Asp.net, Windows Forms)
Version .NET 3.5 (SP1)
PS: of course a very fast report would be the finest solution. However, i guess this will not be possible with our reports and the volume of data they access

Hi Daniel,
Crystal Report 2008 we have a inbuilt functionality of progress bar .If you are not getting progress bar for every report that means those reports are not taking to much time.
For more info regarding progressbar  this check this link:
[https://boc.sdn.sap.com/node/8035]
Look for processingIndicatorDelay and processingIndicatorText.
If you want to improve performance of report then we need to keep in mind few thing while creating report in Crystal report designer:
Here are a few points related to performance issue .
The performance of a report is related to:
External factors:
1. The amount of time the database server takes to process the SQL query.
( Crystal Reports send the SQL query to the database, the database process it, and returns the data set to Crystal Reports. )
2. Network traffics.
3. Local computer processor speed.
( When Crystal Reports receives the data set, it generates a temp file to further filter the data when necessary, as well as to group, sort, process formulas, ... )
4. The number of records returned
( If a SQL query returns a large number of records, it will take longer to format and display than if was returning a smaller data set.)
Report design:
1. Where is the Record Selection evaluated?
Ensure your Record Selection Formula can be translated in SQL, so the data can be filter down on the server, otherwise the filtering will be done in a temp file on the local machine which will be much slower.
They have many functions that cannot be translated in SQL because they may not have a standard SQL for it.
For example, control structure like IF THEN ELSE cannot be translated into SQL. It will always be evaluated
in Crystal Reports. But if you use an IF THEN ELSE on a parameter, it will convert the result of the condition to
SQL, but as soon as uses database fileds in the conditions it will not be translated in SQL.
2. How many subreports the report contains and in section section they are located.
Minimise the number of subreports used, or avoid using subreports if possible because
subreports are reports within a report, and if you have a subreport in a details section, and the report returns 100
records, the subreport will be evaluated 100 times, so it will query the database 100 times. It is often the biggest
factor why a report takes a long time to preview.
3. How many records will be returned to the report.
Large number of records will slow down the preview of the reports. Ensure you only returns the necessary data on the report, by creating a Record Selection Formula, or basing your report off a Stored Procedure, or a Command Object that only returns the desired data set.
4. Do you use the special field "Page N of M", or "TotalPageCount"
When the special field "Page N of M" or "TotalPageCount" is used on a report, it will have to generate each page
of the report before it displays the first page, therfore it will take more time to display the first page of the report.
If you want to improve the speed of a report, remove the special field "Page N of M" or "Total Page Count" or formula that uses the function "TotalPageCount". If those aren't use when you view a report it only format the page requested. It won't format the whole report.
5. Link tables on indexed fields whenever possible.
6. Remove unused tables, unused formulas, unused running totals from the report.
7. Suppress unnecessary sections.
8. For summaries, use conditional formulas instead of running totals when possible.
9. Whenever possible, limit records through selection, not suppression.
10. Use SQL expressions to convert fields to be used in record selection instead of using formula functions.
For example, if you need to concatenate 2 fields together, instead of doing it in a formula, you can create a SQL Expression Field. It will concatenate the fields on the database server, instead of doing in Crystal Reports.
SQL Expression Fields are added to the SELECT clause of the SQL Query send to the database.
11. Using one command as the datasource can be faster if you returns only the desired data set. It can be faster if the SQL query written only return the desired data.
12. Perform grouping on server
This is only relevant if you only need to return the summary to your report but not the details. It will be faster as less data will be returned to the reports.
Hope this helps!!
Regards,
Shweta

Similar Messages

  • How to create a user parameter for a report

    Hi,
    I am writing a report in ORACLE 6.0, and I need to create a user
    parameter for my report.
    My database includes fields: item_id, item_cost, and item_desc.
    What I want to do is: set up a user parameter for item_cost, and
    the report will prompt the user to enter number into this
    parameter, then the report will display item_id and item_desc
    depending the user-entered item_cost.
    thanks.
    Jun

    My SQL code is below:
    select item_id, item_invo, item_desc
    from tb_item
    where item_invo=:p_1
    but I got an error message:
    REP-0788:Warning: The value of restricted LOV parameter p_1 is
    not among the selectedble values.
    Would you help me again? Thanks.
    Jun

  • User exit for expenses report in travel management

    Hi All...
    What is the user exit for expenses report in travel management with T Code PR04
    itz urgent
    with regards,
    LN

    Here are user exits for tcode PR04:
    Exit Name           Description
    FITR0001            User exit: Delete/Reorganize trip statistics
    FITR0002            User exit: Create/Change trip statistics
    FITR0003            User exit: Save trip (PR01, PR04, PR05)
    FITR0005            User Exit: Save Trip (PR01, PR04, PR05)
    RPRCST01         Customer Exit for Travel Expenses

  • Why Apple doesn't provide options in IOS to power off, reset, standby ipad/iPhone/ipod ? I don't se this opiton in IOS6 as well ? This option will help to avoid pressing power button less number of times and gives better user experience.

    Why Apple doesn't provide options in IOS to power off, reset, standby ipad/iPhone/ipod ? I don't se this opiton in IOS6 as well ? This option will help to avoid pressing power button less number of times and gives better user experience.

    They do.
    Standby = press the Power button
    Power off = Press and hold Power button then slide the red power off slider.
    Reset = Press and hold both Reset adn Home till you see the Apple logo.
    This option will help to avoid pressing power button less number of times and gives better user experience.
    Because it is better to not push the power button and more enjoyable to not push it?

  • Creation of Spool for a Report Output in background.

    Hi Gurus,
    I am working on a Report and my requirement is that a Spool should be Generated for the Report Output in background. Instead of generating the spool manually, I need it to be generated in background.
    Please let me know ASAP.
    Regards,
    Amit.

    Get print parameters using 'GET_PRINT_PARAMETERS'.
      DATA : rep LIKE pri_params-plist,
    w_title TYPE tsp01-rqtitle,
    mstr_print_parms LIKE pri_params.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING destination           = 'LP01'
                  copies                = 1
                  list_name             = rep
                  list_text             = w_title
                  immediately           = 'X'
                  release               = 'X'
                  new_list_id           = 'X'
                  expiration            = 1
                  line_size             = 132
                  line_count            = 65
                  layout                = 'X_65_132'
                  sap_cover_page        = 'X'
                  cover_page            = ' '
                  receiver              = sy-uname
                  department            = 'System'
                  no_dialog             = 'X'
        IMPORTING out_parameters        =  mstr_print_parms
      valid = mc_valid.
    and then use submit statement-
      SUBMIT
      zp1012_ar_rep_vendstat
      TO SAP-SPOOL
      WITHOUT SPOOL DYNPRO
              SPOOL PARAMETERS mstr_print_parms
      WITH s_lifnr IN s_lifnr
      WITH p_bukrs eq p_bukrs
      WITH s_gjahr eq p_gjahr SIGN 'I'
      WITH s_monat BETWEEN p_per-low AND p_per-high SIGN 'I'
                       AND RETURN.
      COMMIT WORK.
    Regards,
    Aparna Gaikwad

  • A user experience for CP5(with 6 issues)

    Hi respected Adobe team,
    I am a CP5 user for 2months. After using CP5 for a part of time, I got some user experience to share with you.
    1. I published a CP project as a .swf with 1280*1024. When I watched this .swf as other dimension (except 1280*1024),some mess line will appear  in the video.
    The video with mess line:
    The correct video:
    2. I think CP5 can publish CP project as a .flv, but I don’t know how to? In this window I don’t know how to add a server to publish .flv file. .flv file is very useful for me, so could you help me?
    3. Why .f4v file’s dimension need less than 1024*768? If I had a 1280*1024 CP project and I wanted to publish it as a .f4v file, I have to compress this project. As the result of compress is mess lines appear in the video.
    4. When I published a CP project as a .swf, sometimes this sentence appear (your computer does not have sufficient memory resource to publish your file).
    I had some information in this issue. This project was created in CP5. Whatever how long time I open this project, when I publish it this dialog will appear. In my opinion, if the CP project had a long time video (much video information), the chances of this dialog’s appear will grow up. But if I change some setting maybe this dialog will not appear.
    In this setting the dialog appeared:
    In this setting the dialog didn’t be appeared:
    5. When I import a .swf to Adobe Flash Catalyst CS5, the .swf can’t be displayed normally. And I tried to analyze a .swf(about 2 min long) by a tool, the result is the .swf just have 37 frames. The strangest point is more than 90% video content is in the 35th frame. Other 36 frames almost have nothing. I don’t know why.
    6. When I recording a long time video, CP cut the video as many slides automatically. Sometime it makes me a little uncomfortable.
    In this CP project, I recorded this video at a heat. But CP cut it automatically (become 18 slides).
    At last, I have an advice for CP. If we can modify the video part in every part, it will be great! Actually, I am a big fan for Adobe productions. So wish a better CP version (maybe CP 6?). Thank you!
    My msn:[email protected]
    Glad to make friends with you!

    Hi Nick,
    I'm sorry to note that you are facing these issues with Captivate 5. While many of the issues you've reported probably have a workaround (I've listed some follow-up actions below), one issue we've had difficulty reproducing is the 'out of memory' issue when you publish. Can we schedule a conference call with a Connect session to investigate this further. Please mail me at- shamer at adobe dot com with details on the geo you are located in and some convienet time slots for the call.
    Regards,
    Shameer
    Adobe Captivate Team
    The other issues:
    >>
    1. I published a CP project as a .swf with 1280*1024. When I watched this .swf as other dimension (except 1280*1024),some mess line will appear  in the video.
    Can you check if this is an FMR swf (does the video camera icon appear on your Cp slides in the film strip/ thumnails? In that case there will be some lines observed with resizing.
    2. I think CP5 can publish CP project as a .flv, but I don’t know how to? In this window I don’t know how to add a server to publish .flv file. .flv file is very useful for me, so could you help me?
    You cannot publish the Cp project as an FLV. You publish as an F4V file. You then have to manualy upload this on to a streaming server (if that is what you are attempting).
    3. Why .f4v file’s dimension need less than 1024*768? If I had a 1280*1024 CP project and I wanted to publish it as a .f4v file, I have to compress this project. As the result of compress is mess lines appear in the video.
    This is a limitation from the way we use codecs for F4V. We are currently investigating this issue.
    6. When I recording a long time video, CP cut the video as many slides automatically. Sometime it makes me a little uncomfortable.
    In this CP project, I recorded this video at a heat. But CP cut it automatically (become 18 slides).
    We can look at this issue also in our connect session, but I believe your auto FMR might be getting triggered in some scenarios, hence the number of slides varies.

  • Firefox 4 beta 10 is very slow to load compared to beta 9

    Since the update to beta version 10 F/F is slow/erratic on first start up. Beta 9 had improved the start up time but now were back to the slow start up. I have Windows 7 Ultimate 64bit installed. After the first start up it is OK.

    I don't know if what I'm seeing right now is the same issue,but beta 10 is very slow for me too,takes alot to get up and run,is very unresponsive for a long time after startup and coincidentally there's some frenetic disk activity going on,with a huge delay after keyboard or touchpad inputs-I thought it was some Testpilot study running in the background,but there is none at the moment.
    I also recall a bug report from some Minefield version a while ago talking about this frenetic disk activity,wondering if this may be somehow related.

  • Slow report load...

    Hello all,
    I am having an issue with report loading...I have one report particularly that I am testing with and monitoring results. I am running CR2008 SP2 & VS .NET 2003 & Win XP SP3. At the start of my app, I create a report, load and dispose...I also create a new viewer and assign it the report and then close and dispose of it also just for the heck of it.
    This report takes about 53 seconds to load (report.load(reportname) takes 53 seconds to execute), but when I do the initial report on app load it only takes about three seconds to complete. If I run the report again it takes three seconds. This is all well and good, but if I wait a while (around two mins) and then execute again it takes 53 seconds again. Everything is great inside the "two minute" mark. It seems that the performance of report.load() decreases and is completely horrible by two minutes after execution time. Any help with this? If tried about everything I know and I'm getting nowhere really...
    TIA
    -Coty

    Hi,
    Did you ever resolve this?
    I have a client who is reporting similar behaviour:
    We monitored the following behavior.
    After a restart of the web/app server the first opening of a report takes very long (60 seconds or sometimes longer). I think this is normal, because of using .NET to open the report, .NET needs some time to recompile its application after a server restart.
    - Afterwards, opening the report takes 7 seconds.
    - Opening the report a third time, the same result.
    - Logging off from the application and logging on again (also with a different user) it takes 7 seconds to open the report.
    - Logging off from the system, wait some time (30 minutes or longer) and the opening the same report again takes MUCH longer (20-30 seconds).
    - After this it runs normally (again 7 seconds).
    Thanks,
    Nicola

  • User Exit for CN41N report

    Hi Experts,
    I have a requirement to display CN41N report data by WBS Profit center and WBS Project type as 2 Separate columns. These 2 fields are captured for each WBS and different for each WBS level.
    Could you suggest the user exit to be used for CN41N report to add below fields
    1. WBS Profit center
    2. WBS Poject type
    Thanks in advance for all the help.
    Regards
    Ashish

    Hi Ashish,
    Hope you are doing good. Its been a long time.
    I guess you wont find the fields Profit Center and Project type in the Change layout option. As an alternative you can make use of the Dynamic selection option as stated in one of the posts above.
    Attaching some pics for reference,
    You will find the Project Type option under " Master Data WBS Element"
    Hope it helps.
    Best Regards,
    Gokul

  • Setting CUIC user permissions for all reports at once

    Hi all,
    We are using CUIC 8.0(4) Standard Edition and trying to set CUIC user permissions, such as Read, Exec and Write, for reports.
    If we need to give access to all reports then we should set permissions for each report separately.
    Is there any way to set those permissions for all reports at once?
    We attempted to set Read, Exec and Write premissions for the Reports, Stock and UCCE folders but no luck.
    Thanks.
    Nikolay

    Hi all,
    We are using CUIC 8.0(4) Standard Edition and trying to set CUIC user permissions, such as Read, Exec and Write, for reports.
    If we need to give access to all reports then we should set permissions for each report separately.
    Is there any way to set those permissions for all reports at once?
    We attempted to set Read, Exec and Write premissions for the Reports, Stock and UCCE folders but no luck.
    Thanks.
    Nikolay

  • Slow report - loading the function masterReport.Load

    Hi All,
    We use the crystal report runtime 12 in a .net program,
    we have a report that takes roughly a minute to run but 55 seconds of this is caused by a bottleneck on the feature masterReport.Load,
    I am wondering if there is anyone who could explain what would cause this bottleneck and/or assist with the matter?
    Many Thanks in Advance,
    Gavin

    Gavin, you say:
    crystal report runtime 12 in a .net program, we have a report that takes roughly a minute to run but 55 seconds of this is caused by a bottleneck on the feature masterReport.Load,
    But what is the performance of the report in the designer? E.g.; the runtime will not perform any better than the designer. If the performance is better in the designer by something like 5 or 10 seconds, then  remember the total performance needs to be take into account. E.g.; load of report, db connection, view. E.g.; comparing from the time you you have logged on to the database and possibly filled out any parameters, is forgetting about the report load time, etc.
    You also do not specify the CR 2008 Service Pack you are using...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Default Layout for a report running in background

    Dear Friends,
    I have created a layout for report ME2L and set as default layout  (for every user)....
    Foreground execution picked the DEFAULT layout but when am trying to execute the same report in background, default layout is not picked but the STANDARD layout is shown in the spool
    Could you please suggest me how can i use same report layout for foreground as well as background
    Thanks in Advance
    Ana

    Atanu dey,
    If you wnat to download excel in back ground
    You have to download in application server only.
    EX:
    DATA :  v_filepath(80)     VALUE '/data/sapdata/inc/error_log/pme_br/',
      c_coma     VALUE ',' .
    OPEN DATASET v_filepath FOR OUTPUT IN TEXT MODE.
        IF sy-subrc EQ 0.
         LOOP AT i_errors_bat.
         CONCATENATE i_errors_bat-plant c_coma
                                 i_errors_bat-zzvendor c_coma
                           INTO v_string.
            TRANSFER v_string TO v_filepath.
          ENDLOOP.
       CLOSE DATASET v_filepath.
    Note : you can download in presentation server also.
    but it requires lot of authorizations and have to use
    FTP commands.
    Reason is Apllication server in back ground has to
    recognize the from which system request came.
    Better go for OPEN DATA sets.
    Don't forget to reward if useful.....

  • Slow Report Load Speed with SQL Command

    I have the following SQL Command in my Crystal Report.  When I add the "SalesOrderDeliveries.omdDeliveryDate" to the report it examines 240,000 records and takes 3 minutes to completely load the report.  However, if I do not include this, it only examines 137,000 and only takes 10 seconds to run.
    Why is this slowing down the report and running through more records than when it is omitted from the report?
    SELECT
      SalesOrderDeliveries.omdDeliveryDate,
      SalesOrderDeliveries.omdSalesOrderID,
      Jobs.jmpJobID
    FROM dbo.Jobs
    INNER JOIN dbo.SalesOrderJobLinks
      ON Jobs.jmpJobID = SalesOrderJobLinks.omjJobID
    INNER JOIN dbo.SalesOrders
      ON SalesOrderJobLinks.omjSalesOrderID = SalesOrders.ompSalesOrderID
    INNER JOIN dbo.SalesOrderLines
      ON SalesOrders.ompSalesOrderID = SalesOrderLines.omlSalesOrderID
    INNER JOIN dbo.SalesOrderDeliveries
      ON SalesOrderLines.omlSalesOrderID = SalesOrderDeliveries.omdSalesOrderID
    WHERE SalesOrderDeliveries.omdShippedComplete = 0
    AND Jobs.UJMPPMTRACK = -1
    GROUP BY Jobs.jmpJobID,
             SalesOrderDeliveries.omdDeliveryDate,
             SalesOrderDeliveries.omdSalesOrderID
    ORDER BY SalesOrderDeliveries.omdSalesOrderID

    Try doing something like this for your query:
    SELECT
      qryNextDate.nextDate,
      qryNextDate.omdSalesOrderID,
      Jobs.jmpJobID
    FROM dbo.Jobs
    INNER JOIN dbo.SalesOrderJobLinks
      ON Jobs.jmpJobID = SalesOrderJobLinks.omjJobID
    INNER JOIN dbo.SalesOrders
      ON SalesOrderJobLinks.omjSalesOrderID = SalesOrders.ompSalesOrderID
    INNER JOIN dbo.SalesOrderLines
      ON SalesOrders.ompSalesOrderID = SalesOrderLines.omlSalesOrderID
    INNER JOIN (
      select omdSalesOrderID, min(omdDeliveryDate) as nextDate
      from dbo.SalesOrderDeliveries
      where omdShippedComplete = 0
      group by omdSalesOrderID) as qryNextDate
      ON SalesOrderLines.omlSalesOrderID = qryNextDate.omdSalesOrderID
    where Jobs.UJMPPMTRACK = -1
    ORDER BY SalesOrderDeliveries.omdSalesOrderID
    This will get you just the minimum delivery date for each order, which should be the "next" due date.
    -Dell

  • CRVS2010 Beta - Print functionality  for Crystal Report in VS 2010

    I want to print crystal report documrnt without loading in Reportviewer(in ASP.NET 4.0), just print the report document.
    I have used ReportDocument.PrintToPrinter(1, false, 0, 0);This server-based method .One limitation of this method is that a printer name must be specified.  I can set the default printer at design time in the report, and I can change the printer name at run time by setting the ReportDocument.PrintOptions.PrinterName property.this method prints from the server itself, not from the client machine.  This means that any printer I wish to use must be accessible from the server.  I cannot print to a client's desktop printer using this method unless that printer is shared on the network and mapped to the server.
        But I want to print from client machine(in ASP.NET 4.0) which is not accessible from server.
    I need solution and suggessions.
    Than You
    Hrushikesh Patel

    I don't think that this is a Crystal Reports issue as such. All client / server web apps will behave the same way. See [this|http://support.microsoft.com/kb/184291/en-us] MS Kbase for more details and possible solution.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How do i change a user password for historical reports?

    I had to change a users extension and she is not able to connect to historical reports.  I keep getting an error message that her user id or password is incorrect.  Checked user id which is correct and user is using the same password she used before the change.  Is there a way i can reset the password the user enters to log into historical reports?

    If you are not integrated with an external LDAP, you change the user's password in CUCM End User configuration; otherwise, the passwords can be managed in LDAP.

Maybe you are looking for