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.

Similar Messages

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

  • 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

  • How to show register attribute value in my register users report in FIM 2010 R2

    Hi,
    How to show register attribute value in my register users report in FIM 2010 R2?
    Please suggest on this.
    Regards
    Anil Kumar

    hello,
    the only way I know is manage the attribute descriptiona s a property and then enable the pivot table option "Show properties in tooltip".
    But I'm interested in what you mean with  "using
    "OLAP pivot table extension" is an option". How this works?
    Thanks
    bye
    Norman

  • How to show the progress bar on forms?

    Hello ALL,
    How should we show the progress bar in our forms screen so we can see how much work is remaining?
    For example if we are performing some task through forms, what code and on which trigger we placed this code in order to show the progress bar that inform us about the task in progress.
    Thanks
    malan

    Hi,
    Shouldn't the oracle forms' support the progress
    bar?
    I prefer to have a code which shows progress bar on
    forms.
    Can some one have this code ?
    ThanksPJC progress bars are shown on the form and forms support progress bar and coding itit's relatively easy.
    If I were you I would take Francois' advice and type in "progress bar" in the lil search box :)
    It's a wonder what a lil search can show you
    Tony

  • While uploading a file, how to show status/progress

    Hello All ,
    Inside my JSP a link/button is incorporated that is used to upload a file.
    My problem is how do I show the current status of uploading process ?
    To be very precise, I need to show the user how many bytes are already uploaded.
    Please suggest a solution.
    -Best Regards

    http://www.javaworld.com/javaforums/showflat.php?Cat=2&Number=49773&an=0&page=0#Post49773

  • How to show or Hide Generic Column in a regular report

    Hi All,
    I have created report based on "SQL query (pl/sql function body returning sql query). It returns columns based on some conditions. I have total 60 generic columns like (COL1,COL2....COL60) but it returns 18 or 20 columns based on my conditions, how can I hide the columns that I don't needed. My column heading is based on function return by ':' separated. My function returns number of columns also. Is there any we I can show only those columns which contains data. My report is exactly similar to the default "SQL query (pl/sql function body returning sql query). I didn't find any logic how they are doing this show and hide. I appreciate any ones help.
    Thanks,

    Hi there,
    Somehow you need to find out how many columns your dynamic select will return (by what you said it seems that your procedure returns this information). Then store that number in a hidden page item, say Pnn_COUNT.
    Then, for the 19th and 20th columns in the report add these conditions:
    Column 19: :Pnn_COUNT >= 19
    Column 20: :Pnn_COUNT >= 20
    I hope this helps.
    Luis

  • ** How to show the master query group for once in Report??

    Hi
    I've developed a master-detail groups at a report
    The master one has it's repeating frame and the detail one has another repeating frame and put at another page at the layout.
    The porblem is that the master one is shown (the same record) in pages for times equal to the number of the detail records which is own for that master record!
    Example:
    if the master record has got three details then the master data will be show for three times (three pages) at run time and then the page number 4 will show the three detail records.
    How to make the master data to be shown only for once (page number 1 only) and then show the detail three records at the next page (page number 2) at run time???

    Hi,
    the question back is, what you've done for this. At default the master record is only shown once. Could it be, that the master-fields are inside the repeating frame for the details?
    Regards
    Rainer

  • HOW TO SHOW JLABEL IN JDIALOG USE TIMERTASK WHILE MAIN CLASS IS SLEEPING?

    I have done a code below and it is working but the only problem is when the main program start to sleep by use Thread.sleep(10000) for 10 secs and it will prompt out a JDialog contain JLabel inside it with message "Please wait.... program is sleeping.". And when the thread ends the JDialog will auto disappear and it back to the main program.
    The problem is:
    When the JDialog appear, it doesn't show the component so I only be able to view the JDialog window without contain any component. I already use container to add the component into JDialog but it still doesn't show. I only be able to see the JDialog window contain empty component when the main window is sleeping.
    How to make the components also appear in the JDialog when the main program is sleeping?
    Below is the code pls have a try:
    import java.util.*;
    import java.lang.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class testThread extends JFrame
    public static java.util.Timer thisTimer;
    public static doTask a;
    public static testThread tT;
    public Container cMain;
    public Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    public JButton exitBtn;
    public JButton startThreadBtn;
    /** Creates a new instance of testThread */
    public static void main(String args[])
    new testThread();
    public testThread()
    //System.out.println("Start to call JDialog");
    tT = this;
    int realW = (int)screenSize.getWidth();
    int realH = (int)screenSize.getHeight();
    int mainW = 500;
    int mainH = 300;
    setBounds((int)((realW-mainW)/2), (int)((realH-mainH)/2), mainW, mainH);
    setVisible(true);
    exitBtn = new JButton("EXIT");
    exitBtn.setBounds((int)((500-100)/2), (int)((300-50)/5), 100, 50);
    exitBtn.addActionListener
    new ActionListener()
    public void actionPerformed(ActionEvent e)
    System.exit(0);
    // WHEN USER PRESS startThreadBtn it will make the application sleep for 15 secs and pop out JDialog window contain JLabel msg wrote "Please wait... program is sleeping"
    startThreadBtn = new JButton("Start Thread");
    startThreadBtn.setBounds((int)((500-100)/2), (int)((300-50)/5*4), 100, 50);
    startThreadBtn.addActionListener
    new ActionListener()
    public void actionPerformed(ActionEvent e)
    try
    System.out.println("Start to call JDialog");
    a = new doTask();
    thisTimer = new java.util.Timer();
    thisTimer.schedule(a, 0);
    System.out.println("Thread start to sleep first 10 secs");
    Thread.sleep(10000);
    System.out.println("Thread start to sleep second 5 secs");
    Thread.sleep(5000);
    System.out.println("Thread Wake Up");
    a.terminate();
    thisTimer.cancel();
    catch(InterruptedException ie)
    ie.printStackTrace();
    cMain = this.getContentPane();
    cMain.setLayout(null);
    cMain.add(exitBtn);
    cMain.add(startThreadBtn);
    public class doTask extends TimerTask
    JDialog infoDialog;
    public void run()
    System.out.println("TASK IS RUNNING");
    int screenWidth = (int)screenSize.getWidth();
    int screenHeight = (int)screenSize.getHeight();
    int w = 300;
    int h = 200;
    infoDialog = new JDialog(tT, true);
    infoDialog.setTitle("Please Wait!!!");
    Container c = infoDialog.getContentPane();
    c.setLayout(new BorderLayout());
    JLabel infoLbl = new JLabel("Please Wait... Program is sleeping!!!", JLabel.CENTER);
    c.add(infoLbl, BorderLayout.CENTER);
    infoDialog.setBounds((int)((screenWidth-w)/2), (int)((screenHeight-h)/2), w, h);
    infoDialog.setVisible(true);
    public void terminate()
    infoDialog.setVisible(false);
    infoDialog.dispose();
    this.cancel();
    }

    LOUD NOISES.

  • How to show MouseOver effect on dropable region while dragging a MovieClip?

    Hello friends,
    I am creating Drag and drop flash application.
    While dragging an instance of a movieclip I want also the dropable region to show effect like MouseOver case.
    So that end user can confirm that they are dropping the item in right region.
    Here the mouse is moved while it is kept clicked
    Plz help me,
    Thanks.
    Venkat

    Thanks for taking interest.
    I did the first part of your reply already, but  How to check if a MovieClip is being dragged?
    Say, I have two MovieClips
    TargetToDrop_mc
    DropableRegion_mc
    TargetToDrop_mc.addEventListener(MouseEvent.MOUSE_DOWN, gotMouseDown);
    TargetToDrop_mc.addEventListener(MouseEvent.MOUSE_UP, gotMouseUp);
    TargetToDrop_mc.addEventListener(MouseEvent.MOUSE_OVER, gotMouseOver);
    TargetToDrop_mc.addEventListener(MouseEvent.MOUSE_OUT, gotMouseOut);
    DropableRegion_mc.addEventListener(MouseEvent.MOUSE_DOWN, gotMouseDown);
    DropableRegion_mc.addEventListener(MouseEvent.MOUSE_UP, gotMouseUp);
    DropableRegion_mc.addEventListener(MouseEvent.MOUSE_OVER, gotMouseOver);
    DropableRegion_mc.addEventListener(MouseEvent.MOUSE_OUT, gotMouseOut);
    function gotMouseDown(EventReceived:MouseEvent):void {
        EventReceived.currentTarget.startDrag ();
    function gotMouseUp(EventReceived:MouseEvent):void{
        EventReceived.currentTarget.stopDrag();
    function gotMouseOver(EventReceived:MouseEvent):void{
        EventReceived.currentTarget.alpha=0.5;
    function gotMouseOut(EventReceived:MouseEvent):void{
        EventReceived.currentTarget.alpha=0.7;
    Now plze guide me on basis of above.
    Thanks,
    Venkat

  • How to show an image on each row of the report?

    I have created a report in apex. i want to display image on each row in a column of the report.
    How can i do this?

    See About BLOB Support in Forms and Reports in the documentation.
    There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well.
    In future please
    <li>Search the forum before posting a new question. Most questions (including this one) have been asked and answered before.
    <li>Include as much relevant information with your question as possible, starting with:
    - APEX version
    - DB version and edition
    - Web server architecture (EPG, OHS or APEX listener)
    - Browser(s)/version(s) used
    - Theme
    - Templates
    - Region type(s)
    <li>Change your forum handle to something better than "845927".

  • How to show Months of a Year as Parameter in Reports

    Hello,
    Please tell me the method that "How can i use Months of a Year as Parameters in a Reports"
    Thank you in advance

    A month can be just a number parameter (1 = JAN, 2 = FEB etc.). So, you could do somthing like this:
    select ...
    from my_table
    where to_number(to_char(my_table.some_date,'mm')) = :p_parameter
    Or do you mean something else?

  • Team Calendars - How to show a managers team calendar when that manager reports to you

    If a manager has other managers that report to them, is it possible to have the lower level manager's "team calendars" show up in the higher level manager's Outlook 2010 calendar view.  Or are these other team calendars going to have to be
    manually created and maintained?
    Thanks for your time.

    Hello,
    A team calendar is tied to the mailbox owner's manager's direct team only. It will be automatically showed in users' calendar. If you want to view a team calendar of another manager, a workaround is create a calendar group and share calendar.
    If you have any feedback on our support, please click
    here
    Cara Chen
    TechNet Community Support

  • How to show large images along with cursor while dragging ?

    Hi Friends,
    While dragging images, image has to be shown along with cursor. In normal dragging process, only (32, 32) size of the original image size only appears.
    But in my application, I need to show image with its original size along with cursor while dragging. So i need an application (program) or
    suggestions which can meet the above requirement. It is an urgent issue for me. Any help in this regard is highly appreciated.
    Thanks in advance,
    Sunil

    Learn to search the forums before asking. This is such a recent posting.
    [http://forums.sun.com/thread.jspa?threadID=5346407]
    db

  • How to show Total amount and distributed amounts in one report

    Hi,
    I have the Plan Amounts distributed across Fiscal Year Periods for various WBS Elements in the cube.
    I have to give a report wherein I should display the Total Plan amount for each of the WBS Element in one column, and the plan amounts across the fiscal year periods in the corresponding columns.
    The user enters a Plan Start Date and a Plan End Date as input. The fiscal year periods to be displayed should be between this selection. For example if the user enters Plan Start Date as March07 and Plan End Date as Jun 07, the data should be displayed as follows:
    WBS Element Total Plan Mar07 Apr07 May07 Jun07
    WBS1 5000 3000 1000 0 1000
    WBS2 8000 0 2000 4000 2000
    If I take WBS Element in the row, Amount and Fiscal Year Period in the column, I am getting Plan Amounts distributed across the Fiscal Year Periods. I am not able to display the Total Plan amount.
    If I take WBS Element in the row, and Amount in the column, I am getting Total Plan Amounts for each WBS but I am not getting amounts distributed across the Fiscal Year Periods.
    I have tried by creating restricted key figures for all the fiscal year periods, but this doesn't work as the Fiscal Year Periods to be displayed are dynamic based on the user selection of Plan Start Date and Plan End Date .
    Is there any way this can be handled by writing some ABAP code??
    Please suggest on what can be done.
    Regards,
    Srini.

    Hi,
    If i understand your question ,
    you want like Total plant amount for range entered , and plan amount for variaous fiscal periods , is that correct...
    Y dont u try following ways:
    Total plan amount,,,,,,jan,,feb,,mar,,apri...............dec
    wbs element..
    Now take wbs element in Rows
    In columns take  plan amount , and double click it so u will reach selection screen.
    In this selection... take fiscal period from Time Char and drag it to right side
    Restrict the fiscal period with creating Interval variable...
    change description to TOTAL PLAN AMOUNT
    Now again take Plan amount and bring it in columns..
    Double clikc and in selection bring Fiscal period.
    Right click it and restrict it to january/ period 1
    Change description to January
    Copy this January,,,,, 11 times and paste it below
    now go in each january and then restrict them with different values....
    for one, select february and change description to february
    for 2nd select march as restriction and change description to march...
    Same way carry out till december.
    Save the query...
    Click Query in Menu and click properties...
    Apply zero row suppression to rows and columns..
    This way you will get Total plan amount for total range and for each period in same columns...
    With zero row supression if ur user enter only range march to june ,,, all other period values plan amount will get cancel out and u will not see them in display...
    Try this workaround and let me know...

Maybe you are looking for

  • Home sharing with multiple accounts- trouble shooting question

    I am currently having issues with the Home Sharing function. We all have seperate accounts but log on and are about to share music etc. but when logging on my work phone it sometimes saves my husbands apple id to my phone. In the setting it has the c

  • Exchange 2007 in iCal not working. - Invalid Email address

    I did the exchange setup - Email works. Addess book - Contacts are there but the Global Address book does not produce anything. iCal - all the setting are correct but it won't connect to the calendar. The error: Invalid Email address. It is the corre

  • Show javascript window after closing

    Hi, how to show the "javascript window" with my custom buttons again after it has been closed? I have a submenu with menu item (supposed "Show Buttons"), which calls a function for generating of buttons. After this window has been closed, the custome

  • Very large  PSD files created in library ?

    When I finish processing a NEF file in Lightroom and send to Photoshop CS3 to make a lens distortion correction then save the revised file as a PSD file, the resulting file size saved to my Lightroom library is more than 5 times the size of my origin

  • Problems in Vendor master record.

    Hi Sdn Experts...Could you help me? I have problems with vendor master record. I have vendors in duplicity....to solved this I aplly the solution by sap for make the consistency by Tax number. Now I cant insert the vendor with the same Tax Number...B