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

Similar Messages

  • How long will the progress indicator spin before safe mode progress bar shows up?

    How long will the progress indicator spin before safe mode progress bar shows up?

    Not a good sign,  your HD is failing or has serious block problems. It might be possible to reformate the drive and start over.
    or something more agressive to do the repair, like Disk Warrior http://www.alsoft.com/diskwarrior/
    You need a backup plan in place here.
    more information here in a similiar thread:
    https://discussions.apple.com/message/17623074#17623074

  • Customizing the Progress Indicator

    How can you modify the Progress Indicator? I don't mean modify the font, I mean change the actual tex. For instance, the standards are either relative (Question 1 of 5) or absolute (Question 3). How do I modify the program to set the indicator to "Senario 1 of 5", or whatever else may be appropriate for my course?

    Hello,
    You did not tell the version of Captivate you are using? If it is Captivate 5, Rod is correct: you cannot change the words of the indicator. If it is CP4 you can, export Captions and the progress indicator is there, you can change and re-import.
    If you are using CP5, you could use a dedicated master slide for question slides to add your own progress indicator. There is a system variable cpQuizInfoTotalQuestionsPerProject that gives you the total number of questions.  You'll need to do some work to have the current Question slide number. I would store the number of the last slide before the first question slide in a user variable (you can do this when entering that slide, using the system variable cpInfoCurrentSlide). As an example, I will label that user variable v_start. On entering each question slide you can execute an advanced action, with an Expression to calculate the current question slide number, and store that in another user variable v_current. For your use case, put this in a text caption on the question master slide:
    Scenario $$v_current$$ of $$cpQuizInfoTotalQuestionsPerProject$$
    I should perhaps blog this solution, it is pretty simple and saves time when you have a lot of question slides.
    Lilybiri

  • The progress indicator in version 11.0.1.2 does not appear when a song or podcast starts. It may or may not appear during play.

    The progress indicator in version 11.0.1.2 does not appear when a song or podcast starts. It may or may not appear during play. How do I make it appear so I can start a podcast in the middle of the program?

    No errors in error console. No effect using *. I tried using the dns name of my localhost both in the Firefox URL and in the javascript and I get exactly the same. I have spent a huge amount of time looking into this issue.
    One thing I noticed is that if I use the examples on the internet (http://arunranga.com/examples/access-control/preflightInvocation.html or http://saltybeagle.com/cors/) they work in the same browser. These examples however, are accessed through HTTP proxies.
    I am wondering if the issue has to do with using the same hostname just with different ports.

  • Hello, my name is Todd, I recently dowloaded PS CC 2014. I have used PS for decades. The crop tool will show the progress bar, then at about 25% it will totally stop. What can I do? Thanks

    Hello, my name is Todd, I recently dowloaded PS CC 2014. I have used PS for decades. The crop tool will show the progress bar, then at about 25% it will totally stop, even on VERY small 72dpi images. What can I do? Thanks!

    Double check all the settings in the crop tool, and make sure you aren't telling it to create a HUGE image as a result of your settings.

  • When drag the progress indicator screen become blank

    Hi
    I have made the simulation with captivate 4 around 45 slide and publish into the swf format and publish swf file load in the flash 8 move with his own control. When I drag the progress bar indicator screen become blank. Please help me.
    Regards,
    Manish

    When you drag the progress indicator, it pauses the playback.
    So it could be that you've dragged to a point where your objects from one slide have faded out but the ones from the next haven't started to fade in yet.
    Clicking the Play button on the playbar should get you going again, if that's what's happpened.

  • Translate in the progress indicator of a question slide

    Hello!
    Is it possible to translate the word "question" in the
    question slide progress indicator?
    Johan

    Hello Jeff and Rick,
    Thank you for the answers but...
    If i make the text transparent "Question <x> of
    <y>" by configuring it to be the same color as the background
    then the automatic generated <x> of <y> is also
    transparent. By insert a transparent Text Caption that contains the
    translated text i can't insert the variables <x> of
    <y>. Is it also possible to insert this two variables?
    Johan
    PS: Sorry for my bad English, it isn't my native
    language

  • How to show the progress indicator

    Hi,
    I need to show progress indicator while search operation. Can any one help me how can i do this.

    Hi Shay,
    Thanks for your reply...
    i have implemented same thing into my application, but its not working properly. when i use Glasspanel into my application page is coming in small.
    Page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:tr="http://myfaces.apache.org/trinidad"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:fns="/fnimphiu/sample">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view beforePhase="#{ESPSMenu.createMenus}">
    <af:document title="ESPS-Accounts Page" binding="#{backingBeanScope.backing_app_AccountsPage.document1}"
    id="ACCOUNTS">
    <af:messages binding="#{backingBeanScope.backing_app_AccountsPage.messages1}"
    id="messages1"/>
    <af:form binding="#{backingBeanScope.backing_app_AccountsPage.form1}"
    id="form1" >
    <af:pageTemplate viewId="/templates/ESPSTemplate.jspx" value="#{bindings.pageTemplateBinding}" id="pt1">
    <f:facet name="menu"/>
    <fns:GlassPane binding="#{backingBeanScope.backing_app_AccountsPage.gp1}"
    id="gp1" busytext="I am Busy" launchAction="#{backingBeanScope.backing_app_AccountsPage.glassAction}">
    <f:facet name="image">
    <af:image id="img1" source="/images/busy.gif" shortDesc="I am Busy"/>
    </f:facet>
    </fns:GlassPane>
    <af:panelGroupLayout layout="vertical"
    binding="#{backingBeanScope.backing_app_AccountsPage.panelGroupLayout8}"
    id="panelGroupLayout8">
    <af:panelHeader text="Accounts"
    binding="#{backingBeanScope.backing_app_AccountsPage.panelHeader61}"
    id="panelHeader61">
    <af:query id="qryId131" headerText="Search" disclosed="true"
    value="#{bindings.CmSubscriberNewViewCriteriaQuery.queryDescriptor}"
    model="#{bindings.CmSubscriberNewViewCriteriaQuery.queryModel}"
    queryListener="#{backingBeanScope.backing_app_AccountsPage.processQuery}"
    queryOperationListener="#{bindings.CmSubscriberNewViewCriteriaQuery.processQueryOperation}"
    binding="#{backingBeanScope.backing_app_AccountsPage.qryId131}"
    resultComponentId="::table22"
    rows="5" maxColumns="2"/>
    </af:panelHeader>
    </af:panelGroupLayout>
    Bean:
    public void glassAction(ClientEvent clientEvent) {
    // Add event code here...
    System.out.println("Inside glassAction");
    GlassPaneHelper.closeGlassPane();
    refreshCurrentPage();
    protected void refreshCurrentPage() {
    System.out.println("Inside refreshCurrentPage");
    FacesContext context = FacesContext.getCurrentInstance();
    System.out.println("Inside refreshCurrentPage context:"+context);
    String currentView = context.getViewRoot().getViewId();
    System.out.println("Inside refreshCurrentPage currentView:"+currentView);
    ViewHandler vh = context.getApplication().getViewHandler();
    System.out.println("Inside refreshCurrentPage vh:"+vh);
    UIViewRoot x = vh.createView(context, currentView);
    System.out.println("Inside refreshCurrentPage x:"+x);
    context.setViewRoot(x);
    public void processQuery(QueryEvent queryEvent) {
    System.out.println("Inside processQuery");
    GlassPaneHelper.openGlassPane();
    invokeMethodExpression( "#{bindings.CmSubscriberNewViewCriteriaQuery.processQuery}"
    , Object.class, QueryEvent.class, queryEvent);
    Help me how can i resolve this.

  • Firefox loads but will not access the Internet, showing only a blank page with a single tab "Untitled," and "Done" in the progress indicator.

    When I load Firefox, I get a blank page. There is a single tab with "Untitled," and an indication "Done" at the bottom. The program does not respond to any of my bookmarks--it works but the end result is the blank page described above.

    A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.<br />
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox.<br />
    See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls<br />
    See also http://kb.mozillazine.org/Error_loading_websites
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Can we have our custom name in the place of Progress Indicator ?

    Hello all..
    I am using Captivate 4. I would like to use a custom name "Prasna"(means the word "question' in a local language) instead of the word "Question". How can I change it as per my requirement. In the progress indicator window, there are only 2 options where I couldn't find what I need.
    Thanks & regards,
    Pullela.

    Hello Pullela,
    For once you are lucky to use Captivate 4, because this feature was lost in CP5. It is a bit cumbersome but possible: choose File Export Captions to Word (do not remember the exact phrasing, sorry). In the Word document you will see the progess indicators, and you'll be able to change the word Question. Then re-import without changing the filename in the Captivate file.
    For CP5-users I posted an alternative workaround on my blog recently; it uses the master slide, but you could also tweak this for CP4, you'll have to copy/paste to all slides:
    Customize the progress indicator
    Lilybiri

  • Display Progress Indicator in the Run Time

    Hi All,
    How do display Progress Indicator in the Run Time for a JSF Page using ADF components?
    Regards
    Santosh

    I have similar problem.
    Basically my page do search in the database which takes some time. so when search starts I would like to display the progress indicator or some thing which will show some processging is going on in background. Once it completes the background processing, the same page displays the result. At this time I want to hide the progress indicator.
    Is there any way to do this. I am using EA17 with JDev.

  • Getting the TOC progress indicator w/o displaying the TOC?

    Hi,
    I want to display the progress indicator (that is, the 00:30 / 06:00 Minutes widget that comes with the TOC) in my Captivate output, but I do not want the TOC. Is there any way to display this type of progress indicator without the TOC (in Captivate 4 or 5)?
    Thanks!

    Abhishek,
    The goods movement will not be allowed without system status release.
    But with user status you can block goods movement even if the system status is "Released".
    Regards
    Kannan G

  • Captivate - Size of HTML5-published progress indicator forces line break

    For some odd reason the first 9 questions of many of the quizzes we generated are rendered in HTML5 with a width smaller than what is show in Captivate.
    * We use the MCQ master slide to publish our questions
    * The width of the Progress indicator is 110
    * Oddly enough, the actual questions originally show different width values
    * I change the width to 110 on one of the questions and click the menu to 'Apply to all items of this type'
    * Ok... it appears that they all are changed to the same width
    * Publish the quiz. Questions 1-9 still show an incorrect size. e.g., the div width for question #1 is 86 and all the other params appear to be consistent with what is set in Captivate

    This seems to be a caching issue when publishing to the same folder. I have been seeing (some?) of the same content each time I check for different results and not the newly generated content.

  • Using a popup as a progress indicator.

    Hi All,
    I'm using Jdeveloper REL 1 (11.1.1.1.0)
    I'm relatively new to ADF development.
    Here's my use case:
    1. Display a set of records that will be processed.
    2. User selects OK button to process records
    3. A popup is launched displaying a progress indicator, in my case I went with an animated gif.
    4. After the popup is launched, execute some code to process the records.
    5. After processing code completes, close the popup and refresh the page that launched the popup.
    The problem I'm having is, my method is executed before the popup displays and I need it to run after the popup is displayed. Currently, I have the popup content is in a dynamic region that swaps out an empty task flow for the taskflow that contains the progress indicator jsff fragment. The method to be executed is configured as an executable in the page fragments pagedef file. It's obvious to me now that all the executables are executed during the prepare model phase and before the page is rendered. How do I work around this, or is there a different way to approach this problem?
    I've also tried launching the popup programatically from a managed bean and then run the processing code, however, once the popup is launched, nothing else happens until the popup is closed.
    Thank you,
    Edited by: rvlong on Apr 6, 2010 1:06 PM

    See if these help:
    http://andrejusb.blogspot.com/2008/08/glasspane-in-adf-faces-rc.html
    http://www.oracle.com/technology/products/jdev/tips/fnimphius/glasspane/glasspane.html

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

Maybe you are looking for