Use of ProgressIndicator in Status-BSP

Hi All,
I am writing a BSP-Application using different frames.
One of these frames, the status frame, contains the BSP element <phtmlb:progressIndicator>.
My intention is, that whenever I press a button on the main frame BSP in order to start a time-consuming task on the server, this ProgressIndicator should show the current status of the task at the server.
My first idea was to reload the status frame every X seconds (depending on a first estimate how long the task may need) using the window.setTimeout JavaScript command.
But this results in a bothering jitter of the status page.
My next idea was to create a http handler returning the actual status, but I dont now how to include the result into the page in such a way that no part is reloaded. Instead I would like to use the answer of the http-request (e.g. 50%) to update the progressIndicator using JavaScript (similar as in SBSPEXT_PHTMLB).
Does anyone have an idea how this problem could be solved?
Thanks & Best regards,
Juergen

Hello Jürgen,
that's not so difficult, but you need a set of pages.
Assume a page with 2 frames: left a menu short cut an right the target page. After pressing the link on the left hand side, you want to have the page loaded on the right hand side with a progress indicator.
Coding left:
What happens in detail?
The link on the left side loads the page right.htm with a parameter called tag. The tag contains the information on the page, which have to be loaded. By first the page itself loads the pages loading.htm and loader.htm in a frameset.
The page loader.htm is displayed in a hidden frame (size 0). After the page loader.htm has loaded the complete original page, the right.htm will be called twice, but now with the page loading.htm in a hidden frameset.
The key point is onLoad="document.forms[0].submit();" in the page load.htm, which performs this.
A little bit much stuff, but i have used this in a generic way for every page, and .... it works fine.
Best regards and don't hesitate to contact me for further questions,
Stefan

Similar Messages

  • How can I query a https website used to display the status of an application using Powershell?

    Need assistance on querying the status of an application using Powershell. The status of the application is displayed in a https website. I want to receive a notification when one of the listed applications fails.
    Below is an example the failures I need to capture.
    h-t-t-p-::://xpps2.xxcom/ssol/sSOLStatus.asp?autorun
    SSOL Status
    Current App Server: xpps2.xx.com
    SQL Server Details: 
    SSS_MyAccount DB Connection: PASS
    SSS_MyAccount DB Query: PASS
    CAGWEB DB Connection: FAIL - Unable to Connect
    CAGWEB DB Query: FAIL - Pay location not found
    DB2 Server Details:
    DB2 D Connection: PASS
    DB2 Q Query: FAIL -Acct not found
    DB2 X Query: PASS
    DB2 N Query: PASS
    DB2 S Query: PASS
    DB2 K Query: PASS
    DB2 I Query: PASS
    Mitem Server Details:
    MITEM server: MITEMP2
    MITEM Total Devices: 10
    MITEM Devices Lines Up: 10
    MITEM Devices Logged In: 10
    MITEM Devices In Use: 0
    Mitem Server Status: PASS
    Web Service Details:
    SAW Web Service Status: FAIL
    Maximo Vizcaino

    thats where you are going to check what it is supposed to be.
    lets say your page shows as SSOL Status : running  you
    probably want to use "if($totalstrng.ToLower().contains("ssqlL status
    : running"))". its
    checking if the html page contains the string you are looking for.
    you might want to print $totalstrng
    and see what you need to look for.
    usign XMLHttp
    or XML object  as mentioned by JRV might be easier and faster way.

  • Using Call transaction in a BSP scenario

    I encountered a problem the other day with using a BAPI in a BSP application. Within this BAPI a call transaction was made. After reading several posts in this forum and the very interesting blog BSP In-Depth: MESSAGE Statement Handling /people/mark.finnern/blog/2003/09/16/bsp-in-depth-message-statement-handling of Brian, it became clear to me that message types E,A and X during this call transaction cause HTTP error 500 no dump info and termination of the session. All in all not so much fun.
    After having an OSS message battle with SAP, their final conclusion was: it is not possible and there are no alternatives.
    Unsatisfied I tried to find a solution. And I found one, which I would like to share with you as it might cause more people problems.
    To be short, read the weblog from brian for more info, the main problem is the use of a 'very dark' dynpro when logged in with a bsp application. This session is of type Plug-in HTTP. If we call the BAPI/RFC with DESTINATION NONE a RFC type session is opened. With such a session the message type E,A and X result in 'normal' behaviour, that is the BAPI returns message type E.
    This doesnt work with Function modules which are not RFC enabled, however most of the times it is easy to create a RFC enabled wrapper around it.
    Have fun,
    Vincent

    Hallo Vincent,
    Many thanks for taking the time to write this down! I have actually learned something new tonight. Very simple and ellegant solution to this problem. If you don't mind, I would like to add this into the <a href="/people/brian.mckellar/blog/2003/10/23/bsp-trouble-shooting-frequently-asked-short-questions">FAQ</a>. This is something that is sure to help other people as well!
    regards, brian

  • What function can I use set Product Master status = LOCKED?

    I have several Product Master records that the business would like to set Product Status = I1103-LOCKED.  Is there a function I can use to set product status?

    Hi,
    You can make lock objects via sm12. Your lock object name start with E.
    Every lock object is having two function module.
    enque_lock_object_name
    deque_lock_object_name
    hope it will useful.
    thanks
    Hemant

  • Use of Release Procedure  / status in Condition Table

    What is the purpose of Release Procedure / Release status when creating condition tables ?

    Hi
    Release procedures are used in condition tables to control whether the condition types for these condition tables have to be read during pricing condition determination or not.
    If the condition table status is released then only the condition types will be read during pricing determination. If the status is not released, then they can be used for information purposes or for simulation of pricing.
    The release status is controlled by processing status too, which can be seen in condition record creation screen.
    So in crux, the processing status with Release status help in simulation of pricing, blockign the condition records from being read during pricing etc.
    For more information an F1 help on the following path will give you some more information.
    SPROSD-BF-PRICING-DEFINE PROCESSING STATUS----Here read the documentation meant for this link. You will get some more clarity on this.
    Rwd point if it helps.
    Reward points if it helps.

  • How to use Portal SSO with existing BSP application

    Hi all,
    we run SAP EP 6.0 here and have a single start BSP page of
    an application integrated with the SAP appintegrator for BSP. The rest of the existing BSP application still uses
    the login functionality based on CL_BSP_LOGIN_APPLICATION
    and is not integrated in the portal.
    Problem: If a user directly accesses one of the "old" BSP pages, he should be redirected to the portal to auth. him via SSO and afterwards the original BSP page with all its parameters should be processed.
    How to deal with that? Is there a similar mechanism like with the BSP_LOGIN_APP in between for the SAP EP?
    Thanks for your help!
    -RAINER-

    I think that doesnt solve the problem.
    I have 2 systems: SAP ECC with all BSPs and the portal on another system. So I have to entry points: Via portal using the appIntegrator BSP or directly to the ECC.
    As-is: If the auth. for the BSP appl. fails, the user is re-directed via the error page given in the service (SICF)
    to a BSP login app. and from there to the requested page.
    No portal in this concept.
    Must-be: A user is still able to directly access a BSP on the SAP ECC by entering the URL in the browser. It's not a must entering via the portal first.
    So when the login failed on the ECC (no SSO ticket), he should be redirected to the portal for getting his SSO.
    After he signed in successfully the user will be forwarded to the BSP page he entered in the browser the first place.
    I can't see a way to use the URL iView. I am thinking of simply changing the login mechanism of the BSP using the portal login functionality.
    The link you gave me offers an implementation of CL_ICF_SYSTEM_LOGIN. Any ideas?
    Regards,
    -RAINER-

  • How to use another panels in status line

    Hi Everyone:
    Can anybody tell me how can i use another panels in the
    Console's status line, I'm using the message line but i need to
    show the user's name and Date-Tiem in another section of the
    status line and not in display controls as i'm already doing it.
    Thanks.

    Do you really need a JSF component for that? You can use h:panelGroup and some JS. But a simple div with some JS is also sufficient.

  • Using JMX to get status information about NetWeaver cluster

    Hi everybody,
    We are trying to use JMX to get some status information about NetWeaver cluster.
    For example, using the MBean with the name u201Ccom.sap.default:name=EL1,j2eeType=SAP_J2EEClusteru201D we can obtain the list of all instances running in cluster. Here an instance is a u201CJava instanceu201D in the NetWeaver terminology.
    The method u201CgetInstanceNodeIDsu201D provides us with a list of all nodes of an instance.
    Concretely, calling this method for a cluster running on one machine with two java processes, we get the following list of node Ids: u201C0, 1476420, 1476450, 1476451u201D where the last two correspond to the two java processes.
    What are the first two node Ids from the list?
    How can the last two node Ids be identified as java processes?
    How can we obtain status information about each java process (node id) ?
    Thanks for all ideas,
    Radu

    As there seems to be a lot of interest in this subject, and since I found some form of solution, I thought I'd share it with you.
    In the es-cli interface, there is a thing called browse mode. Activate it by typing browse after logging in.
    Now you can easily browse your network and all of the managed objects. Use getattributes at the end of each branch to see the properties of objects. So far, I've indexed all of the kernel reader module, the health monitor module, the common config reader and the config reader for workgroup servers. If my employer allows, I will post results to http://tille.garrels.be/training/sunmc/ - check later this week.
    Machtelt.

  • Error in  using The Standard PF-STATUS .

    Hi
       i want standard futures in my zalvreport
    I HAD USED THE CODING AS MENTIONED BELOW .. PROBLEM I AM NOT GETTING THIS FUTURES IN MY ZREPORT
    please tel me wat is the problem
    I_CALLBACK_PF_STATUS_SET          = 'ZPM_MOTOR_HISTORY'
    *                 FORM ZPM_MOTOR_HISTORY                             *
    FORM ZPM_MOTOR_HISTORY USING rt_extab TYPE slis_t_extab.
      SET  PF-STATUS 'ZMSTATUS'.
    ENDFORM.
    Thanks a lot
    Edited by: raghu111 on Nov 16, 2011 6:59 AM

    Hi,
    do you use fm REUSE_ALV_GRID_DISPLAY where you pass the parameter I_CALLBACK_PF_STATUS_SET ?
    Did you set a break-point to see, whether command line
    SET  PF-STATUS 'ZMSTATUS'.
    will be processed?
    If you double-click on 'ZMSTATUS', can this status be found?
    If all of this is okay, maybe the PF-STATUS was defined in a wrong kind. You can select several different kinds for a status, but only the right one will work correctly.
    Regards,
    Klaus

  • Use of Router Header Status Code 9 - "Withdrawn"

    Hi Folks ,
    We have a significant number of  material numbers that currently have
    routings - but are being converted to Phantoms. Normally, this would
    mean deleting the routings. However, since a significant amount of
    effort went into creating these routings, (and they may possibly be
    needed again someday), we do not want to lose the information. So - my
    question is - if we leave the routing intact, and change the routing
    status in the header to 9 (Withdrawn) - would this have the desired
    effect of saving the routings without causing additional problems
    elswhere? Or - is there an alternate solution?

    that means it cannot be used anywhere like it is CREATED status.
    It is okay for your purpose.
    But My sugession is why are you changing the status.
    Since it is Photom assembly there will not be any production orders for this and most important is whether you want the operatios to be considered for next assembly or not?
    Anyhow sinec it is not used directly in production order, you can still have the status 4(released for all).
    pl come back

  • HT1267 i have a iphone 3gs but i cant use it now the status has been change so i cant use it. im in china

    i have a iphone 3gs from 3years i go i bought in the states now im in china and i can register it .........the apple store here in shanghai says the status has been changed on the phone so i cant use it........what can i do?

    You have to get AT&T to unlock it. You'll have to call them.

  • Using global variable read status

    Hi Experts,
    I need to change the Note based o the Service Ticket status. I declared global variable as a string in ZL_ICCMP_BT_BTSHEADER_IMPL (Component: ICCMP_BTSHEAD; View: BTSHeader)
    And I am passing the Status to this global variable using the GET and SET methods of the STRUCT.ACT_STATUS attribute in BTSTATUSH node in same component and view.
    I referred this global variable in DO_PREPARE_OUTPUT of the component ICCMP_BTTEXT/TextView to set the Note as shown below.
    if ZL_ICCMP_BT_BTSHEADER_IMPL=>GC_STATUS = 'E0001'.
    I would like to know whether this approach is the best way to read status or any other optimistic  approach is there to follow for my this scenario. Please advise me.
    Thanks
    Chand

    Hi Basha,
    If you are using static variables, i wouldn't recommend using this approach.. there are better approach to get/set values in web client session which avoids setting/clearing static variables etc..
    you can follow below approach..
    1. To Get/set the variable in ic session to avoid the static variable.. for eg global cuco is available which you can use for this purpose.
    lr_bdc type ref to if_crm_ui_data_context.
    lr_bdc = cl_crm_ui_data_context_srv=>get_instance( me ).
    check lr_bdc is bound.
    Using SET_DATA_ATTRIBUTE set the attribute value and using GET_DATA_ATTRIBUTE get the attribute valueu2026get_attribute, set_attribute
    read current BuAg if exist
    lr_buag ?= lr_bdc->GET_DATA_ATTRIBUTE( 'CURRENTBUAG' ).
    Here "CURRENTBUAG" is the attribute name, you can give any attribute name while setting and get the same attribute value via get_data_attribute.
    Cheers,
    Sumit Mittal

  • Quotation Using BAPI .. Status is open in Document flow

    Hi..
    I created Inquiry .. quotation using BAPI (inquiry/quotation)Create_from_Data2 .... ie
    BAPI_QUOTATION_CREATEFROMDATA2 & BAPI_INQUIRY_CREATEFROMDATA2
    ..  But in Document flow created  inquiry and quotation status is open... Why this is happening?
    Thanks..
    ..Ashish

    yes... Actually if we go to change inquiry/quotation ... if i check whether document is complete .... then it shows document is complete ....
    ..Ashish

  • Using own created system status

    Hi,
    my customer doesn't want to use user statuses and I have created a new system status instead and assigned it to the object type using the transactions BS12 and BS22.
    But now I have the problem that this new system status is not visible as an available status neither in the transaction I want to use it (CRM_MKTPL) not in the status simulation in BS12.
    If I set this newly created system status as the initial status it is visible!
    For me it seems that the information is missing which system status is allowed to be set after a previous status.
    I could not find a place where I can do such a configuration.
    Does anybody knows where this setting can be done or do we have to do some additional coding.
    Thanks and kind regards
      Michael

    Probably answer not expecting any more, but maybe as a help for other users
    If the open status is set as an initial status, you must in BS22 transaction, for this open status, set 'allowed' for your new system status.

  • Reg: Function Module thats used to check the status of JOBS and mail it

    Hi Experts,
    Is there any Standard Function module thats going to find the status of the jobs and mail this status to specied email ID in .xls format. While checking status function module should give whether job is - Aborted, Successful, Running, Waiting, Locked, Error, Warning, Starting Date, Ending Date of the Job.
    Please help me,

    Hello Nagaraj,
    You can find out the status of a job with the SHOW_JOBSTATE function module. You provide this function module with a job name and job number. It returns one of the six possible statuses of the job:
    ABORTED TYPE C,
    FINISHED TYPE C,
    PRELIMINARY TYPE C,
    READY TYPE C,
    RUNNING TYPE C,
    SCHEDULED TYPE C.
    Following is the link for the same:
    http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e10543b11d1898e0000e8322d00/content.htm
    Warm Regards,
    Riki Dash

Maybe you are looking for

  • Message interface does not exist in any software components installed on th

    Message interface does not exist in any software components installed on this business system. hello, When I check the interfaces on the business systems of 1 technical system, none of them have sender or receiver interfaces, hance I can't use them.

  • Ping in solaris 10

    Hi , i am havign a problem with ping in solaris 10 . i need the ping to return the actual canonical name not the alias . ( like in solaris 8 ) but in solaris 10 wheni use ping it just returns the alias e.g. in sol 10 .. ping active-1 active-1 is aliv

  • I need help to find out my serial number

    Hi there My old computer broke and now that I got a new one I wanted to install LR. However I just can´t find the box with the serial number on it and I haven´t registered online when I got it. Is there anything I can do to start using LR again? Than

  • Syncing shared calendar

    I used to have an iphone 3G and could easily sync my 2010 outlook calendar along with a shared calendar that I would periodically email to my home account from work.  Now I have switched to an iphone 4S with an updated os and it no longer syncs my sh

  • Group by day - evaluation date formula question

    Hello, I am currently working on a report for on-call coverage.  I am having difficulty grouping by date and I'm hoping someone can help me.  Here is my situation. The on-call database has a coverage start date and coverage end date. Person A has a c