ProgressIndicator in BSP

Hi guys,
we want to add a feature in our BSP-Application:
When user clicks the button, the progressIndicator will be shown until the job done. During this period of time, user is not allowed to do anything excpet wait.
I am condisering to use the BSP Extension "progressIndicator", but i am not sure
1. if it fits this requirement
2. how the "progressIndicator" can be used? Wourd you like to give me some examples?
Any hint would be highly appreciated.
Regards,
Youyou

Hi You,
Have you tried the
<xhtmlb:protectDoubleSubmit timer  = "200"
                                    active = "TRUE"
                                    design = "POPUP"
                                    title  = "Please Wait"
                                    text   = "Working on yur request..." />
Also check [this thread|[Upload] Show progress when file is being uploaded;

Similar Messages

  • 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

  • Call .htm in bsp

    hi,
    we are already developed code to upload data, the problem is when we upload data it will take few minutes to process, user cant know whether it is processing or not. so, they click the upload button 2 to 3 times. so, we want to develop code to call the loading.htm page while processing the data to upload. can i know where will we change the code for this and what is the code.

    Hi
    Please refer to the BSP programs
    <b>SBSPEXT_PHTMLB</b>
    here you'll find a progress indicator page i.e.
    progressIndicator.htm and messageBar.htm).
    Regards
    Preeti
    <b>
    Reward if useful</b>

  • Phtmlb:progressIndicator

    Hello,
    1) I display the selection fields of an ABAP Program in a BSP page
    2) I call the ABAP Report from the BSP-page (OnInputProcessing)
    3) the program reads data an prints a list out
    4) this list is in the browser displayed
    everything is Ok, but now I´d like to insert a progress bar or something, so that the user knows that the report is searching for data. I thing that the BSP extension phtmlb:progressIndicator should do it but my problems is:
    how do I tell it from OnInputProcessing that it should display the progress in the layout, especially in succesive steps (10%, 20% 40%, etc.) ??
    Has any one an idea ??   Thanks a lot

    Hi,
    if you only want to tell the user that the application is currently busy with reading the data then just use the   <xhtmlb:protectDoubleSubmit/> extension. It displays a message to the user that the request is being processed. My user like it and never requested a progress bar.
    Try this:
    <htmlb:form>
    ...your view code...
      <xhtmlb:protectDoubleSubmit/>
    </htmlb:form>
    regards,
    Thomas
    Message was edited by: Thomas Ritter

  • Progress indicator as clock in BSP.

    Hi All,
    How can we show the progress indicator as a clock or as the circle with loading effect as we have in EP , in a BSP page?
    I have seen the phtmlb:progressIndicator and xhtmlb:protectdoublesubmit but thats not what i am looking for.
    Thanks,
    Anubhav.

    Hi Anub,
    the spinning dial in EP is just an animated .GIF file. Find the URL for it and then just use it where ever you want.
    Cheers
    Graham Robbo

  • How can I open a PDF stored in IXOS and then display it in a BSP

    Hello gurus,
    I have created a PDF icon and an onclick action to open a pdf, that displays on every row of an assignment block in the actions column, but I do not know the technical process to determine how to get a PDF from the IXOS system from the line selected. (even if I know it depends on an ID attribute of that assignment block) I want to to call a transaction launcher with the url for the pdf in the IXOS that has an ID that identifies which line in the assignment block the user has clicked the pdf icon for (does that make sense?)
    Therefore, I am assuming the PDF should correspond to the relance ID of the row in the assignment block, but I would like more information as per the business logic involved in able to achieve the desired results for this particular specification. I already confirmed that the XURL or any other attribute in the BOL object does not contain the URL to use for this. I have looked at the class I was told that it may contain the required business logic for determining which PDF in IXOS to fetch for a particular row, and I am currently trying to reverse engineer the logic through looking at other code and using the debugger, but so far I haven'T had much luck.
    Here are some questions I have now for the functional side in the meantime:
    1) Can we fetch the PDF in IXOS for each line of an assignment block?
    2) Which URL should I call with the transaction launcher? a URL link to the PDF on the IXOS system??
    3) Do we have to configure a transaction in the IMG to be launched?
    4) Do we have to create a logical link there that I will make dynamic to call the right PDF for each table line? 
    5) Are there any existing examples of this or a similar functionality/ logic that I could refer to, preferably in CRM 7 WebUI?
    6) Do you have any code to just display a PDF in a new window? Or prompt a download?
    One possible way I thought of would be for me to have a logical link defined in the IMG, that I could call passing it different attributes (eg. some object id, etc) and then return the PDF and display it in the UI in a new browser window by itself. Alternatively, we can just prompt a download. What do you think would be the optimal behaviour here?
    Please do not hesitate to propose any potential solution. Any partial answers/ links to wikis/ other threads, anything would be much appreciated.
    Thank you in advance.
    Best regards,
    Jonathan Laplante

    Hi,
    I partially answered your question in another posting but I feel that you´re in the wrong forum for your problem. This is for BSP development and you talk about CRM.

  • Any ideas on a nice BSP view pretty printer?

    Hi there,
    I am wondering whether somebody already tried to extend the SAP standard pretty printer by an own functionality which fits better for pages with mixed content, containing not only BSP-elements but also HTML-tags.
    The standard pretty printer considers everything as plain text which is not a BSP-element and leaves it unaltered. Only BSP-elements are arranged according to their tree structure.
    This produces ugly results for pages with mixed content.
    1.) Requirement
    A Pretty Printer for HTML-based BSP views should cover the following:
    (a) HTML-Tags and BSP-elements together form the chain. As in following example:
    <z:table table_id="testTab" binding="//test/gt_test" rows="5">
      <z:tableBody position="top">
        <colgroup>
          <col width="4%">
          <col width="96%">
        </colgroup>
      </z:tableBody>
      <z:column name="type" header="<%=zcl_bsp_util=>dtel_text_s('EDI_TTYP')%>"
                listPos="10"/>
      <z:column name="text" listPos="20"></z:column>
    </z:table>
    (b) Certain HTML formatting tags like I, B, etc. should not be added to the stack but be treated inline.
    (c) HTML-attribute names should be converted to lower case, the attribute values should be quoted.
    (d) Like for BSP-elements, there should be a threshold after which the attributes should appear in separate lines. Instead of a certain maximum "number of attributes", this could also be a maximum number of characters per line.
    (e) Scripting Tags (<% ... %>) should start at a new line, if the content contains new-lines.
    (f) Evaluation Scripting (<%= ... %>) should be inline, if they are contained within text nodes (and not within HTML oder BSP element nodes).
    (g) The Pretty Printer should be parametrizable (with parameters like indent-depth,... ).
    2.) Exits?
    Of course, one could always use an external HTML editor and write an add-on for that editor which produces the desired result. Or one could take the view content into the clipboard, paste it into a plain text editor like UltraEdit or TextPad which allows external commands, apply an external, self-written pretty printer to it and then paste the result back into the View. But it would be easier to use the "Pretty Printer" button directly to get the result. Therefore the question arises at which point the standard Pretty Printer Functionality could be modified or extended.
    I didn't find an exit. But the pretty-print itself is doubly-decoupled in the standard which minimizes the number of points where an extension has to be made:
    2.a) First decoupling point: The Fcode handler method pretty_printer_ext( ) in cl_o2_page is calling
    dynamically a method in cl_o2_co2_processor:
    * call pretty printer
      create object pp type ('CL_O2_CO2_PROCESSOR').
      appl_str = me->pagekey-applname.
      page_str = me->pagekey-pagekey.
      try.
          CALL METHOD pp->('PRETTY_PRINT')
            EXPORTING
              indent              = 2
              ATTRIBUTE_NORMALIZE = 'X'
              ATTRIBUTE_THRESHOLD = 2
              BSP_UNFORMATTED     = source
              appl                = appl_str
              page                = page_str
            IMPORTING
              test_ok             = test_ok
              BSP_FORMATTED       = pp_source.
        catch cx_o2_co2_exception into o2ex.
    2.b) Second decoupling point:
    The method pretty_print() of class cl_o2_co2_processor (fancy names, by the way. It seems that many former chemistry students had joined the BSP team ),
    there is a second delegation, to a local class, as follows:
      data pretty type ref to LCL_BSP_PRETTY_PRINT.
      pretty = LCL_BSP_PRETTY_PRINT=>getInstance( processor = me ).
    The real logic for doing the Pretty Print, finally, is performed in this local class.
    3.) Implementation.
    Since, up to my knowledge, there is no HTML parser in the ABAP world,
    the implementation could be based on existing HTML Parsers, like the Perl module Parser::HTML, or the Java package http://htmlparser.sourceforge.net/ . The pretty printer could then be called as external OS command.
    Are there any ideas out there? Or is there somebody who already worked in this direction?
    Regards,
    Rüdiger

    For those who are interested. I found out that the Dave Ragget's classic "HTML Tidy" (see <a href="http://tidy.sourceforge.net/">http://tidy.sourceforge.net/</a> )  is available in ABAP! There is a class CL_HTMLTIDY (at least here in my SAP_BASIS 700 system) which wraps calls of HTML Tidy by kernel modules.
    The class is undocumented, but there are 2 OSS notes of this year for it, so it might well be that it is alive.
    HTML Tidy can surely not directly be used for Pretty Printing BSP views, but for designing test cases or for doing things like HTML parsing, it might be a helpful tool.

  • Error in using PERFORM in eventhandler in a BSP Application.

    Hi All,
    Can we use Subroutines in BSP applications?
    If yes then please help me with syntax .
    Best Regards,
    Anubhav.
    Edited by: Anubhav Jain on Dec 20, 2007 10:52 PM

    You can call subroutine with below Synatx:
    DATA: progname(20) TYPE C VALUE 'YTESTINCLUDE' .
    PERFORM your_perform_name IN PROGRAM (progname) IF FOUND.
    "where your_perform_name is the form within the include program YTESTINCLUDE[/code]
    Raja T
    Edited by: Raja Thangamani on Dec 20, 2007 4:58 PM

  • Problem with index of numbers in BSP Front end

    Hello All,
    I am facing the below problem. Request your help.
    Scenario: When I am trying to add the projects in the Front end , I am facing the problem with the index of numbering of the projects.
    Example: If I am adding 6 projects ( at the max only 4 on each page i-e there are 2 pages ), then the index is wrongly numbered and the arrow (for direction of the pages) are wrongly displayed. The direction of the arrow is pointed to the next page rather pointing to the previous page and the index of numbering of the pages is wrong.
    Request you to please suggest if this is any code fault in the table maintainance activity in the backend (BSP).

    Hi Irina,
    If you mean the number range is skipping 10 numbers in between runs then its because of the buffering in the number range.
    To avoid the buffer influencing the number range, pass
    'X' to the function module parameter: IGNORE_BUFFER.
    This should resolve the problem.
    Cheers,
    Aditya

  • BSP Error while selecting "campaign elements" in spanish --- crm 2007

    Hi experts,
    I´m trying to look for a solution for a problem with an error that occours while selecting in WEB UI --marketing --- campaign elements , in spanish language.
    Error Business Server Page (BSP)
    <thtmlb:textView>: (design) The Attribute Value is not a Value from: STANDARD/HEADER1/HEADER2/LABEL/VALUE/ITALIC/BOLD
    In english it works perfect.

    Which field is? Has translate value content to spanish for this field?.
    In SAP CRM UI, press F2 and tell me which is the field

  • Badi/exit/Workflow called during  execution of the BSP "SRMSUS_SELFREG"

    Hi all,
    We are running on SRM 5.0.(SP06) Strategic sourcing scenario.We are using enterprise Portal as the front end.My query is that at the end of Supplier  registration process,when the Supplier admin creates the USER ID's for the Suppliers(through BSP SRMSUS_SELFREG),is there any way by which we can create the enterprise Portal users for those suppliers at the same time(Automation) ?My BASIS person told me that the automation is possible when the EP system is connected only to 1 backend but in our landscape we are having several systems connected to EP.
    Other alternative would be to send a mail to the EP administrator stating that the Vendors User ID's have been created in SRM and the EP ID's need to be created.
    For this ,i didnt get any BADi/exit which gets triggered during this USER ID creation process wherein i can write my logic for sending the mail to the EP admin.
    There are some Std workflows (e.g. WS10000209)for USER creation but these dont seem to be useful in this scenario.
    So the only method left is to modify the Std BSP which  we dont want.Has anybody worked on this kind of scenario?
    Any suggestions are welcome and will be rewarded as well.
    BR,
    Disha.

    Hi
    I am still searching.. but no BADI/Exit is called in this case..
    <u>Meanwhile, i found few SAP OSS notes, which you can go through -></u>
    Note 1031896 Delimiting of Supplier Reg URL due to Special characters
    Note  1031070 Supplier cannot be registered
    Note  996030 Need to relogin to srmsus_selfreg service when using aliases
    Note 1032573 FormofAddr field mandatory in userselfreg.htm page
    Note 1003820 Supplier cannot be registered
    Note 889451 Not Possible to register in Supplier self-registration
    Note  807511 Error message after self registration of supplier admin user
    Note 784883 Irrelevant warning message stops self registration
    Do let me know.
    Regards
    - Atul

  • Xcelsius Dashboard on SAP R/3 Table using BSP and XML Mapping

    Hi Experts,
    I have developed a simple dashboard on small data set (10 records) that I am fetching from a R/3 Table into BSP and generating XML from there and consuming it in Xcelsius (SAP R/3 + BSP + XML Mapping).
    Now I want to fetch data based on Variables values that should be passed from the dashboard at the runtime and should display the data  accordingly. Any help on how it can be achieved?
    Thanks..!!
    Sharad

    Hi,
    You could try doing this by using XML data connection. You would have to make use of Enable load to get the data from XML and Enable send to send data back to XML from dashboard.
    This would require you to write a script.
    Thanks,
    Amit

  • Unable to capture the Idle time for BSP page

    Hi Experts,
    I want to capture the Idle time of my BSP page. If that is 5 mins then i have to display the pop up displaying the remaining time.
    Please let me know how to capture the IDLE TIME. not the time after the page is loaded.
    Any suggestion will be helpful.
    Aready checked in SDN but unable to get the solution so posting it.
    Thanks in advance.
    Sravanthi.V

    hi,
    After capturing the idle time iam giving the warning popup to user before 5mins of expiry.Now my requirement is if the user clicks on OK button of popup the page should get refresh. i.e.Idle time should of system should break and we have to get one more hour for expiry.
    Thanks in advance,
    Sravanthi.V

  • Field value on BSP Page

    Hi,
          I have a requirement to show previous entered values in an input  field on BSP Page. for example suppose I enter value '0998' in an input field say 'XYZ'  and then I close or refresh the browser. again i open the page in browser and click the input field then system should suggest me the previous entered value i.e. '0998'.   does anyone have idea how we can do it?
    Regards
    Amit kumar
    Edited by: amitku1201 on Jan 8, 2010 12:19 PM

    Hi Amit,
    I saw your code..
    <htmlb:form id="Form1" method="POST" autoComplete = "TRUE">
    <bsp:findAndReplace find = "ON" replace = "ON">
    In the link I provided
    <bsp findAndReplace find = "off" replace = "on">
    I dont see the closing tag
    </bsp:findAndReplace>
    anywhere in your code.
    The tag should be not used immediately after the FORM tag instaed it is used just before the tag for particular element.
    Like in your case if you want to used it for the inputfield i_case , it should be done as
    <bsp findAndReplace find = "off" replace = "on">
    <htmlb:inputField id="i_case" value="<%=i_case%>" type="string" maxlength="12" width="100"/>
    </bsp:findAndReplace>
    The inputfield tag will be used between find and replace tags.
    I hope this will help you solve the issue.
    Regards,
    Anubhav

  • Assign a value from dropdownlist to input field value on BSP page

    Hi,
    I'm new to SAP and ABAP. We have a CRM project in which I have to maintain BSP pages.
    Now, coming to my problem: I have a input field with
    value = "//BTAdminH/HeaderInfo"
    This field is normally maintainable. The required function is now to set this field as not maintainable/readonly. Then, the value should be set automatically to an value, which will be selected from a dropdownListBox. After saving, the value HeaderInfo should have the same value like the selected value from the dropdownListBox.
    How can I now set the field as readonly (this should be the easier part) and
    how can I set the value for the HeaderInfo to the value of the selected value from the dropdownListBox?
    If I set it directly like this
    value = "//BTActivity/Priority"
    it is shown on the BSP page correclty, but it is not saved as HeaderInfo.
    Please help me.
    Enja

    Hello Gokul,
    test was only for test purposes! I am using as a separator the plus sign!
    But this is not the problem!
    In debugging, the local variable has the concatenated value! So, this is working!
    oncatenate ls_ddlb1-value ls_ddlb2-value ls_ddlb3-value into lv_headerinfo SEPARATED BY ' + '.
    But when I assign the value of my set_headerinfo to the local variable, then it is returning only the separator sign!!!
    if BTAdminH->GET_HEADERINFO( 'HEADERINFO' ) is initial.
        BTAdminH->SET_HEADERINFO( attribute_path = 'HEADERINFO' value = lv_headerinfo ).
      endif.
    If I declare the local variable as one of the dropdown values, then it is getting populated also for set_headerinfo
    lv_headerinfo  =ls_ddlb1-value.
    So, the assigning is also working! But it is not working, when the local variable equals more than one value! I hope that I could explained it in the right way for you!!!!
    So. why is the value for set_headerinfo not the same as the one for the local variable! The local variable has the correct value after the concatination.
    Regards
    Enja

Maybe you are looking for

  • LabVIEW 3.0.1 to 2011?

    Hi! I am a beginner in LabVIEW and I should write a new VI for a solar cell in our university. It is used for experiments for other students. But unfortunately the devices are very old ( Keithley 228a and 199 ). So there are some problems using GPIB

  • Activation date passed and still no broadband

    Hi Everyone, I recently switched from Orange to BT as I was having an issue with my broadband that Orange were far from helpful about.  My equipment (HH4) and activation email arrived on 16th September to say everything was ready to go. I followed th

  • Time Zone issue

    I'm a new BB owner in Seattle and just returned from a Denver conference. Before leaving, I'd entered dozens of meetings/receptions/etc. that were synched via my Outlook calendar. When I got to Denver and figured out that I had to manually change tim

  • Editing image in phtoshop

    In captivate 3 I tried to edit the image in photoshop from library using Ctrl+u, After finishing editing i saved the image, but it is not automatically updated in the captivate slide, But the same function works very well in captivate 2. Please guide

  • HT5824 i can not find my photos

    i backed up my icloud but can not find my photos