Presentation Server Download from BSP Page

Hi,
I am using the class cl_bsp_utility method DOWNLOAD and getting the Wait...Your request is being processed
message.
I have read other blogs that give an alternative solution with a 1px by 1 px iFrame.
Also, I have seen a couple of posts say that we need to undo the <xhtmlb:protectDoubleSubmit> tag.
I have put the event handler code on an image click and have no idea where to do this
<xhtmlb:protectDoubleSubmit>.
Does someone have any idea.
Please help.

Hi,
I am not understanding exactly where your problem is, but you use the tag in your BSP code somewhere between the opening <HTMLB:CONTENT> and the closing </HTMLB:CONTENT>.
BSP element <xhtmlb:protectDoubleSubmit> can be used within an HTMLB:form BSP element to prevent a user from triggering a new event until the first event has been processed on the server and a response has been sent to the browser, where it was received.
This makes sense in particular if response times exceed a few hundred milliseconds, as in these cases users tend to press a radiobutton again to speed up the response.
The tag itself does not trigger an event that you can capture in OnInputProcessing or in DoHandleEvent and the message shows up automatically.

Similar Messages

  • Download to excel in different tabs from bsp page

    Hi all,
    I have a requirement in which I have to download to xl-sheet in different tabs based on some conditions from a bsp page.
    I am successful in downloading data into different tabs.
    Now I had written the piece of code required to download to xl in a function module
    and I am calling that function module when pressing a button in bsp page.
    When I run the fm seperately its working but when I run it from bsp page its not working.But while debugging I found that the fm is being called and executed perfectly without any errors.
    But the xl is not being created on our side.
    Can anyone suggest me how to proceed on this.
    Helpful answers will be rewarded.
    Thanks,
    Uga

    Hi Raja,
    Yes I am using ole objects.
    For more clarity I am alos pasting my code.
    If this is not possible then please guide how to achieve this in BSP.
    *******************CODE*****************************************
    include ole2incl.
    data: w_cell1 type ole2_object,
    w_cell2 type ole2_object.
    *--- Ole data Declarations
    data: h_excel type ole2_object, " Excel object
    h_mapl type ole2_object, " list of workbooks
    h_map type ole2_object, " workbook
    h_zl type ole2_object, " cell
    h_f type ole2_object, " font
    gs_interior type ole2_object, " Pattern
    worksheet type ole2_object,
    h_cell type ole2_object,
    h_cell1 type ole2_object,
    range type ole2_object,
    h_sheet2 type ole2_object,
    h_sheet3 type ole2_object,
    gs_font type ole2_object,
    flg_stop(1) type c.
    Internal table Declaration
    data:gt_kna1 type standard table of kna1,
         gt_knvv type standard table of knvv,
         wa_kna1 type kna1,
         wa_knvv type knvv.
    types: data1(1500) type c,
    ty type table of data1.
    data: it type ty with header line,
    it_2 type ty with header line,
    it_3 type ty with header line,
    rec type sy-tfill,
    deli(1) type c,
    l_amt(18) type c.
    data: begin of hex,
    tab type x,
    end of hex.
    field-symbols: <fs> .
         constants cns_09(2) type n value 09.
    assign deli to <fs> type 'X'.
    hex-tab = cns_09.
    <fs> = hex-tab.
    data gv_sheet_name(20) type c .
    SELECT kunnr name1
      INTO corresponding fields of table gt_kna1
      FROM kna1
    UP TO 1000 ROWS.
    SELECT kunnr vkorg
      INTO corresponding fields of table gt_knvv
      FROM knvv
    UP TO 3 ROWS.
    loop at gt_kna1 into wa_kna1.
    concatenate  wa_kna1-kunnr  wa_kna1-name1 into it separated by deli.
    append it.
    clear it.
    endloop.
    loop at gt_knvv into wa_knvv.
    concatenate wa_knvv-kunnr wa_knvv-vkorg into it_2 separated by deli.
    append it_2.
    clear it_2.
    endloop.
    if h_excel-header = space or h_excel-handle = -1.
    *start Excel
    create object h_excel 'EXCEL.APPLICATION'.
    endif.
    call method of h_excel 'Workbooks' = h_mapl.
    set property of h_excel 'Visible' = 1.
    *add a new workbook
    call method of h_mapl 'Add' = h_map.
    gv_sheet_name = 'KNA1'.
    get property of h_excel 'ACTIVESHEET' = worksheet.
    set property of worksheet 'Name' = gv_sheet_name .
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
    data l_rc type i.
    call method cl_gui_frontend_services=>clipboard_export
    importing
    data = it[]
    changing
    rc = l_rc
    exceptions
    cntl_error = 1
    error_no_gui = 2
    not_supported_by_gui = 3
    others = 4.
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 1.
    PERFORM err_hdl.
    call method of h_excel 'Range' = range
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    call method of range 'Select'.
    *PERFORM err_hdl.
    call method of worksheet 'Paste'.
    ****for second sheet**********
    GV_SHEET_NAME = '2ND SHEET'.
    gv_sheet_name = 'Knvv'.
    get property of h_excel 'Sheets' = h_sheet2 .
    call method of h_sheet2 'Add' = h_map.
    set property of h_map 'Name' = gv_sheet_name .
    get property of h_excel 'ACTIVESHEET' = worksheet.
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
    call method cl_gui_frontend_services=>clipboard_export
    importing
    data = it_2[]
    changing
    rc = l_rc
    exceptions
    cntl_error = 1
    error_no_gui = 2
    not_supported_by_gui = 3
    others = 4.
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 1.
    PERFORM err_hdl.
    call method of h_excel 'Range' = range
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    call method of range 'Select'.
    PERFORM err_hdl.
    call method of worksheet 'Paste'.
    Can you people give me inputs so that I can proceed further.
    Thanks,
    Uga

  • Ipod Nano won't play any songs downloaded from MySpace pages...

    My first generation Nano was initially sent back to Apple due to the battery losing it's charge to quickly. They sent me back what appears to be a replacement Nano and now this one won't play any songs downloaded from MySpace pages of bands, shared from friends (unprotected mp3 files) or otherwise downloaded from the internet.
    Whats unusual is that any songs imported from a CD to the Nano play fine as do any songs purchased from iTunes. I know Apple has stated that any files the user wishes to play on their iPods will play as long as the format is compatible. (All of these songs in question played on the original Nano and the problems started when they said they fixed it and sent it back (although it is missing the engraving which to me indicates they gave me a refurbished Nano). My Applecare runs out in mid-October so I need to figure out what is wrong. I sent it back a second time and they told me they couldn't recreate the problem so they just updated the software and sent it back.
    Someone suggested that some iPods have a part of the firmware activated (which Apple may have been testing) that prevents any non-ITunes store music or music no t off an original CD to fail to play.
    When attempting to play downloaded songs from sites like Purevolume and MySpace the iPod plays for a few seconds then shuts down and restarts itself, all of these songs worked fine before Apple took it in for service.
    Any suggestions?

    Hello,
    I have exactly the same problem. It`s so annoying.
    I did a little bit research on this discussion board and this problem seems to be known for quite a long time. It`s confusing me Apple is not able to fix that prob or give customers quick introduction to resolve the prob.
    I am currently on vacation in Florida and just bought the new iPod 30 Gig. I transfered already songs from my music cd. That worked fine.
    I bought 2 music video files, synced them with no error to the iPod, but it only shows me a black screen when I want to start the video on the iPod itself. itunes plays the files with no problem.
    Any ideas how to fix it??
    DELL Latitude D800   Windows XP Pro  

  • How to send/set parameter from BSP page to iview

    Dear Expert,
    Can advise me how to send or set parameter from BSP page to iview ?
    http://xxx.xxx.com/irj/portal?navigationtarget=roles://pcd:portal_content/FLD.ObjetLibrary/FLD.Iviews/FLD.CRM/ET/bsppage.htm?lv_param=xxx
    I want to view my bsp page in portal but with parameter value.
    I can open my bsp page without parameter value like link below :
    http://xxx.xxx.com/irj/portal?navigationtarget=roles://pcd:portal_content/FLD.ObjetLibrary/FLD.Iviews/FLD.CRM/ET/
    Thnx & Regards,
    Pieter

    Hi,
    your BSP page get's integrated via an iFrame. So, simply speaking, it's not possible to pass an parameter back.
    But what you can try is to use the Portal DataBag component. In the BSP page, store the information you want to pass in the browser. The iView/Portal than has to check if there is a new parameter / value stored.
    SAP Help: http://help.sap.com/saphelp_nw70/helpdata/en/68/322a9261c54e51b7965f86aac3dae2/frameset.htm
    br,
    Tobias

  • PDF download from BSP application

    hi all,
    With the bellow code i am able to download to PDF from BSP application
    Issue is when i click on the download button waiting popup window is not disappearing even after PDF displayed.
    Please help me to resolve how to stop this waiting popup window.
    response->delete_header_field( name = 'Cache-Control' ).  "#EC NOTEXT
      response->delete_header_field( name = 'Expires' ).        "#EC NOTEXT
      response->delete_header_field( name = 'Pragma' ).         "#EC NOTEXT
    Deactivated because of Note 904314 and Kompression in Kernel
      response->set_compression( options = '4' ).
      response->set_header_field( name  = 'content-type'
                                  value = 'application/pdf' ).
      response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
        response->set_header_field(
                           name  = 'content-disposition'
                           value = 'attachment; filename=candidate.pdf' ).
      l_pdf_len = XSTRLEN( l_pdf_xstring ).
      response->set_data( data   = l_pdf_xstring
                          length = l_pdf_len ).
      navigation->response_complete( ).
    Any help on this is highly appreciated.
    Thanks,
    Ravi

    May be you can navigate to another page AFTER the response_complete() method and show the message that 'PDF is downloaded successfully'
    or something meanful message. so that it will get a response back from server and 'wait...Processing' message might disappear.
    I'm not sure and didnt try..may be you can give it a try and let us know..
    navigation->response_complete( ).
    navigation->goto_page(....)

  • Oracle 9iAS Application Server Download gives me page can't be displayed

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name: http://download.oracle.com/otn/nt/ias/9iAS/9iAS10222a/disk1_001.zip
    - Filename: Any file name from the page
    - Date/Time: 04/25/02
    - Browser + Version I tried with Internet Explorer 5.0
    - O/S + Version: Windows 2000
    - Error Msg: Page cannot be displayed
    I have been trying to access it for the last 2 days and nothing happen. Please advice
    The page cannot be displayed
    The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
    Please try the following:
    Click the Refresh button, or try again later.
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
    If your Network Administrator has enabled it, Microsoft Windows can examine your network and automatically discover network connection settings.
    If you would like Windows to try and discover them,
    click Detect Network Settings
    Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
    If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
    Click the Back button to try another link.
    Cannot find server or DNS Error
    Internet Explorer

    how is the status of application express in dba_registry?
    Did you do post installation steps like unlocking anonymous user and setting http port?

  • Call function module from BSP page

    Hi Experts,
    I am new to ABAP and BSP as well.
    I am creating an BSP page through which I want to call an function module in R/3 which will fetch a file from the application server and place into an internal table.
    I have identified the function module.
    My questions are:
    Since I am going to have an web interface where on a button click the file should be uploaded to the intrernal table.So how do I call the function module.
    Can I use JSP and ABAP together in an BSP page.
    Thanks
    Ankit

    Hello Ankit,
    Please check the following link:
    http://help.sap.com/saphelp_47x200/helpdata/en/bd/ac1e3a0088e042e10000000a11402f/frameset.htm
    I think it will answer all your queries.
    Regards,
    Siddhesh

  • Calling Z function module from BSP page

    hi,
      i am calling a z function module from BSP application ROS_SELF_REG ,The z function module is inside a z function group,It does not give any sytnax error..but while running BSP application ,it is going into dump saying that Z function module is not found..Any idea why this is happening???

    Hi,
    Check whether the Z function module is spelled correctly. Also try activating the whole function group and function module in se80 transaction.
    Check whether the BSP application is calling the Z FM from the correct server/client where it is available.
    Regards,
    Harish

  • File hung on download from iCloud (pages, keynote, mac, iOS)

    I've got two files, one in Pages and one in Keynote, that are hanging on the download from iCloud. No matter what device (mac, ipad, iphone) I use to view iCloud it shows the file partially downloaded and "updating." I can't select it and I can't delete it. Unfortunately, for both files, they're the only version of them I have. Other files come and go no problem.
    I've tried reseting iCloud on all devices, restarting, reinstalling apps… no change. Would love to know what could be done about this.

    Hi Weaverj,
    You may have more luck in the iWork for iOS forum. In OSX it is easy to store the file locally.
    quinn

  • Format problem while presentation server download.

    Hi,
    I am using 'GUI_DOWNLOAD' to download employee data on presentation server . I am getting a problem where all text is downloaded in single line in text file.
    I can see in debug mode that the output table has 2 lines .However, these are shown as single line in the download.
    Can anyone help me with this?
    Thanks in advance!
    Regards,
    Aleria

    Check parameter WRITE_LF and FILETYPE.
    Best Regards, Dirk

  • Call an Function Module from BSP page to import an CSV file to internal tab

    Hi Experts,
    I am working on creating a web application in BSP which will call the function module  ALSM_EXCEL_TO_INTERNAL_TABLE.
    This function module imports an excel file into an internal table.
    Since this is the first time I am working on BSP I am not sure how to call this FM from event handler tab in BSP page.
    What I could gather from previous posts is that we need to create an attribute which should take the value of the export parameter of the function module.But I am kind of messed up on this.
    Could u guys please help ,I would be extremely grateful.Points will be assigned for sure
    Thanking in anticipation
    Ankit

    Could you please let me know how I can call an abap function module from a transformation? (from abap xslt program). I know how we can call methods of a class from the transformations, but no idea how we can call function modules. Any suggestions or a sample code snippet towards this will be very useful for me.
    Thanks,
    Shashi.

  • How to call a Webdynpro view from BSP page (MVC) in a new window?

    Dear Experts,
    kindly advise how to call a webdynpro view from BSP application after performing an event (through button or hyper link).
    Regards,
    Sarat.

    Hi,
    This has been discussed many times in several forums.
    Please check the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL, to create a runtime url for your WD Application and call this URL.
    Refer thread: Call Webdynpro Application from BSP Application
    Hope this will be useful!
    Regards,
    Meganadhan S

  • OLAP object connected to BW from BSP page

    i All,
    Are there any objects OLAP for bsp ?
    I want to connect BW'cube  to my BSP application but not in static mode.
    Is-it possible ?
    Best regards,
    Thierry Chiret

    Hi Chairet,
    FM to change data in a BW cube from BSP? -
    > very helpful
    Calling BW reports from BSP
    look at this forum.
    cheers,
    Bhavana

  • Cannot download from apps page

    I have no success using Safari or Firefox when trying to download an app or a game from the Apple downloads page. I click the download button for whatever I wish to grab and all i get is a blank page with the file location in the address bar. I have had success downloading music and streaming movies/ videos on this computer and Apple downloads work on my older macbook so I doubt that it is anything network related.
    Anybody?
    Message was edited by: nashinal
    Message was edited by: nashinal

    The problem was a plug-in that a trial version of Speed Download left behind.

  • Print a dms document from BSP Page

    Hi,
    I need to send a DMS Document to the local printer directly with out opening it in SAP BSP.
    I was able to download it to Desktop. but requirement is to send it directly to the printer.
    Please help..
    Thanks..

    Hi,
    I need to send a DMS Document to the local printer directly with out opening it in SAP BSP.
    I was able to download it to Desktop. but requirement is to send it directly to the printer.
    Please help..
    Thanks..

Maybe you are looking for