Report creation progress indicator

Hello All,
I am looking for a way to represent to the user the progress of the report creation.
(Most users get upset when reports donu2019t appear immediately)
A basic example would be to be able to display the current page being produced.
Page N has been produced ....
I am creating a Java Project, so would like to output the progress to the System Console,
currently
reportClientDocument.open (reportFilePath, OpenReportOptions._openAsReadOnly);
is the part that is taking the most time, so is there a way I can follow the progress of this?
I had a thought, and I use this very lightly as I have not looked into it at all, that I could maybe bring in
something like a UFL within the Report to indicate the report creation progress.
As I say I have only had a half think about this all but was hoping someone had an idea on how best
to get this info.
Any ideas or pointers would be great.
Thanks
Darren

Thanks Ted,
I thought it wouldnt be too easy. We already have a nice big whirly, but you know what users are like.
Ill just have to put up some vague notifications about opening, populating and exporting the reports.
Ill keep fiddling with a few things and see if I can come up with something a little more accurate,
will leave this topic open incase some others have any ideas.
Cheers
Darren

Similar Messages

  • No progress indicator or report for Tools menu sequence execution?

    I have a sequence that I call from the TestStand customized Tools menu.
    This sequence generates custom reports on sequences. The report generation
    process can take anywhere from 10 to 60 seconds (there are DB queries
    involved).
    I hoped to use the TestStand progress indicator to display the report
    generation progress and the Report.Load method to display the report to the
    user when its done.
    If I set a breakpoint on the first step of the report generation sequence
    and run it, everything works as expected after I proceed from the break
    point. The progress indicator comes up and updates itself. And the
    operator gets a copy of the report in the Report tab of the execution
    window.
    However, if I don't set a bre
    akpoint, an execution window never pops up. No
    progress indicator, no report when done.
    I assume its got to do with interactive v. non-interactive execution. Is
    there a way to force a Tools menu sequence to execute as an interactive
    execution so I get the execution window to pop up?
    Bob Rafuse
    Etec, Inc.

    James,
    > I think tool menu items are run with the ExecTypeMask_InitiallyHidden
    > and ExecTypeMask_TracingInitiallyOff flags passed to the
    > executionTypeMaskParam parameter to Engine.NewExecution. Thus tool
    > menu executions don't appear in a window unless you hit a breakpoint.
    >
    > In a simple tool menu sequence, I added a statement step with the
    > expression RunState.Tracing = True. This caused the window to appear
    > so the progress indicator and report are visible.
    Thanks. I forgot to mention that I'd tried that... still no luck. I added
    the RunState.Tracing = True as a statement as the first step in my Tools
    seqeunce call. The execution window still does not appear. Is there some
    place special this statement needs to be?
    Are there any global setting
    s that override the Tracing flag? If I check
    Enable Tracing in Station Options, while the window pops up, the execution
    takes unacceptably long as TestStand traces every single step, even when
    tracing speed is set to max. I can't find any other setting that seems
    related to this...
    Any other ideas?
    Thanks,
    Bob
    Etec, Inc.

  • Progress Indicator in ALV report

    Hi All,
    Can any body please help me by providing  code for displaying progress indicator in  ALV report?
    Thanks in advance.
    Tamal Roy

    Hi Biswajit,
    U need to use  this function module  'SAPGUI_PROGRESS_INDICATOR'
    Please check this code
    DATA: A LIKE SY-UCOMM.
    DO 100 TIMES.
      DO 300 TIMES.
        GET TIME.
      ENDDO.
      A(3) = SY-INDEX.A+3 = '%'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
           EXPORTING
                PERCENTAGE = SY-INDEX
                TEXT       = A.
    ENDDO.
    Best regards,
    raam

  • How to show webgui progress indicator in Webgui while executing report

    ITS 6.2 patch 18
    I am calling r/3 report as a new window from template base html page. Mission is to show webgui progress indicator instead of hour glass. The report takes 3 minutes to the result. Shortly before showing result page,the webgui progress indicator appears at the center of the page. I tried abap function SAPGUI_PROGRESS_INDICATOR to r/3 report.However, it did not work.
    If anyone konws how to do it, let me know.
    I am using below function to call r/3 report.
    <script language="JavaScript">
      function new_win(){
    var w_address, wp  ;
    w_address    = "http://`HTTP_HOST`/scripts/wgate/webgui/!?transaction=ZZZZ&~OkCode=EXEC&PA0001-ORGEH=" + "`PA0001-ORGEH`" + "&PCHDY-DEPTH="  + "`PCHDY-DEPTH`" ; ;
    w_address    = w_address    +  "&client=`write(client)`&language=`write(language)`"  ;
        win_prop = "left=0, top=0, height=600, width=800, status=no, menubar=no, resizable=yes,  fullsize=yes, channelmode=no, scrollbars=yes";
    alert(w_address);
    wp = window.open(w_address,'',win_prop);
    wp.location.href = w_address;
    alert(w_address);
    if (window.focus) {
          wp.focus()
         return false;  
    </SCRIPT>

    Hi Klaus,
    I appreciate your quick response.
    Okay ! Let me give up webgui progress indicator.
    Another question is how to grab webguiform input field data.
    I got other issues.
    As you see source code, I pass parameter like PA0001-ORGEH=`PA0001-ORGEH` to the javascript function for a popup window .
    When I use this `SAP_InputField("PA0001-ORGEH")` clause at template script, I cannot grab data properly before hitting enter. I guess the reason is in webgui's dynamic webpage generation. Is it right ?
    When I use html code <input type="text">, there is no problem in passing parameter. When I use search help function with <input> code,  other field's data is changed into default value.
    If someone knows the way to grab input field data from DOM, let me know. I tried document.webguiform.element[0].value, it did not work.
    It seems there are tons of limits in webgui function.

  • TIME-OUT error in BSAK select query(Progress Indicator is also used)

    Hi,
        In my report program one select query is there on BSAK table, which is as follows --
           SELECT BUKRS                                                     
                         BELNR
                        GJAHR
                        SHKZG
                        BSCHL
                        UMSKZ
                        LIFNR
                        EBELN
                        EBELP
                        WRBTR
                        DMBTR
                        XZAHL
                        REBZG
                       AUGBL
                       BLART
                       AUFNR
                       AUGDT
                       BUZEI FROM BSAK
                                  INTO TABLE IT_BSAK
                                  FOR ALL ENTRIES IN IT_BKPF1
                                   WHERE BUKRS = IT_BKPF1-BUKRS
                                                AND AUGDT = IT_BKPF1-BUDAT
                                                AND AUGBL = IT_BKPF1-BELNR
                                                AND BSCHL IN ('31' , '29', '26', '39', '25').
    I used Progress Indicator befor running this query and after this query also. But still It's giving me TIME-OUT error in this select query only.
      I run the same query for 10 records in IT_BKPF1 table, it runs perfectly. But when I run it for 1000 records it giving dump.
    And in actual bussiness my records are always more than 100 only.
    I also check the indexing. It having secondary indexing on this BUKRS, AUGDT, AUGBL fields. Then also it's giving error.
    so, How can I solve this dump..?? What could be the reason..??
    Thanks in advance...!!
    Regards,
    Poonam.

    Hi Poonam Patil,
    Try to provide BELNR and GJAHR in where condition...
    BKPF-DBBLG ==> BSAK-BELNR
    Also check
    BKPF-BLDAT ==> BSAK-AUGDT
    Check out above relation...
    If data is there in these fields of the table and both are matching then you can pass it and as they are in primary key of BSAK it will improve the performance...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Progress Indicator not displaying

    Hello,
    We have an existing web application built using older version of Crystal Viewer control that doesn't display any progress indicator when the report starts running. However I see with CR 2008, it's possible to display a progress indicator.
    I have migrated the application to work against CR 2008, however I am unable to display the progress indicator. I added the following configuration entries but with no difference.
    <businessObjects>
        <crystalReports>
          <crystalReportViewer>
            <add key="resourceURI" value="/crystalreportviewers12" />
            <add key="processingIndicatorDelay" value="5"/>
            <add key="processingIndicatorText" value="Thank you for waiting."/>
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
    Has anybody experienced this problem?
    Please assist.

    I don't know if you are using the below, but if not, add it;
    <configSections>
        <sectionGroup name="businessObjects">
          <sectionGroup name="crystalReports">
            <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"; />
          </sectionGroup>
        </sectionGroup>
      </configSections>
    Also, use this code:
      <businessObjects>
        <crystalReports>
          <crystalReportViewer>
            <add key="processingIndicatorText" value="Thank you for waiting."/>
            <add key="processingIndicatorDelay" value="20"/>
          </crystalReportViewer>
        </crystalReports>
      </businessObjects>
    Finally, make sure you have applied SP 1;
    https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe
    Or SP2:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Table cell progress indicator

    I see in the JavaFX 2.2 API that there is a table cell implementation for rendering a progress bar. However, it appears that this only supports the progress indicator that takes an incremental update value (as a double, presumably a value between 0 and 1?) to adjust the "progress" in the indicator. There does not appear to be any support for an indeterminate progress indicator that can be embedded in a table cell.
    I am asking because I have a situation where there will be a background task that will be launched potentially for any row in a table. The task may take some time to execute and complete and I would like to show an indeterminate progress indicator that will "spin" until the task completes. I wanted to be able to include this as a cell (column) for each row so that individual rows could indicate whether they were currently "working" or done.
    Is there, or will there be in the near future, support for this type of functionality? Or, are there suggestions on a way to cobble together something that can do this?

    Copy and paste the ProgressBarTableCell code and search and replace ProgressBar with ProgressIndicator on it.
    http://hg.openjdk.java.net/openjfx/8/master/rt/file/tip/javafx-ui-controls/src/javafx/scene/control/cell/ProgressBarTableCell.java
    Here's a minor update to the great example James put together which does this.
    Seems to work fine. Only issue I see when running it on a recent jdk8 version is that the indeterminate progress indicator is a bit too big, then the whole indicator shrinks a little bit once the indicator switches to reporting percentage progress. I didn't investigate that any further, likely it's a minor styling bug in the new JavaFX modena style sheet for Java 8 which you could work around by applying your own style to indeterminate progress indicators.
    * Portions of this code (ProgressIndicatorTableCell) are base upon Oracle
    * JavaFX code (ProgressBarTableCell), which is subject to the following license term.
    * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    * This code is free software; you can redistribute it and/or modify it
    * under the terms of the GNU General Public License version 2 only, as
    * published by the Free Software Foundation.  Oracle designates this
    * particular file as subject to the "Classpath" exception as provided
    * by Oracle in the LICENSE file that accompanied this code.
    * This code is distributed in the hope that it will be useful, but WITHOUT
    * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    * version 2 for more details (a copy is included in the LICENSE file that
    * accompanied this code).
    * You should have received a copy of the GNU General Public License version
    * 2 along with this work; if not, write to the Free Software Foundation,
    * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    * or visit www.oracle.com if you need additional information or have any
    * questions.
    package test;
    import java.util.Random;
    import java.util.concurrent.*;
    import javafx.application.Application;
    import javafx.beans.value.ObservableValue;
    import javafx.concurrent.Task;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.layout.BorderPane;
    import javafx.stage.Stage;
    import javafx.util.Callback;
    public class ProgressIndicatorTableCellTest extends Application {
      public void start(Stage primaryStage) {
        TableView<TestTask> table = new TableView<>();
        Random rng = new Random();
        for (int i = 0; i < 20; i++) {
          table.getItems().add(
                  new TestTask(rng.nextInt(3000) + 2000, rng.nextInt(30) + 20));
        TableColumn<TestTask, String> statusCol = new TableColumn("Status");
        statusCol.setCellValueFactory(new PropertyValueFactory<TestTask, String>(
                "message"));
        statusCol.setPrefWidth(75);
        TableColumn<TestTask, Double> progressCol = new TableColumn("Progress");
        progressCol.setCellValueFactory(new PropertyValueFactory<TestTask, Double>(
                "progress"));
        progressCol
                .setCellFactory(ProgressIndicatorTableCell.<TestTask>forTableColumn());
        table.getColumns().addAll(statusCol, progressCol);
        BorderPane root = new BorderPane();
        root.setCenter(table);
        primaryStage.setScene(new Scene(root));
        primaryStage.show();
        ExecutorService executor = Executors.newFixedThreadPool(table.getItems().size(), new ThreadFactory() {
          @Override
          public Thread newThread(Runnable r) {
            Thread t = new Thread(r);
            t.setDaemon(true);
            return t;
        for (TestTask task : table.getItems()) {
          executor.execute(task);
      public static void main(String[] args) { launch(args); }
      static class TestTask extends Task<Void> {
        private final int waitTime; // milliseconds
        private final int pauseTime; // milliseconds
        public static final int NUM_ITERATIONS = 100;
        TestTask(int waitTime, int pauseTime) {
          this.waitTime = waitTime;
          this.pauseTime = pauseTime;
        @Override
        protected Void call() throws Exception {
          this.updateProgress(ProgressIndicator.INDETERMINATE_PROGRESS, 1);
          this.updateMessage("Waiting...");
          Thread.sleep(waitTime);
          this.updateMessage("Running...");
          for (int i = 0; i < NUM_ITERATIONS; i++) {
            updateProgress((1.0 * i) / NUM_ITERATIONS, 1);
            Thread.sleep(pauseTime);
          this.updateMessage("Done");
          this.updateProgress(1, 1);
          return null;
    class ProgressIndicatorTableCell<S> extends TableCell<S, Double> {
      public static <S> Callback<TableColumn<S, Double>, TableCell<S, Double>> forTableColumn() {
        return new Callback<TableColumn<S, Double>, TableCell<S, Double>>() {
          @Override
          public TableCell<S, Double> call(TableColumn<S, Double> param) {
            return new ProgressIndicatorTableCell<>();
      private final ProgressIndicator progressIndicator;
      private ObservableValue observable;
      public ProgressIndicatorTableCell() {
        this.getStyleClass().add("progress-indicator-table-cell");
        this.progressIndicator = new ProgressIndicator();
        setGraphic(progressIndicator);
      @Override public void updateItem(Double item, boolean empty) {
        super.updateItem(item, empty);
        if (empty) {
          setGraphic(null);
        } else {
          progressIndicator.progressProperty().unbind();
          observable = getTableColumn().getCellObservableValue(getIndex());
          if (observable != null) {
            progressIndicator.progressProperty().bind(observable);
          } else {
            progressIndicator.setProgress(item);
          setGraphic(progressIndicator);
    }

  • Methods in cl_gui_frontend_services will break the progress indicator

    Hi guys,
    I have a list of directories of client to check if it exists.
    I use cl_gui_frontend_services=>directory_exist method.
    And I want to show the progress indicator.
    But the method directory_exist will break the indicator, show the status bar's message is like, flashing. appear, disappear, appear, disappear ...
    You can use the codes below to see what happens and can take a comparsion when you comment the method directory_exist .
    any suggestions?
    thanks a lot.
    REPORT  z_test.
    type-POOLs abap.
    DATA: A LIKE SY-UCOMM,
        ldf_derectory  TYPE string,
        ldf_result     TYPE abap_bool.
    ldf_derectory = 'c:\'.
    DO 100 TIMES.
      DO 300 TIMES.
        GET TIME.
      ENDDO.
      A(3) = SY-INDEX.
      A+3 = '%'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
      EXPORTING
        PERCENTAGE = SY-INDEX
        TEXT       = A.
      CALL METHOD cl_gui_frontend_services=>directory_exist
      EXPORTING
        directory = ldf_derectory
        RECEIVING
        result    = ldf_result.
    ENDDO.

    Hi,
    I'm not sure there is anything you can do about the flashing clock icon in this case.  This may just be a limitation of the GUI.
    Of course, you always have the option of using 0% as the percentage when calling SAPGUI_PROGRESS_INDICATOR.  This will eliminate the clock from the progress display, leaving just the percentage number plus the '%' sign.
    In other words, you can eliminate the annoying flickering by changing your function call to:
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          percentage = 0
          text       = a.
    Regards,
    Jamie

  • In-address bar progress indicator

    Where is the in-address bar progress indicator..............
    I cant find that in safari 4.
    Or this feature has been abandoned??

    Hi There
    This feature has been removed in the Safari 4 Beta, you can revert to the previous behaviour. The details on how to do this are here: http://www.macosxhints.com/article.php?story=20090225065338303
    If you would like to see this feature kept within Safari, send feedback by using the report bugs to Apple button on the far right screen below.
    Hope this helps
    J.C

  • Progress Indicator

    I have an infinite progress indicator for lengthy reports. 
    It works well for loading of datasets and then displaying the report.
    However I have one dataset that is quite large, and I am trying to determine when the report is displayed.
    I set the DataSource, Selection Filter and then set the report to the reportviewer (nothing displayed yet)
    I handle the following events: report::InitReport, viewer::Load viewer::Navigate  all 3 fire long before the report is ever displayed (~ 4 minutes).  What event should I be handling to know when to hide my progress indicator?
    Peter

    Not that I know. Many have tried to create a progress bar - none have succeeded to the best of my knowledge. This was posted by Keith Thomson who used to be part of the CR Program management team responsible for implementing CR in .NET:
    http://social.microsoft.com/Forums/en-US/vscrystalreports/thread/62823230-f355-4948-a0af-fe5a9fcd4a8e
    And I know for a fact that nothing has changed since he wrote the above response in 2005.
    You may however take a look at this and see if that may suffice:
    http://www.vbdotnetforums.com/reporting-printing/12328-progress-bar-while-crystal-report-loads.html
    Ludek

  • Progress indicator changes after publishing

    I have a 50 question assessment. When I publish the file, the
    Progress indicator changes from 1 of 50 etc... to 2 if 51 etc.. So,
    question one says it is question 2 and so on. What can cause this
    and how do I fix it? Thanks

    Hi dodgersmom and welcome to our community
    You probably have one or more Click Box objects configured
    with scoring enabled. This is a common issue we see here in the
    forums. One easy way to fix it is to press F9 to obtain the
    Advanced Interaction dialog. Once there, look at Click Boxes and
    DE-select reporting/scoring options.
    Cheers... Rick

  • Progress indicator issue in SRM portal

    Hi,
    I have used a progress indicator function module in one of my reports. It is working fine in SAP GUI but not when I run it in SRM portal. Is there any other way of putting progress indicator in portals?
    quick response appreciated!!
    Thanks,
    Dhareppa

    see MDM forum

  • Infinite spinning progress indicator of death

    I've seen quite a few complaints about the iPhone after the 3.1 update. I filed a lengthy bug report with Apple, but here are the salient points. I would be curious to hear if any of you experience the same symptoms. The key for me is that while the phone works fine for a while, once I experience a long-time spinning progress indicator, stuff starts to fail until I reboot:
    (1) The problems begin after experiencing a long-term spinning progress indicator ("infinite spinning progress indicator of death") when trying to make some network connection (email or facebook in my case).
    (2) After the spinning indicator problem, future connections regularly fail/stall until I reboot the phone.
    (3) After the spinning indicator problem, shutdown takes longer and is a little weird (e.g., the splash screen reappears in the middle of the shutdown).
    (4) After the spinning indicator problem, updates to the phone's charge status (either up or down) don't appear to work until I reboot the phone.
    (5) The spinning indicator problem can occur independent of the network application I am running (I can disable email, but still get it if using facebook and vice versa).

    I have the same issues as Todd, albeit with one caveat. These issues (unable to get email, never-ending PID, battery life about 16 hours) appear to go away if I disable 3G and do a full reboot of the phone (holding down both buttons and not releasing until the Apple logo returns). Once I do that, the phone behaves just as my original iPhone, just no 3G.
    Actions taken - full restore to v3.1, did not install the AT&T MMS update afterwards, disable 3G, full reboot.

  • Issue in Pricing Report Creation - V/LA

    Dear All,
    I have created a new pricing report in V/LA.
    Details:
    3 condition tables in the pricing configuration.
    1-SO / DC / Customer / Sales district / Material
    2-SO / DC / Customer / Material
    3-SO / DC / Material
    During report creation I select only "Material" field from the field selection screen & proceed with "AND" option.
    From Table selection screen, I select all those 3 condition tables.
    Now at executing of this report (In V/LD), I enter only "Customer" field (say customer 1000) in the selection criteria. (because I want to see all condition records exists for that customer 1000?
    When I execute the report it shows below 3 sections.
    1-SO / DC / Customer / Sales district / Material - All condition records exists for that customer/Sales District combination
    2-SO / DC / Customer / Material - All All condition records exists for that customer
    3-SO / DC / Material - All condition records maintained for Material level.
    But as per my selection criteria, system should show only 1 & 2 sections.
    How can I omit appearing sections 3 in my pricing report. ( Because I want to see condition records relevant to that customer only)
    Highly appreciate all your suggestions !!
    Thanks in advance !
    Edited by: Anupa Wijesinghe on Sep 24, 2009 8:32 AM
    Edited by: Anupa Wijesinghe on Sep 24, 2009 8:33 AM

    Dear Matthew,
    As per suggestion, I have to create 2 reports for the above requirement.
    1- with only Customer tables to see customer level prices. (For this I have to add only below 2 tables)
                          - SO / DC / Customer / Sales district / Material
                          - SO / DC / Customer / Material
    2- Other report to see material level prices. For that I have add all 3 tables.
                          - SO / DC / Customer / Sales district / Material
                          - SO / DC / Customer / Material
                          - SO / DC / Material
    So with this when user want to see price by customer, he has to select FIRST report & when he want to select price by Material, he has to select SECOND Report.
    It's not very user friendly, But yes, I can suggest it as a solution.
    Thanks for your reply ! 
    Really helpful !

  • Report Creation with Qucik Viewer(SQVI)

    Hi
    My client requirement is to get the CSO  report on the  items which are invoiced and the items are not invoiced in the CSO.
    i though i could generate the intended report wiht Quick Viewer (SQVI)
    kindly advise me how do i proceed with this kind of report.
    Regards
    TharakJReddy

    Your application is referencing the file craxDDrt.dll. In order to use this dll, you needed to obtain extra licensing. Since CR 10 has been out of support for over 5(?) years, I am not sure if you can still obtain the licensing. Contact sales at 866-681-3435 to find out.
    Alternatively, reference the craxDrt.dll. This dll does not require any extra licensing. However, the error you are getting indicates that you are using Report Creation APIs (RCAPI) from craxDDrt.dll. In my experience, there often were other ways of coding to achieve the same thing with craxdrt.dll. Let me know what RCAPIs you are using and I may be able to help out there.
    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]

Maybe you are looking for