Issues to use GUI_LOAD to download xls file

Hi Guru's, we are using the fm GUI_DOWNLOAD for downloading xls files to the physical system.  We are facing  following issues.
1. File contains the currency fields. When downloaded the file to desktop or any location  after decimal zero's are not printing in currency field.
how to get zero's after decimals in the currency fields. Please let us know the solution if any.
2. If we click the open option under file tab on the opened xls file which is downloaded from SAP then one wizard popup is coming and prompting the user to click the 'FINISH' button.
Please let me know how to avoid this wizard popup.
Thanks in advance.
Regards,
j.p

Myself

Similar Messages

  • How to get Header in Downloaded .xls file using  GUI_Download function

    How to get Header in Downloaded .xls file using  GUI_Download function ???
    How to use the the Header parameter available in GUI_Download function .

    HI,
    see this sample code..
    data : Begin of t_header occurs 0,
           name(30) type c,
           end of t_header.
    data : Begin of itab occurs 0,
           fld1 type char10,
           fld2 type char10,
           fld3 type char10,
           end   of itab.
    DATA: v_pass_path TYPE string.
    append itab.
    itab-fld1 = 'Hi'.
    itab-fld2 = 'hello'.
    itab-fld3 = 'welcome'.
    append itab.
    append itab.
    append itab.
    append itab.
    append itab.
    t_header-name = 'Field1'.
    append t_header.
    t_header-name = 'Field2'.
    append t_header.
    t_header-name = 'Field3'.
    append t_header.
      CALL FUNCTION 'GUI_FILE_SAVE_DIALOG'
        EXPORTING
          default_extension     = 'XLS'
        IMPORTING
          fullpath              = v_pass_path.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                        = v_pass_path
          filetype                        = 'DBF'
        TABLES
          data_tab                        = itab
          FIELDNAMES                      = t_header
    Cheers,
    jose.

  • Download(xls) file fm ABAP using background job

    Hi,
    My request is how to download(xls) file fm ABAP using background job. ( Daily 3 times download )
    Pls advise...

    Hello Rajesh,
    Actually it is not the function module WRITE_DATASET but command OPEN DATASET. Check this link for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/content.htm
    Also for this please contact your ABAP collegues. It is their job and they should have the expertise.
    Regards.
    Ruchit.

  • "Unable to read file" error in Excel 2010 when downloading .xls file from IE11

    We have lots of reports that have links for our users to be able to download report results in Excel format. We accomplish this by using the Excel mime type in our .asp pages. Sporadically, we are seeing "Unable to read file" errors in Excel 2010
    after choosing Open from the IE11 save dialog. Choosing Save/Save As and the file will open just fine.
    Also, we can sometimes cause the error to occur more frequently by switching windows during the time when the file is downloading.
    If the file is opened directly from /Temporary Internet Files then it opens just fine.
    Window 7 64-bit
    Thanks in advance!

    Hi,
    I found you replied in a similar thread, did you try the workaround (Reset the IE) that provided there? Did you change a browser to test?
    Then, I suggest we use Process Monitor to do further troubleshooting. Please collect all the actions of IE.exe and Excel.exe, and check the if there are some
    error message/code during you open XLS file from IE 11.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Urgent: Issue with the size of an xls file generated from a rtf template

    Hi all,
    I have a template.rtf
    In BI, when I get the file in excel format and save it, the size of the report is 32 MB. When I just "save as" the same report, without changing anything, the size of the report is 8 MB.
    Do you know how to get directly the report with the size 8 MB or would you have some guidelines to avoid this issue.
    Thank you in advance,
    Sonia.

    Thank you Kurz for your answer. I'm going to try to be more precise.
    Actually I'm not in EBS. I generate the output (xls format) direclty from BIP.
    The DB of my application can't be requested directly, then I use HTTP request.
    From BIP, I launch the report choosing excel as output - the template is an rtf template.
    I have been requested to open or save the xls file that I save (32 MB).
    I open the excel file, save it again and the size of the file is now 8 MB.
    Regards,
    Sonia.

  • Problem downloading .xls file

    Hi All,
    Im getting problem when trying to export a spread sheet. Initially teh filename was hardcoded and so it was working fine in IE. The code then was
    response.setHeader("Content-disposition", "attachment; filename=Details.xls");     
    outStream.write(Results.toString().getBytes());
    outStream.close();
    later the reqmt changed to some new naming conventions for the file and so i modified the code like
    SimpleDateFormat formatter = new SimpleDateFormat ("MM/dd/yyyy HH:mm:ss");
    java.util.Date currentDate = new java.util.Date();
    String dateString = formatter.format(currentDate);
    String fileName = dateString+".xls";
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-disposition", "attachment; filename="+fileName);
    the problem im facing now is the in the pop up for download the file name is my servlet name appended with some unknown string which includes numbers and characters. the file type shown is html.If you click save open then a new html page is been displayed with all the values.
    Please help me with this issue.
    Thanks
    Noufal

    Thank you so much Shanu. Its working now. It was my carelesness or rather my ignorance which caused this prob.
    But Im still having a query, the excel sheet is having a [1] appended to the file name for ex 19-Jun-2006 06-46-05[1] and the client is not happy with that.
    What is the reason for that square bracket and is there any way we can cut that off? your help will be greatly appreciated.
    Thanks
    Noufal

  • Need to Add Field Name to the Downloaded XLS file

    Im using the function SAP_CONVERT_TO_TXT_FORMAT
    and downloading the contents by sending them as attachements in email.
    I need to add field names(column name) to excel fields.
    So that when fields are displayed in excel file they are displayed by their column names..
    How do I do this.? Any ideas.
    Answers will be rewarded with points..

    Hi
    You can manually insert the column names as the first row in your internal table to have them in .xls file as headers.
    Regards,
    Raj

  • Downloading xls file

    i want to download the .xls file into the application server they give me
    this path  :- /USER/REPORTS/MM
    i  hv used  "ws_download " function.
    but the errot  is that " Error in Downloading the file "
    plz this prob argently ?

    Hi,
    for that you have to use dataset.
      Refer this code.
    *-- Concatenate the file path retrived from the  function module
      with additonal directory 'mm/ptpi006/in/' and pass it to a
      variable.
      CONCATENATE lv_fname c_const INTO pv_input_file.
      CONCATENATE lv_fname c_const pv_flext INTO lv_file.
      lv_dsn = lv_file.
    *-- Open Dataset
      OPEN DATASET lv_dsn FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
    File not found
        MESSAGE e503.
      ELSE.
      Read each line from the dataset and append to an internal table.
        DO.
          IF sy-subrc NE 0.
    No records found in the file.
            MESSAGE e504.
          ENDIF.
    *-- Read dataset and pass it to an internal table.
          READ DATASET lv_dsn INTO lv_line.
          CLEAR wa_eord.
          wa_eord-matnr = lv_line+0(18).
          wa_eord-werks = lv_line+18(4).
          wa_eord-vdatu = lv_line+22(8).
          wa_eord-bdatu = lv_line+30(8).
          wa_eord-lifnr = lv_line+38(10).
          wa_eord-ekorg = lv_line+48(4).
          wa_eord-meins = lv_line+52(3).
          wa_eord-autet = lv_line+55(1).
          wa_eord-feskz = lv_line+56(1).
          IF NOT wa_eord IS INITIAL.
            APPEND wa_eord TO pr_eord.
          ENDIF.
        ENDDO.
    *-- Close Dataset .
        CLOSE DATASET lv_dsn.
      ENDIF.
    Regards,
    Prashant

  • Trying to download xls file with IE7 but browser tries to download as htm

    Hi!
    I have got a problem with downloading files using a hyperlink.
    I've got a hyperlink and i did set the url property to: /resources/file.xls
    when using IE7 and clicking Save As... the save as dialog appears and suggests file.htm as the filename and the file typ is shown as: HTML Document
    Firefox works fine, it suggests file.xls and the type as: Microsoft Office Excel 97-2003 Worksheet
    Next i typed in the url of the resource folder: http://localhost:29080/myProject/resources/
    The file was shown as file.xls in the directoy listing, but when i tried to download the file from here, both browsers behaved the same way as before.
    gif-files and others worked fine in both browsers.
    Does anyone have an idea?
    greets,
    Remi

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • Download .XLS-File in Background

    Hallo
    I should download data from an internal table into a real .XLS-file. It should run as a job in background (without upcoming pop-ups). At the end a real .xls-file should be saved on my harddisk and/or on a Windows NT-server.
    Excel and file don't need to be openend during runtime of job.
    I'm trying with FM 'MS_EXCEL_OLE_STANDARD_DAT' , but I have following problems (code of testreport is below):
    1. Doesn't run in the background.
    2. .xls-file stays open, when running in the foreground.
    3. Strange formatted fields in .xls-file.
    I have nearly no knowledges object-oriented development. System is R/3 Release 4.6C.
    Can anybody help me?
    Thanks, Martin.
    Code:
    REPORT yr_0001_test .
    TYPES: BEGIN OF t_excel,
           fld1(20) TYPE c,
           fld2(20) TYPE c,
           fld3(20) TYPE c,
           END OF t_excel.
    DATA: it001 TYPE TABLE OF t001.
    DATA: xt001 TYPE t001.
    DATA: iexcel TYPE TABLE OF t_excel.
    DATA: flditab TYPE TABLE OF t_excel.
    DATA: xexcel TYPE t_excel.
    xexcel-fld1 = 1000.
    xexcel-fld2 = 'testtext1'.
    xexcel-fld3 = 'testplace1'.
    APPEND xexcel TO iexcel.
    xexcel-fld1 = 2000.
    xexcel-fld2 = 'testtext2'.
    xexcel-fld3 = 'testplace2'.
    APPEND xexcel TO iexcel.
    xexcel-fld1 = 'BUKRS'.
    APPEND xexcel TO flditab.
    xexcel-fld1 = 'BUTXT'.
    APPEND xexcel TO flditab.
    xexcel-fld1 = 'ORT'.
    APPEND xexcel TO flditab.
    CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
      EXPORTING
        file_name                       = 'C:TEMPSAPWORKDIRTEST'
    *   CREATE_PIVOT                    = 0
        data_sheet_name                 = 'SHEET1'
    *   PIVOT_SHEET_NAME                = ' '
    *   PASSWORD                        = ' '
    *   PASSWORD_OPTION                 = 0
      TABLES
    *   PIVOT_FIELD_TAB                 =
        data_tab                        = iexcel
        fieldnames                      = flditab
      EXCEPTIONS
        FILE_NOT_EXIST                  = 1
        FILENAME_EXPECTED               = 2
        COMMUNICATION_ERROR             = 3
        OLE_OBJECT_METHOD_ERROR         = 4
        OLE_OBJECT_PROPERTY_ERROR       = 5
        INVALID_FILENAME                = 6
        INVALID_PIVOT_FIELDS            = 7
        DOWNLOAD_PROBLEM                = 8
        OTHERS                          = 9
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CLEAR: iexcel,flditab.
    REFRESH: iexcel,flditab.

    If you are downloading a true xls file, then you cannot avoid the pop-ups and you will not be able to create it in the background as the EXCEL interface is not available to the backend. Your only option is to download it as tab or comma delimited.
    Imagine it this way, excel is a user driven application that runs on the user's desktop and requires inputs from the user. The current mechanism of creating an excel file from SAP works on the same principle of user interaction. In the background, since there is no user interaction, it will not be possible.

  • How I use aria2 to download torrent files

    I was reading topics' titles, and then I saw this one:
    https://bbs.archlinux.org/viewtopic.php?id=154476
    At first, he wanted to use aria2, but then he switched to rtorrent. rtorrent is great, but It's not good for scripting, so I don't use it. aria2 is the best way to download torrent files, within command line. But how?
    I use this script, because sometimes aria2 stops downloading, but doesn't exit! It's not a big deal when you're near the computer, but when you go somewhere else, you can't check if it's downloading. So I wrote this little script:
    #! /bin/bash
    if [ ! -x /usr/bin/aria2c ]; then
    echo "aria2c is not installed"
    exit 1
    fi
    if [ ! -d ~/.torrentdl ]; then
    mkdir ~/.torrentdl
    fi
    while :; do
    for i in $@; do
    MAGNET=false
    if [[ "$i" = magnet* ]]; then
    MAGNET=true
    elif [ ! -f "$i" ]; then
    echo "The file ('$i') is not given or does not exist"
    exit 1
    fi
    if ! aria2c --hash-check-only=true "$i" &> /dev/null; then
    aria2c "$i"
    sleep 30m && kill -9 `pidof aria2c`
    else
    echo "Torrent is downloaded!"
    fi
    done
    done
    Simply, it starts downloading and restarts it every 30 minutes.
    There are some arguments that will help you with aria2:
    -S, --show-files[=true|false]:
    Print file listing of ".torrent", ".meta4" and ".metalink" file and exit.  In case of ".torrent" file, additional information (infohash, piece length, etc) is also printed.
    --hash-check-only[=true|false]:
    If true is given, after hash check using --check-integrity option, abort download whether or not download is complete.

    Maybe this belongs in the wiki, specifically the "Useful Tips and Tricks" section.  It is not vital to usage of aria2, but I am sure there are others that might find this useful, and the wiki seems like a much more logical place to go searching for something like this.

  • Downloading .xls file with multiple rows and Columns

    Hi ALL,
    I need to genarate .xls file with multiple rows and and Columns and sent as an email.Since our customer having Problem with .CSV files need to genarate .XLS file.
    Please do the needful.
    Thanks
    Madhu

    Hi Madhu,
    You might also consider using Excel Spreadsheet XML as the target structure (namespace is urn:schemas-microsoft-com:office:spreadsheet).  When you double-click the resulting xml on a PC it automatically opens with Excel. So, users don't see a difference.  It will open up a lot of options with formatting including creating multiple worksheets if you wanted to.  Best of all you can stick with XML.
    See my response in this thread:
    Re: Convert XML data into XLS 
    Thanks,
    -Russ

  • Weird..  New IMac when downloading XLS files changes the file type to XLT

    On my wife's IMac, when she downloads an excel file (attachment in an email) in the download folder the file name has been changed to XXX.xls.xlt. My desktop Mac does not do this.
    What's happening and what is the fix?
    Thanks for any direction.
    Joe

    You can try "Reset Download Actions": http://kb.mozillazine.org/File_types_and_download_actions
    You can also try to check the application/octet-stream key in the registry and the .zip key.
    HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/octet-stream
    HKEY_CLASSES_ROOT\.zip

  • Xcelsius XML Connection Issue when using a Crystal created XML file

    HI Xcelsius/Crystal Gurus,
    I am running Crystal Reports 2008 version 12.2.9.698 and Xcelsius 2008 5.3.0.0 Build 12,3,0,670,
    I am attempting to create an XML file from a Crystal report which will be consumed by an Xcelsius Dashboard.  Apparently, there is something with the file that Xcelsius does not like.
    I have formatted the report exactly as Xcelsius requires and exporting via text with an xml extension to create an .xml file.  When I add an XML Connection in Xcelsius and add the appropriate names/range, etc...I am able to see the file via the Preview XML button on the Connection, but when I use a component, I am not seeing the data in the component.
    I can 'recreate' the file in NotePad by manually typing in the entries to look exactly like the file created by Crystal and set up a connection in Xcelsius to consume that file and it works beautifully.
    Does anyone have any experience with using Crystal Reports to create an XML file (not using the XML Export, but by exporting as a Text and adding an extension)?
    Is it possible that Crystal is adding hidden characters or something?  I can pull this Crystal created file into an XML editor or MS Word and it is validated as a good XML File.
    Any help is greatly appreciated!

    This article is all about setting up security on the web service. But, I just want to connect to the web service as a client using the proxy and the web service doesn't have any security set on it at this time.
    I am getting a connection timeout, even when I set the syncMaxWaitTime in the domain.xml file on the app server to a higher number (although this doesn't seem to affect the time it takes for the debugger to return).

  • When I download .xls files they are always damaged I don't have this with Opara Has Anyone a solution ?

    I think this happende sinds Firefox 8.0 and now I use Firefox 10 but still have this problem
    I use windows 7.0

    Blookers,
    if those Web sites are using password validation techniques which are only supported by Internet Explorer, or which aren’t supported in Safari, then that could be one possible explanation. Try using the same browser (not the same executable) on both plaforms, e.g. Firefox or Opera, to see if it’s a browser-related issue or not.

Maybe you are looking for

  • IPod Touch 4G won't sync new apps on 2nd authorized computer, but WILL sync music, podcasts, etc.

    Hello. Everywhere I've read about apps not syncing to the iPod touch while using iTunes on a second authorized computer have mentioned that they could sync nothing to the device. Yet I have a different problem, one where I have no problem syncing new

  • Not sure if i have enough usage for iphone

    Hi, just bought an iphone 3gs - and im worried about it lol i decided to connect to 3 and use the lowest plan ($39cap) that doesn't have much internet bandwidth (150mb). Will 150mb of data be enough to safely use my iphone with out exceeding its usag

  • 6600GT with new cooler

    I have this card MSI NX6600GT-VTD128 Geforce 6600GT AGP, and have recently bought new cooler Zalman VF700. I connected everything and started windows, coolers works perfectly but when windows starts it still reports this: "To protect your hardware fr

  • Active desktop component

    My java applet does not display on WinXP desktop on setting it as active desktop component. I have set the .html file containing the applet as active component. Otherwise the browser shows the applet fine. please somebody help me.

  • Adobe Updater

    Hello, We currently have a big problem regarding Adobe Updater that comes with Adobe Acrobat 9.1, which relates to our network connection. When the adobe updater program runs on a computer with admin privileges, it tries to connect to akamai.mel.paci