Help needed: Download to excel without pop-up

Hi All,
In a particular scenario, I require to trigger an action once a file have been successfully downloaded to EXCEL from Webdynpro UI. But in case of download functionilty, once the MS window pop-up for download comes up, the control is lost from Webdynpro and its impossible to track whether user have saved, opened or canceled the file.
Is there any functionality to directly download internal table content to EXCEL, without facing the download popup. Please let me know any function module or functionality for this.
Thanks in advance to all.
Regards,
Mainak

yes there are many tutorials on SDN regarding this
u may procced like this :
get the contents in internal table  and then use the FM 'SCMS_STRING_TO_XSTRING'
DATA text   TYPE string.
  DATA xtext  TYPE xstring.
*   get all declared attributes
  lo_nd_sbook->get_static_attributes_table(
    IMPORTING
     table = lt_sbook ).
  LOOP AT lt_sbook INTO ls_sbook.
CONCATENATE text ls_sbook-carrid
ls_sbook-connid
ls_sbook-fldate
ls_sbook-bookid
ls_sbook-order_date
ls_sbook-counter
ls_sbook-passname
cl_abap_char_utilities=>newline INTO text SEPARATED BY
cl_abap_char_utilities=>horizontal_tab.
ENDLOOP.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
      EXPORTING
        text   = text
      IMPORTING
        buffer = xtext.
    wdr_task=>client_window->client->attach_file_to_response(
**path to the word file
i_filename = 'WDP.xls'
* String Variable
i_content =  xtext
* File Type
i_mime_type = 'EXCEL' ).
here it_sbook is the inernal table and ls_sbook is the structure type of the attributes declared in the context node sbook
  DATA ls_sbook TYPE wd_this->element_sbook.
*  data LT_SFLIGHT type WD_THIS->ELEMENTS_SFLIGHT.
  DATA lt_sbook TYPE wd_this->elements_sbook.
Edited by: amit saini on Oct 14, 2009 1:30 PM

Similar Messages

  • ASAP Help needed for iOS4 - Updating without syncing to iTunes

    Right, I'm currently unavailable to access the computer that I sync my iPhone with and cannot access it for the forseeable future as I'm going away from home for a while tomorrow. I need to know if I can sync my iPhone with a computer that is not my standard syncing one that has iOS4 downloaded on it without my iPhone syncing and losing all of my data - and if this is possible how to do it.
    Thanks
    Message was edited by: Wrigle

    You should be ok to update your phone on any pc or mac.
    When you update iTunes will back up your phone to that computer, and will update only the os.
    If you restore though you won't be able to sync your music, photos, podcasts, or apps but your contacts, email accounts and setting will be restored.

  • Help needed in Loading excel data to staging table from OAF Page

    Hi All,
    We have a requirement from the client on loading of a excel sheet data into staging table using OAF page.
    We were able to load a CSV file into staging table via OAF. The approach we used is we created a item of style 'messageFileUpload', which would pick the CSV file from desktop and we wrote the logic on the controller to place the file into server and then sumit a concurrent program to load the data into the staging table.
    But client wants data from the excel file to be loaded into staging table. Is there any way(approach) by which we can convert the excel file data into .CSV file using OAF?
    Any help or pointers on this will be highly apperciated.
    Thanks,
    Chethana

    Hi,
    Read through this :
    Need to upload a CSV/Excel to a table in OAF page
    Thanks,
    Gaurav

  • Help - Need download for 6.0.4 for Windows XP

    My 6.0.5 upgrade is not working properly and I need to go back to 6.0.4. My 30G video iPod lost over 1000 songs and many of the ones left stop playing prematurely. Everything was working fine until I upgraded. Where can I find the upgrade. Apple does have a site for the 6.0.4, but when you click to download, it automatically sends you to 6.0.5. Anyone else having this problem?? Thanks for any help. I just want to listen to my songs, podcasts, video, etc! I even sent my iPod in to Apple repair, and they returned it with a note saying that nothing was wrong with it. I guess they didn't try to listen to any music on it.
    Toshiba A105   Windows XP   Windows XP MCE

    You'll find older versions of iTunes here: Old iTunes for Windows

  • Major help needed downloading itunes!

    hello!
    well im new to using itunes, and when i try downloading iTunes, it does "rolling back action" and then says that iTunes need QuickTime. I have quicktime though. So Help? Please & thank in advance!

    when i try downloading iTunes, it does "rolling back action" and then says that iTunes need QuickTime.
    Are you selecting *Save As...* and then running itunessetup.exe or are you running the installer from the download screen?

  • Keyboard help needed for spreadsheet / excel files!

    When editing a spreadsheet / excel file, how do I keep the keyboard from switching back to numerical mode every time I press the space bar?  When entering text into a cell, I need the keyboard to stay locked in alpha mode.  I've tried both office hd and quick office, and in each one, every time I write a word and then press the space bar, it automatically goes back into the numerical keyboard mode.

    HI
    GOOD
    http://www.sapbrain.com/FunctionModules/fm_list.html
    THIS LINK CONTAINS THE SIMILAR REPORT AS PER YOUR REQUIREMNET.I HOPE THIS WILL HELP YOU TO KNOW DETAILS.
    THANKS
    MRUTYUN

  • Help needed in converting Excel from XML file

    Hi Can anyone help me in converting XML in to Excel.
    Thanx,
    Ananth.

    well, that still isn't much to go off of. I give it a try though.
    I guess you want to parse out the relevent data out of the xml file and then decide on your favorite delimated file format for Excel. Two popular formats are comma delimated:
    "info1","info2","info3","info4"
    and tab delimeted:
    info <tab> info2 <tab> info3 <tab> info4
    Excel should be able to unsestand either of these formats.

  • Help needed :How to Supress Standard pop-up messages in an ABAP program ???

    Hi All,
    A particular function module i use in my program gives pop ups with information messages when the program runs.  There is not returning parameter which throws this message.This is not desirable.  Is there a way to supress these pop ups?
    Regards,
    Venkat.

    try adding IN BACKGROUND TASK to the FM
    i want to give an example as well...
    see
    CALL FUNCTION 'POPUP_TO_INFORM' IN BACKGROUND TASK
      exporting
        titel         = '123123'
        txt1          = 'here'
        txt2          = 'there'.
    This FM actually show give an popup.. but it runs in bg mode so wont give an popup....
    hope this helps.
    Vinod,
    i dint see ur post before i posted..
    Edited by: Soumyaprakash Mishra on Dec 24, 2009 6:36 PM

  • Help needed with a messageDialog without button

    Hi
    This is probably a quite easy problem but I havn't been able to get it working so I thought I should try to get some help.
    I'm trying to create a message dialog that pops up in the center of a JFrame just like when calling showMessageDialog(...). The problem is that my messageDialog is not supposed to be a standard message dialog but one with just some text and a progress bar. It is supposed to be visible until some processing in another thread is finished.
    I thought about using a JDialog but it could always be closed by pressing the X in the upper corner.
    Is there any way to disable the X in the corner of a JDialog or could anybody tell me a better way of doing this?
    Best regards
    Henrik

    with 1.4 you can also set the dialog to "undecorated" meaning you can have a modal dialog w/o the titlebar. InstallAnywhere has a similar progress interface and I think it looks really sharp. You can set an etched border or something on it so it looks good. A progress dialog with no buttons but a titlebar would look a bit goofy I think.

  • Help needed to set up a POP account for mail on iPhone5

    My iPhone 4 email account works fine set up as POP. 
    On the 5 I can only set up a mail account as LMAP. 
    Any way to set up a POP account (bellsouth.net email)?

    If it's defaulting to IMAP but you want to use POP, this user tip might fix things for you: https://discussions.apple.com/docs/DOC-4294.

  • Need help to download csv file in application by writting to outputstream.

    HI All,
    Requirment of my client is donloading CSV file from portal.
    My approach  is:
    On clicking "Download" button in JSP I am calling an action in controller and from here I am redirecting call to DownloadCSV.jsp where i am writing to output stream of response.
    Action called in controller:
         @Jpf.Action(forwards = { @Jpf.Forward(name = StaticConstants.SUCCESS, redirect = true, path = "DownloadCSV.jsp") })
         public Forward gotoReports() {
              Forward forward = new Forward(StaticConstants.SUCCESS);
              return forward;
    Download jsp:
    response.resetBuffer();
         response.reset();
         response.setContentType("application/vnd.ms-excel");
         response.addHeader("Content-Disposition", "attachment;filename="+ companyId +"_Audit_Report.csv");
         ServletOutputStream os = response.getOutputStream();
              os .println();
              os .print("DATE");
              os .print("USER");
    os .println();
    os.flush();
    os.close();
    I am able to download the csv file in excel. But after that i am not able to perform any operation in portal page. Mouser pointer becomes busy and cant click on anything.
    Second approach followed:
    I wrote the code for writting to outputstream of outputresponse in controller action itself and forwarded to the same jsp where my download button resides.
    Problem:
    Download happens perfectly but the excel in csv format contains the portal framework generated content also other than content i wrote to response.
    If u have any other approach to download an excel without redirecting to JSP plz let me know. Coing is being done in 10.2 weblogic portal.
    Please help. Its very urgent.
    Plz let me know how a file can be downloded in portal context without keeping a file at server side. I need to download file by writting to outputstream.
    If it is possible plz attach one small example project also.
    Thanks a ton in advance.
    It is very important plz do reply.

    Hi Srinivas,
    For downloading binary content that is not text/html, the Oracle WebLogic Portal content management tools use javascript in an onclick event handler to set the window URL to the URL of a download pageflow controller: window.location = url. The content management tools are in a portal so it should be possible for you to do the same thing.
    The url is a custom pageflow controller that streams the bytes to the response. It sounds like you already have a pageflow you could recycle to use in that way. You don't want to stay within your portlet pageflow because then you will be streaming bytes into the middle of a portal response. You want a separate download pageflow that you invoke directly, outside of the portal framework (in other words, don't invoke it by rendering a portlet that invokes the pageflow).
    You can set the url to invoke the pageflow directly by giving the path to the pageflow controller from the web root (remember the pageflow path matches the package name of the pageflow controller class) like this: "/content/node/nodeSelected/download/DownloadContentController.jpf"
    By the way, for the case of text/html, the tools uses a standalone portlet URL so that the text/html is not rendered in the browser window, which would replace the portal markup (because the browser renders text/html by default, instead of giving you a download widget or opening some other application to deal with the bytes).

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • A friend wants me to put together on booklet that's been done in excel. I'm on a mac os 10. Do I need to download microsoft excel for mac or can I open the document through indesign?

    A friend wants me to put together on booklet that's been done in excel. I'm on a mac os 10. Do I need to download microsoft excel for mac or can I open the document through indesign?

    I second LibreOffice as it's the most recent fork, however NeoOffice and OpenOffice will also work.
    Just say No money to Redmond!
    Also the old Ready Set Go! will be having a Lion version out soon.
    It's a low cost page layout program (like Indesign but without the high price) and can make booklets etc better, import the excel grpahics from LibreOffice.
    http://www.diwan.com/ready/prsg.htm

  • HT1918 There is not a None billing payment button, and I'm wondering what to do I can't download anything free without it, can someone help?

    Does anybody know how to help me sort this problem?

    Welcome to the Apple Community.
    To be able to download free apps without a recognised method of payment or gift card.
    Open iTunes and navigate to the app store. Select a free app to download. A simple way to do this is to scroll down to the top free apps box on the right hand side, hover your mouse over the first item and click on the free button that appears when you hover over it.
    A pop up will open asking you to sign in with your Apple ID click "create new account", click continue to create your account. Check the box to accept the store terms and conditions and click continue.
    Enter your email address, password, security question, and date of birth, click continue. Now, you will be asked to provide a payment method. Note now that the last option says "none".

  • How can I stop auto download of attachments without tapping on them? Once I open a mail, the attachment automatically starts downloading, though it is written as "tap to download". Please help..

    How can I stop auto download of attachments without tapping on them? Once I open a mail, the attachment automatically starts downloading, though it is written as "tap to download". Please help..

    To the best of my knowledge, there is no way to prevent the automatic downloading of the SD version when you buy an HD show.
    You can, if you wish, suggest that the ability to prevent the SD version from downloading through the iTunes feedback page. But since the SD version is needed for use on iPods and there at least at present is no mechanism for someone to download the SD version at a later time should they decide they need it, Apple may just continue to force the downloading of both versions. If they get enough feedback on the issue, though, they may figure something out.
    Regards.

Maybe you are looking for

  • [Solved] Cinnamon desktop quirks

    Hey, I installed the cinnamon desktop, but I can only see my usb drive under the root acount, not under the my user account. I've looked in the wiki, but nothing.  I've got myself added to the groups, but nothing either. I also can't seem to shutdown

  • File save as command

    Hi is there a way to get acrobat to retrieve data from the first form input field and then use it in the file naming convention when using the "file save as" command. is there a javascript or something to do this? In other words, I have a savable for

  • I am trying to get sound drivers onto Windows 7 part of my Mac

    Ok, so I have my hardrive split up. Half Mac OS X, half Windows 7. The Windows 7 part, doesn't have the drivers I need. I can't use the same scroll techniques as on OS X or anything, but my main problem is the sound drivers. I CAN'T GET SOUND! GRR!!!

  • Partner for Woodword Product Add on

    Hi all! Could you give some information about partners provide Woodword product  Add on.. Thanks! Edited by: Paul Finneran on Oct 15, 2009 12:35 PM

  • Cannot reinstall windows 10 Technical preview after getting grey screen at start after refresh. Will not let format drive or install....

    I have an Acer 6320 UR-318 Which I had Win 10 loaded on. It came with a 128 GB SSD and 2 TB hard drive. I formatted my 2 TB hard drive and refreshed my system and now all I have is a grey screen and am unable to get to the BIOS. I turned off fast and