Issue after downloading excel file: SYLK format

Hi experts,
I have downloaded an excel file through 'GUI_DOWNLOAD'.
When I open the file, I get a pop up message which says:
"Excel has detected that mg.xls is a SYLK file, but cannot load it. Either the file has error, or it is not a SYLK file format.
Click OK to try to open the file in a different format."
mg.xls is the excel file name.
When I click OK, the the file opens in a proper XLS format.
But I am not sure why is this pop up message coming.
Thanks,
Ajay.

Hi,
GUI_DOWNLOAD dows not download in excel format
Use following FM
call function 'MS_EXCEL_OLE_STANDARD_DAT'
exporting
file_name = p_file " path offile where u need to download
CREATE_PIVOT = 0
DATA_SHEET_NAME = ' '
PIVOT_SHEET_NAME = ' '
PASSWORD = ' '
PASSWORD_OPTION = 0
tables
PIVOT_FIELD_TAB =
data_tab = <dyn_table>  "internal table with data
*fieldnames = int_head "internal table with header
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.
Regards,
Prashant

Similar Messages

  • Importing Excel Files and Formatting Issues

    Good afternoon ladies and gentlemen. When in doubt, post in the forum! Anyway, I am using java via ODBC to connect to an excel file to extract some info from it, using SQL statements. Everything can be extracted without any problems, however, Excel keeps pi$$ing me off by changing the format of the cell data.
    Firstly, I highlight every cell in my Excel file and format it as "Text."
    Then I extract the cell info by using a ResultSet and getting a String (even for numeric data - ResultSet.getString(...))
    What is getting on my nerves is that not only does it not extract numeric values followed by a string, when it does extract numeric values, it is adding a ".0" after the value.
    For example, if the cell value is 123, it will return 123.0
    If the cell value is 123SHOE, it returns null
    Furthemore, when editing the Excel file, after having every cell formatted as "Text," if I enter a number, say, as a zipcode, 123450000, it brings up an error! But the very definition of "Text" states that "Text format cells are treated as text even when a number is in the cell."
    The moral of the story is, I want to convert all data in the Excel file to "Text" and when extracting data from the file, I need to be able to extract numbers, numbers followed by characters, and everything else.
    Any suggestions?
    Thanks much,
    Josh

    Hey Dr. Clap, quick question for ya. I was checking out the Apache POI you recommended. More specifically HSSF. I noticed in the documentation that "String cells cannot conatin numbers and numeric cells cannot contain strings." Unfortunately, this is not going to work well with my app as some of the primary keys (I use the term loosely) are Strings which contain numbers. My main problem is that my app wont recognize the Strings containing numbers, so it returns null, and Excel is chopping off the leading zeroes and is popping up with an error because numbers are in the String. However, as I stated before, Excel notes that text cells can contain numbers!
    FYI, I am using Pervasive SQL to extract a given list of users in a DB (which I dont want to connect to directly) and am saving that generated query (list of users) into a text file. I then open the text file in Excel which parses it correctly and assigns the cells the correct values. So I don't think I can format the cells as text because I am importing the file I generate. I love doing things ass backwards :) Another reason I am using Excel files is so anyone can use the software so long as they have an Excel file with the appropriate columns within the file.
    Thanks yet again and I'll keep searching.
    Josh

  • I need help. My ipad 2 was stuck in recovery mode. i tried to connect it to itunes and restore but after downloading the file and extracting the software there is a pop up message that says "the device is full" i dont know what to do. Its been 2 days now.

    I need help. My ipad 2 was stuck in recovery mode. i tried to connect it to itunes and restore but after downloading the file and extracting the software there is a pop up message that says "the device is full. Deleting files and emptying your recycle been will help you restore." how am i going to erase files if i can't open my ipad. i dont know what to do. Its been 2 days now. please help. thanks.

    yes i am sure. This are the exact words... "The iPad "iPad" could not be restored. The disk you are attempting to use is full. (Removing files and emptying the recycle bin will free up additional space". i tried some options, hard reset, redsnow, tinyumbrella but still it's stuck.

  • URL Link on downloaded Excel File

    Hi,
    I have got a requirement.
    For study and analysis purpose user download data on excel file from OCOD. Struture(Contents) of downloaded excel file is same as screen.
    But the problem is when user click on 'DETAIL' (which has URL link) he/she is directed to Live OCOD and asked for log in with ID and Password, even if
    user is logged in OCOD.
    What i want to do is.
    1) Download Excel file without any URL link.
    2) If 1) is not possible then do not want to have 'DETAIL' option of downloded file.
    3) Method for avoiding relog into OCOD.
    Thanks in Advance
    Yuj

    Yuj, within the application click on the Training and Support link in the upper right, then click on Add-On Applications, then click on Reports and Analysis for Excel Template. In order to take the webinar click on Browse Training, then click on Training Resources by Job, then click on All Users, then click on Using Mail Merge for Word and Reports and Analysis for Excel with Oracle CRM On Demand.

  • In SAP Webdynpro using ABAP,how to colour the downloaded excel file?

    Hi all Experts'
    I have downloaded the data from the webdynpro application into an excel file in the presentation server using a custom button in a layout of a view in the webdynpro component.
    Now the requirement is to colour the column heading names and the downloaded excel file should show the full column length.
    Could anybody help me on this how to do this two things.
    Thanks in advance.

    Hi,
    You can use this function GUI_EXEC.
    Let say you want to use winzip to zip the file then what you should do like this:
    use this command --> ' -min -a D:\WALCOTT.ZIP D:\MBARANG.TXT'
    D:\MBARANG.TXT --> path to the file you want to Zip
    D:\WALCOTT.ZIP --> result zip file
    The command above is depends on the software you use to zip.
    then
      DATA: cmdguiexec(150).
      cmdguiexec = cmd.
      CALL FUNCTION 'GUI_EXEC'
        EXPORTING
          command          = cmdguiexec.
    Hope this help you.
    Best Regards,
    Victor.

  • Download Excel file from  from a second server

    Hi,
    In our Java based web application (jsp pages) users need to download Excel files stored on a different server (business tier) than the first application server server that hosts only the presentation tier.
    For security reasons users don't access the second application server. From a technical point of view what's the best solution to answer this requirement ? The logic should be the following: the user clicks on a report name that is displayed on this browser, the request is sent to the first application server that will retrieve the report stored on a second server and will return it to the user.
    Thanks a lot.

    it's been a while since i've done ejb stuff, but i believe you can configure an ejb to "runas" a different user. so, you would configure an ejb on the accessible server to "runas" a user who has access to the secondary server.

  • When converting a PDF to an excel file, the format converts but none of the wording comes across

    When converting a PDF file to an excel file, the format converts but none of the wording comes across

    When converting a PDF file to an excel file, the format converts but none of the wording comes across

  • After downloading a file, the downloads window pops up, but is always empty. the downloaded files are not visible.

    After downloading a file, the Downloads window pops up but it is always empty. The files downloaded are not visible on this window. In order to access them, they must be sought out via windows explorer. Any ideas? Thanks.

    Be sure Options > Privacy > "Remember download history" is checked.
    *[https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel Options window-Privacy panel]
    If you want to retain download history, do not clear Download History when using Clear Recent History or "Clear history when Firefox closes" > Settings
    *[https://support.mozilla.com/en-US/kb/Clear%20Recent%20History Clear Recent History]
    *Clear history when Firefox closes: [https://support.mozilla.com/en-US/kb/Options%20window%20-%20Privacy%20panel Options window-Privacy panel]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • After downloading my file the word document is mostly gibberish.  Why? service used exportPDF

    After downloading my file the word document is mostly gibberish.  Why? Service used "exportPDF".

    Hi shelbyrn,
    The quality of a conversion really depends on the quality of the original PDF file. Please see Will Adobe ExportPDF convert both text and form... | Adobe Community.  Do you know what or how the PDF file was created?
    You may have better luck by disabling OCR as described in this document: How to disable Optical Character Recognition (O... | Adobe Community. (Note, however, that is  option isn't optimal if the PDF was created from a scanned document; you'd want OCR enabled to convert the image text in the PDF to editable text).
    Best,
    Sara

  • Filename of downloaded Excel file

    I frequently download Excel files from a website that seems for the most part windows centric. These excel files have an extension of .xls, I can double click them to open, but when opened they just have the file name of WORKSHEET. If I rename the file in the finder the same thing happens. If I try to open the file in numbers I get something like
    <table border="1">
    <!-- <tr><td colspan = "15" valign="middle" align="center">Date: 8/1/2008</td></tr>-->
    <!-- <tr><td colspan = "15" valign="middle" align="center">Investor's Business Daily Æ</td></tr> -->
    <tr><td colspan = "15" valign="middle" align="center">Investor's Business Daily 100</td></tr>
    <tr><td colspan = "15" valign="middle" align="center">Data as of 8/1/2008 market close</td></tr>
    Any idea? Now I have to open the file in excel, then do a save as, type in the file name (if I don't want WORKBOOK), then delete (or write over) the original file. What can I tell the website people?

    Hello ,
    In my procedure i am passing id and with the help of that id , ia am fetching values from the database.
    i have declared on clob type variable say v_insert where i am storing table structure(like worksheet) which i need on excel
    example
    v_insert := v_insert||'<tr>';
            v_insert := v_insert||'<td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td><b>Column1_Value</b></td> <td>abc</td>';
        v_insert := v_insert||'</tr>';then i am converting that clob into blob and storing the content into BLOB type variable say v_blob
    below is the code used for downloding the blob content.
    wpg_docload.download_file(v_blob);Thanks,
    Jitendra

  • I don't know why I can't open Photoshop in my computer after downloading the file?

    I don't know why I can't open Photoshop in my computer after downloading the file?

    Did Firefox create a new profile?
    *http://kb.mozillazine.org/Recovering_a_missing_profile
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Where are the Download Excel Files going?

    Safari 6 seems to download Excel files as requested from a web site but they do not appear anywhere in the Download Folder I have specified. The site successfully downloaded the files before I upgraded to Safari 6. I now have to switch to Firefox to download these files.  Where are they going?

    Erik Lommers (guest) wrote:
    : What happened to the files? Yesterday I tried to download the
    : different trunks of the ora805 file and suddenly everything
    : stops.
    : The ftp-server is there, but the whole linux directory is gone!
    : Does anyone have an explanation?
    : When will the files be available again?
    Point your browser to:
    http://www.oracle.com/products/trial/html/trial.html#oracle8
    null

  • After downloading a file Type RAR

    After downloading a file Type RAR,,I always get the message "Do you want to use RarGenie to open this file type??"
    How can I get rid of this message?
    <Subject Edited by Host>

    Thanks Hosts.
    (Tidied title)
    9:14 pm      Wednesday; April 8, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How to close the object after generation Excel file

    I have generated excel file. I save that file using "Save" button on dialog-box. After i go to menu navigation at that time i got javascript error.
    please give me the solution how to close objects after generating excel file.

    Hi,
    Pls don't forget to reward points and close the question if you find the answers useful.
    Eddy

  • Date formatting issue when sending excel file via mail

    hello People ,
    I am facing date issue .
    I have inetrnal format of date as yyyymmdd.
    I am converting it into  YYYY-MM-DD.
    CONCATENATE gs_output-end_date(4)
                        gs_output-end_date+4(2)
                        gs_output-end_date+6(2)
                        INTO lv_date_to SEPARATED BY gc_seperator. " gc_separator = '-'.
            gs_output-end_date = lv_date_to.
    I am writing this date and sending an excel file via MAIL . I get date result as MM/DD/YYYY always.
    Now if i pass in YYYY.MM.DD and used the same code where gc_separtor = '.'.
    I get output as YYYY.MM.DD.
    Can any one give me an idea why in format YYYY-MM-DD it is getting overwritten but for yyyy.mm.dd it gives me as yyyy.mm.dd?
    Regards,
    Abhi..
    Edited by: Thomas Zloch on Jul 11, 2011 2:30 PM - subject enhanced

    Thanks , Rohit ,
    I have change my date format in SU01 settings .
    It is now made to [ YYYY-MM-DD] but still '-' is replaced by MM/DD/YYYY.
    Also note that when i format in the following way
       CONCATENATE gs_output-rdadate(4)
                        gs_output-rdadate+4(2)
                        gs_output-rdadate+6(2)
                        INTO lv_rda_date.
    instead of
       CONCATENATE gs_output-rdadate(4)
                        gs_output-rdadate+4(2)
                        gs_output-rdadate+6(2)
                        INTO lv_rda_date sepearted by '-'.
    I get output as YYYYMMDD.
    Regards,
    Abhishek.

Maybe you are looking for

  • How do I adjust the print size of a photo?

    I created a collage in PSE 10 and took the photo to Ritz to have printed out in an 18" x 24" poster.  When the file was read into their computer for printing, the sizing came up as 18'1/2" x 24".  Printing the photo as is will cut 1/2" off of the col

  • Trying to build pacman ...

    ... but makepkg is struggling to download the source, even though I can easily do it via web browser. So, after extrating the source, and realising that I can now do: makepkg -e I then get: ==> Making package: pacman 4.2.0-6 (Sun 1 Feb 11:59:34 GMT 2

  • User Defined Mapping Problem

    Dear SDNs, I write a user defined mapping program under a namespace, and I want to use it in other namespaces by drag and drop instead of importing, is that possible?

  • Where Used for VIs and LabVIEW Project

    Is there a way in LabVIEW Project Manager to check the Where Used status on all the VIs at the same time? I am going through a project trying to weed out VIs that are not used in the project. I know I can check the "Find Callers" for each VI, but thi

  • Since Adobe Connect 9 hosted release missing filter date field in registration report tab

    Prior to the new version we use to do the below steps and get a Filter Reports option.  Now that option is missing.  Is there another way to pull this report?  Is this a bug and can be resolved?  Am I missing something? -Event Management -Shared Even