Xls File format

I use SAP 6.0 and I am having difficulty with the downloading of excel reports.
Here is my issue.
I run a report in SAP and save it locally as a xls file.  This seems fine but the reality is the file is not a true xls file
When I go to open it using excel 2007 I get a warning error saying u201Cfile not in the expected format. u201C I click ok and the file opens and then I have to save it in xls or xlsx format and the file is fine. 
My issue is that I upload this file into a SQL Db and unless I go change the format of the file to a true xls file the upload does not work correctly. 
I have tried saving the file in several formats and loading it from a flat file but because of the formatting of the file I canu2019t do that (Repeated Header rows at each page break). 
Any suggestions?
Thanks

Sorta had a feeling that was going to be the answer.
I spoke with the IT Department and the guys who original developed the report and the format it used when ran in the background.
  They intentionally put the page footers and column headers in on each new page in excel.  THis was for printing.  They did say that for just a few hours of Re-billing back to or department they would be happy to remove that formatting.  Ugghhhh 
Well thanks for the help
oh yea, I would use and unformatted text file but because the column deliminator for each column is I (which is desireable) That is not true for the headers and footers. That deliminator is a tab.  Crazy Crazy stuff

Similar Messages

  • How convert pdf,xls file format into swf

    Hi friends
                   i am making a tool for wducation site and there i need to convert doc xls and pdf file in swf in runtime and show that in container with cropping and panning functionality.so i do it for doc file format but having no idea how to convert .pdf file format and .xls file format into swf.So please guide me how to do it.
    Thanks And Regards
        Vineet Osho

    QuickTime cannot do this of iteslf: you need to add Flip4Mac:
    http://www.telestream.net/flip4mac-wmv/overview.htm

  • Export to xls file format

    hi
    i have a comma separated txt file which i want to convert into Excel (.xls) file format.
    I have created the xls file using "\t" and "\n" characters.
    But the problem is that i want to do some text formatting also i.e. i want to make the Column Headers as Bold etc.
    Plz help
    thanks in advance

    I believe someone has written some code to do this for Java. I remember reading it a couple months ago. You should do a search through the Forums here to see if you can find where to get this code.

  • Export to Excel – XLS file formatting

    Hi,
    I have created process that exports report to XLS file. I write XLS file using XML tags, supported by Excel, which allow me to format each cell (especially look and data type). Unfortunately I can’t force Excel to see cell as date-cell.
    I’m getting from database date in YYYY-MM-DD format and I want the same in Excel. I can export it as string value, but I want Excel to see it as date – not string.
    This code works fine:
    <ss:Cell><ss:Data ss:Type="String">'||x.begin_date||'</ss:Data></ss:Cell>
    but Excel see the cell as a string.
    I want something like that:
    <ss:Cell><ss:Data ss:Type="Date">'||x.prnm_short_name||'</ss:Data></ss:Cell>
    but this one doesn’t work, as well as “DateTime” type.
    Do you know how to solve this problem?
    Regards,
    Przemek
    Edited by: Przemek on 2008-11-14 13:11

    Here is a sample of how you can create a procedure from an EXCEL file.
    1. create, format and save Excel file as an XML file
    2. edit file to add" htp.p(' " tags to begining of each line and "')';" tags to the end of the lines
    3. add standard header tags at start of file (see code below)
    4. add standard end tags at end of file (see code below)
    5. grant excute privileges as required
    6. test procedure: from browser (http://.../apex/owner.excel_rpt in this case; you do not need to use apex to do this
    - you might want to secure the procedure once you got it running by limiting it to run only from your app
    CREATE OR REPLACE PROCEDURE excel_rpt (fname VARCHAR2 DEFAULT 'excel_rpt.xls')
    IS
    -- query to get data; can be used in CURSOR LOOOP to fill in report
    CURSOR rpt_cur IS
    SELECT PROGNAME, user_name, priv, dept
    FROM test_data;
    BEGIN
    -- standard header to open file in EXCEL application -- REQUIRED
    owa_util.mime_header( nvl(NULL,'application/octet'), FALSE );
    htp.p('Content-Disposition: attachment; filename="' || fname || '"');
    owa_util.http_header_close;
    -- to get this, save your Excel file as XML, open in editor (I used Notepad++),
    -- prepend "htp.p(' to all the line", postpend "');" to all lines
    htp.p('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>');
    htp.p('<?mso-application progid="Word.Document"?> ');
    htp.p('<w:wordDocument
    xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
    xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:w10="urn:schemas-microsoft-com:office:word"
    xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
    xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
    xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
    xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2"
    xmlns:st1="urn:schemas-microsoft-com:office:smarttags"
    w:macrosPresent="no"
    w:embeddedObjPresent="no"
    w:ocxPresent="no"
    xml:space="preserve">');
    htp.p('<w:ignoreElements w:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/>');
    htp.p('<o:SmartTagType o:namespaceuri="urn:schemas-microsoft-com:office:smarttags" o:name="PlaceType"/>');
    -- : deleted FOR brevity
    htp.p('</wx:sect>');
    htp.p('</w:body>');
    htp.p('</w:wordDocument>');
    -- standard closing tags -- REQUIRED
    HTMLDB_APPLICATION.g_unrecoverable_error := TRUE;
    END excel_rpt;
    GRANT EXECUTE ON excel_rpt TO PUBLIC;

  • .xls file format - downloaded from Gmail, can't open in numbers

    I tried to open it using a 3rd party "conversion" program called icExcel.app which i found on the web. I saved the file as Appleworks 6 which is the file format the program offered which Numbers would open -- but it didn't work. Any experience? I don't know what version of .xls in office the file was saved in.

    Hi Ian Mcgrady,
    Welcome to Numbers Discussions.
    Is this file you're attempting to open a true MS Excel .XLS file? Or is it a Google web app? What message are you getting, what happens, are you attempting to open it over the web or off your desktop? The more information you can provide us the better someone will be able to assist you. I've been able to open XLS files without difficulty.
    Also, please be aware these discussion groups are users as yourself helping users.
    Again welcome to Numbers discussions.
    Sincerely,
    RicD

  • Any one know how to use "custom" option present under the data access tab in XLS file format of Data Services

    Hi Experts,
            Any one know how to use or what is the purpose of "custom" option present under the data access tab in Excel workbook file format of Data Services
    Thanks in Advance,
    Rajesh.

    Rajesh, what is the Custom Protocol you are trying to use? It should be  something like PSFTP, etc.,
    Cheers
    Ganesh Sampath

  • Problem of Delete and Overwrite XLS file on Application Server

    Hi Experts,
         I want to transfer file on application server using below code and try to delete after successfully transfer on application file to other location.
    I have problem during deleting file and overwrite file.
    DATA: G_S_FILE TYPE EPSFILNAM,
          G_S_DIR  TYPE EPSDIRNAM,
          G_T_FILE TYPE EPSFILNAM,
          G_T_DIR  TYPE EPSDIRNAM.
    DATA : DELFILE(60).
      G_S_FILE = '1400000051.XLS'.
      G_S_DIR  = '\\Dev\PO\'.
      G_T_FILE = '1400000051.XLS'.
      G_T_DIR  = '\\Dev\PO\bkup'.
      DELFILE = '\\Dev\PO\1400000051.XLS'.
      CALL METHOD CL_CTS_LANGUAGE_FILE_IO=>COPY_FILES_LOCAL
        EXPORTING
          IM_SOURCE_FILE           = G_S_FILE
          IM_SOURCE_DIRECTORY      = G_S_DIR
          IM_TARGET_FILE           = G_T_FILE
          IM_TARGET_DIRECTORY      = G_T_DIR
          IM_OVERWRITE_MODE        = 'S'
        EXCEPTIONS
          OPEN_INPUT_FILE_FAILED   = 1
          OPEN_OUTPUT_FILE_FAILED  = 2
          WRITE_BLOCK_FAILED       = 3
          READ_BLOCK_FAILED        = 4
          CLOSE_OUTPUT_FILE_FAILED = 5
          OTHERS                   = 6.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      OPEN DATASET DELFILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC = 0.
        DELETE DATASET DELFILE.
      ELSE.
        WRITE / 'File not found'.
      ENDIF.
    Thanks,
    Himanshu Patel.

    Write a Java program using Apache POI that reads in a tab delimited file and outputs an xls file (in what they call Horrible Spread Sheet Format. Create your tab delimited file and then run your Java program using appropriate OS commands.
    Jelena Perfiljeva wrote:
    In all honesty, I find it hard to believe other application can't accept any other format. It's actually seems rather unreasonable to expect an ERP system to create a file in an outdated format of a desktop software. Even Excel itself can open many formats, so this just doesn't make any sense.
    This.
    Unless you can explain exactly why the destination must be xls and no other format is acceptable, I'm going to close the thread. What is this third party tool? Why can it only read the obsolete xls file format.
    I'm going through this thread and rejecting all the responses that attempt a solution that isn't xls.
    I'm surprised that the OP thought that simply saving with an xls file extension would cause some magic to happen and produce an actual Excel file.

  • How do i open and inout an XLS file?

    How can I open and input info into an XLS file format?

    That is presumably a Microsoft Excel file, for which you need Microsoft Office. If you don't have that (and don't want to buy it) try Googling for OpenOffice, a free substitute.

  • Unable to save xls file from website in the "Microsoft Office Excel 97-2003 Worksheet" format. The browser is saving in unrecognized "File" Type

    The version I am using is 3.6.11
    The file is stored in the server in the format "Microsoft Office Excel 97-2003 Worksheet"
    But when I download it, it gets saved in the unrecognized format type "File"
    The servlet code written to download the file sets the content type to "application/vnd.ms-excel"
    I am able to save the file in Microsoft Office Excel 97-2003 Worksheet format using Internet Explorer Browser without any issues.
    But it does not work with the Mozilla Firefox. Any plug-in needed to make it work?

    Did you try to add the .xls file extension yourself to those files?

  • Xls and csv file format

    I have a xls file that I can read and modify using POI. Users are providing another file in csv format that the program should read and make adjustments to the xls already read in the memory. Can anyone suggest the most efficient way to implement this?

    Its possible but I don't see a real clean way of implementing it. There are also a lot cases to consider when doing the data merge.
    Lets say its the most simple case where the data from the csv should be appended to the excel file starting one row after the last row of data.
    For writing data to a HSSFSheet in POI you should look at the poi examples, there is a method that returns the last row num on the sheet, then from that you create new rows while incrementing the last row num for each csv record. Then for each column in the csv you need to create a new HSSFCell from the HSSFRow object in Poi, set its cell type to texta and sets its value to the csv value.
    Thats the main loop right there. As far as reading a text file as csv format so you can easily navigate it on a row by row and column by column basis I'm not sure whats out there to do that for you.
    Hope that helps! - Duncan

  • How to repair xls file? Microsoft Excel report me what file is not Excel format.

    I need help again(( i have .xls file that cannot be opened by Excel. It reports that this file is not excel format. Can i recover it?

    When an Excel file is corrupted, then you can try several methods to recover it:
    1. First of all, you can try to repair the file manually in Excel, as follows:
    (1) On the File menu, click Open.
    (2) In the Open dialog box, select the file you want to open, and click the arrow next to the Open button.
    (3) Click Open and Repair, and then choose which method you want to use to recover your workbook.
    You may find more information about this at:
    http://office.microsoft.com/en-us/excel-help/repairing-corrupted-files-in-excel-HA001034656.aspx (for Excel 2003)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010097017.aspx?CTT=1 (for Excel 2007)
    http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010342840.aspx?CTT=1 (for Excel 2010)
    http://office.microsoft.com/en-us/excel-help/repair-a-corrupted-workbook-HA102749554.aspx?CTT=1 (for Excel 2013)
    2. Second, since Excel 2003, it provides a "Document Recovery" mechanism so that when Excel is shutdown abnormally, the Excel file being edited will be recovered when Excel is launched next time, which makes the file recovery possible.
    See below:
    http://office.microsoft.com/en-us/excel-help/recover-your-office-files-HP010354299.aspx?CTT=1
    for more detailed information.
    3. If 1 and 2 does not work, then you may try third-party tools such as DataNumen Excel Repair at
    http://www.datanumen.com/excel-repair/
    It provides a free demo version so that you can try to see if the data you want can be recovered or not.
    Good luck!

  • Microsoft Excel reports me what xls file is not Excel format. Is there any way to fix this problem?

    How to repair xls file? Microsoft Excel reports me what file is not Excel format.

    To repair xls file you may tre demo version of Excel Repair Toolbox , but sometimes recovery
    function in Microsoft Excel are not helpful so in that cases you can use third-part tool for recovery bad tables. Install it from here: http://www.excel.repairtoolbox.com/

  • I am trying to open a xls file I am getting an error file format not supported

    I am trying to open xls file in number but I am getting an error file format not supported

    Hi Momomayet,
    Try dragging the Excel file to the Numbers icon on the dock.
    Or open from within Numbers (Menu > File > Open...)
    Regards,
    Ian.

  • To Download a file to XLS(default) format using KD_GET_FILENAME_ON_F4

    Hi,
    I want to download a file in XLS format.
    While using KD_GET_FILENAME_ON_F4 FM .
    When i get a pop up window ,i need the default filetype to be shown as XLS file type.

    I am declaring like this.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
             program_name        = syst-repid
             dynpro_number       = syst-dynnr
            FIELD_NAME          = 'rt'
            static              = 'X'
             mask                = ',.XLS,*.xls'
            CHANGING
              file_name           = lv_filepath
    EXCEPTIONS
       mask_too_long       = 1
       OTHERS              = 2.

  • Conversion of .csv file format to .xls format using java api

    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls file with all propertirs running.
    Thanks

    umangjain87 wrote:
    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls fileApache POI and jExcelApi are two libraries that can produce xls files.
    [A simple Google search|http://www.lmgtfy.com/?q=Java+Excel+library] could have told you as much.
    with all propertirs running.What does that mean.

Maybe you are looking for

  • How can i completley wipe my iTunes library and start over?

    I messed up my library and by mistake re-named many songs with one title.. also have many 2x or 3x songs.. my itunes is a mess! How can i completely erase all the songs and start with a new itunes (and then i'll download my past purchases and my file

  • Message cancellation

    Hi;    Please don't ask how this happened; it is something I would prefer to forget!!  We are on XI 3.0 and we have 5,432 XML messages in our DEV environment that are in the status "Scheduled for outbound processing" and should never be processed.  

  • Graph Colors

    Hi, solution for ur question: right click on ur Graph in graphic builder and select field templates->select colors only option from color rotation drop down list box.save ur graph and insert same graph in reports generate pdf file.u can get graph wit

  • Edge animate will not launch it says The procedure entry point GetGestureInfo

    edge animate will not launch it says The procedure entry point GetGestureInfo could not be located in the dynamic link library USER32.dll.

  • Saving in CS6 get's slow

    I'm working on a project, and experiencing that the save operation takes a lot of time. The project is containing quite many files, but still I wouldn't expect premiere to occupy 2-3 minutes each time it saves/auto-saves. It's very annoying. The save