ALV in Microsoft Excel 2000

Hi.
I am trying to use ALV functionality in Web Dynpro ABAP. When downloading to excel I only see the xml data. Is it possible to use the ALV functionality with Microsoft Excel 2000? If not, is there anyway to use the framework by doing some modifications?
Thanks!
/Elvez

Hi Thomas,
thanks for the reply. OSS note 1064756 is already in the system. When I look at the code, via the debugger, it seems to follow the path for Excel 2000/97. In other words, SAP supports Excel 2000. Nevertheless, when I open the excelsheet it displays the xml data:
MIME-Version: 1.0
X-Document-Type: Worksheet
Content-Type: multipart/related; boundary="----=_NextPart_123"
------=_NextPart_123
Content-Location: file:///C:/xyzhtm
Content-Transfer-Encoding: text/html
Content-Type: text/html; charset="utf-8"
<html xmlns="http://www.w3.org/TR/REC-html40" xmlns:alv="http://www.sap.com/ALV/2.5" ...>
I tried to remove the part before the <html>-tag and then everything worked fine. Do you know if there is a way to remove the initial information before and after the <html>-tags?
Thanks!
/Elvez

Similar Messages

  • Developer to Microsoft Excel 2000

    Mister, I need to create an application that could transfer information from a form in Developer toward Microsoft Excel 2000, if somebody knows like favor say me.
    Greeting,
    Rsnald.

    Ok, then it's probably due to the total size of the data being output.
    55mb is a large amount of data - it is likely being generated in the temp database and/or ram, constructed into a csv format text stream and then opened in Excel. 3 instances - 165mb in total. So it could be an issue with the size of the temp database, the amount of available diskspace and/or the amount of available ram.
    One question though.... Are you trimming off any spaces at the end of each field? An average of 725 characters per cell is a lot of data - the only time I've had issues like this is when I'm retrieving data from another database and the fields were all char() fields and I'd forgotten to use trim().

  • Export to excel 2000

    I have a button to export the chart in my template to excel. It works fine on one machine that has Office 2003. But when I try to export it on a machine with Office 2000, it shows a blank spreadsheet. I tried using the Microsoft Excel 2000[xls2000] in the command export format but it doesn't work. Can't we export a 7.0 chart to older excel versions? What about csv? It did not work for me as well.

    Can any one verify if it's possible to export charts in a 7.0 template to excel 2000 or csv?

  • Not displaying the data in the ALV Microsoft Excel (Ctrl+Shift+F7)..

    Hi All,
    I can able to display the data through the FM REUSE_ALV_GRID_DISPLAY in the out put screen.When I click on the Microsoft Excel (CtrlShiftF7) at the ALV toolbar to view the same data in excel sheet it does open the excel sheet WITHOUT ANY DATA. Please help me how to make the data visible in the excel sheet.
    Can anyone help in this regard.
    Thanks & Regards,
    Seshadri G

    Hi,
    Check whether the tool bar export is disabled in the alv.
    check in the alv->set_table_for_first_display  FM the toolbar exclude export list.
    If that is ok, then try download manually by providing abutton and clicking it. You can download data manually in this way.
    refer the code below.
    DATA: lv_path      TYPE string,
            lv_fullpath  TYPE string,
            lc_c         TYPE string,
            v_fnam       TYPE string,
            lc_date(15)      TYPE c.
      TYPES: BEGIN OF ts_fieldnames,
                field_name(1000),
             END OF ts_fieldnames.
      lc_c =  'C:\'.
      WRITE sy-datum TO lc_date.
      DATA:lt_fieldnames TYPE STANDARD TABLE OF ts_fieldnames,
           ls_fieldnames TYPE ts_fieldnames,
           lt_fieldnames1 TYPE STANDARD TABLE OF ts_fieldnames,
           ls_fieldnames1 TYPE ts_fieldnames,
           lt_fieldnames2 TYPE STANDARD TABLE OF ts_fieldnames,
           ls_fieldnames2 TYPE ts_fieldnames,
           lt_fieldnames3 TYPE STANDARD TABLE OF ts_fieldnames,
           ls_fieldnames3 TYPE ts_fieldnames,
           lt_fieldnames5 TYPE STANDARD TABLE OF ts_fieldnames,
           ls_fieldnames5 TYPE ts_fieldnames.
      CONCATENATE 'ContractAccount'
                  'DocumentNumber'
                  'Reference/InvoiceDocumentNumber'
                  'ClearingDocumentNumber'
                  INTO ls_fieldnames-field_name SEPARATED BY
                  cl_abap_char_utilities=>horizontal_tab.
      APPEND ls_fieldnames TO lt_fieldnames.
      CONCATENATE '' ''
                  INTO ls_fieldnames5-field_name SEPARATED BY
                  cl_abap_char_utilities=>newline.
      APPEND ls_fieldnames5 TO lt_fieldnames5.
      DATA :    ls_str1 TYPE string,
                ls_str2 TYPE string.
      ls_str1 = 'Invoice Clearing Posting'.
      ls_str2 = 'Payment On Account Posting'.
      CONCATENATE ls_str1  ' :: ' lc_date INTO ls_fieldnames2-field_name.
      APPEND ls_fieldnames2 TO lt_fieldnames2.
      CONCATENATE ls_str2 ' :: ' lc_date INTO ls_fieldnames3-field_name.
      APPEND ls_fieldnames3 TO lt_fieldnames3.
      CONCATENATE 'ContractAccount'
                  'Reference/InvoiceDocumentNumber'
                  'PostOnAccountDocumentNumber'
                  INTO ls_fieldnames1-field_name SEPARATED BY
                  cl_abap_char_utilities=>horizontal_tab.
      APPEND ls_fieldnames1 TO lt_fieldnames1.
      CALL METHOD cl_gui_frontend_services=>file_save_dialog
        EXPORTING
          window_title      = 'Select file for download'
          default_extension = '.xls'
          default_file_name = lv_path
          initial_directory = lc_c
        CHANGING
          filename          = lv_path
          path              = lc_c
          fullpath          = lv_fullpath
        EXCEPTIONS
          cntl_error        = 1
          error_no_gui      = 2
          OTHERS            = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        v_fnam = lv_fullpath.
      ENDIF.
      IF v_fnam IS INITIAL.
        RETURN.
      ENDIF.
      IF i_finalclear[] IS NOT INITIAL.
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            filename              = v_fnam
            filetype              = 'DAT'
           HEADER                = header
            append                = 'X'
            write_field_separator = 'X'
          CHANGING
            data_tab              = lt_fieldnames2
          EXCEPTIONS
            OTHERS                = 8.
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            filename              = v_fnam
            filetype              = 'DAT'
           HEADER                = header
            append                = 'X'
            write_field_separator = 'X'
          CHANGING
            data_tab              = lt_fieldnames
          EXCEPTIONS
            OTHERS                = 8.
    REgards
    sheron

  • Microsoft Excel Icon in ALV Grid Report

    Hi all,
    We have a customized report. When we execute that reports, it open in ALV Grid format. When we choose "Microsoft Excel" Icon to change layout to Excel, it then shows the report in excel without any data.
    Can any one please tell me that why there is no data? should i need to do any settings in excel for this?
    Please respond.
    Best Regards,
    AI

    Hi,
    Refer these:
    Microsoft Excel Icon in ALV Grid Report
    Re: Not able display the Excel Icon in ALV List Display
    Hope it helps
    Regards
    Mansi

  • ALV Export to Microsoft Excel Question

    Hi All,
    I know this would be a basic question and I tried searching the forums and did not find any luck. I have implemented the standard ALV and the output is displayed in the table. The standard Export-->Export to Microsoft Excel does not work for me when I click on it. Should I need to enable / trigger this event to make this work?
    Also, Is there anyway that I show the Export to Microsoft Excel option directly in the standard ALV instead of clicking on the Export and then Export to Microsoft Excel?
    Thanks,
    Nagarajan.

    Hi Nagarajan,
    That is a satandard functionality no coding required. it will work.
    Your excel file containes any images??
    Try this...
    l_value                         TYPE REF TO cl_salv_wd_config_table.
    lr_filter  ?= l_value.
    lr_filter->set_export_allowed( abap_true ).
    OR
    If you want to cal excel by using your custom button please check this...blog
    Using WD ABAP ALV export - the hacked way
    also check this...
    Re: How to call manually Export to Excel event of ALV standar component
    Cheers,
    Kris.

  • Is BPC 7.0 Microsoft platform support Excel 2000 version /MS office 2000

    Hi All,
    Request you to confirm.
    weather BPC 7.0 Microsoft platform support Excel 2000 version /MS office 2000
    Thanks

    Hi,
    BPC 7.0 Micro Soft platform will not support Excel 2000, you please try to
    install Excel 2003, sure it works.
    Regards,
    B.S.RAGHU

  • Problem for Report Generation Toolkit for excel 2000

    Hi all,
    Now I am Developing my program with Report Generation Toolkit 1.1.0 and Labview 7.1.
    In my computer I am using Excel XP, and there is not any problem. But when I build to
    a exe file, and use in a computer with Excel 2000, it didn't work.
    And I try to check the source file in this computer, I found that there any some connection
    error. And this is caused by the active X class. As I know Excel 2000 is using Microsoft Excel
    Object Library 9.0, but i cannot find it in the list of active x. So it is using Microsoft Excel Object
    Library with a very old verison. So in the property node there are missing functions, such as the
    UsedRange in _Worksheet in the Excel_Get_Range.vi. However, In VBA, I can find the 9.0 Library.
    Is it the problem of 9.0 library? How can I solve the problem? How can I upgrade the library to 10.0?
    Thanks.
    Regard,
    Ryan

    Hi Mike,
    Since my program is for all the staff in office, everyone may use it.
    I cannot call the whole office to upgrade the excel to XP.
    And I think Report Generation Toolkit is alway support Excel 2000,
    since the old version of it is not support for Excel XP.
    Regard,
    Ryan

  • Alv report in excel view

    hi friends..
    now i am displaying the data in alv grid..
    my requirement is i want to display the data in excel format.. (not in seperate excel..)
    i want to display the excel sheet with data within the screen itself.
    for this
    i tried this scenario by fallowing steps
    in layout->view tab->microsoft excel..
    (layout button in the application toolbar i.e pf-status)
    it show excel sheet within report but no data with excel sheet.
    how can i get the data into that excel sheet.
    its very important..can you please tell me

    Selva,
    This is security setting issue in Excel.
    Open up MS Excel on your desktop...
    From the Excel menu bar, choose:  Tools > Macro >  Security...
    In the pop-up, change to the Security Level to Medium (or Low - if necessary).
    And don't forget points for helpful answers!!!

  • FM: REUSE_ALV_GRID_DISPLAY -- Microsoft Excel

    Hi All,
    ALV List displaying using FM REUSE_ALV_GRID_DISPLAY . In ALV List , Application Tool Bar have option 'Microsoft Excel (Ctrl + Shift + F7),using this we can see ALV list in Microsoft Ecxel'. From here if we select Back (F3) Button control goes to selection screen of called program instead of ALV List screen (0500).Please suggest the possible solution.I checked in debugging control goes to Function Group SLVC_FULLSCREEN --> Subroutine EXIT. Is there any SAP notes available to solve this problem.Please suggest.
    Thanks,
    Somi Reddy S

    Don't use F3 (Back), rather switch back to the list view: Views -> SAP List Viewer
    There might not be any notes because this is considered standard behaviour.
    Thomas

  • ALV Grid and Excel view

    Hi,
    I'm searching anywhere on this forum for a solution but up to now I did only partial progress.
    I've already seen dozens of sap notes about this problem.
    When I pressed "view in Microsoft Excel" (code &VEXCEL) on an ALV grid list, a popup appeared noticing that no template was found. Looking around on this forum I managed to discover how to load these templates from local (BC_ALVEXCEL_SAP_TEMPL, BCALV_BDS_MAINTENANCE) or from client 000 (BCALV_BDS_IMPORT_SAP_TEMPLATE).
    Anyway, I managed to restore the templates on the system, but excel view still doesn't work:
    wheh I press the button now I only see a blank screen in place of the excel; if excel was already open (not in sap), then an excel view is actually shown, but the sheet is empty, no data in it.
    Any hints?
    thank you

    Hi,
    Just open Excel, then Goto Menu -> Tools -> Options -> Security Tab -> Macro Security ->Set Medium and in Trusted publisher tab select the checkbox Trust Access to Visual Basic Project Now Press Ok.
    This will solve your problem.
    Regards
    Karthik D

  • No Create Adobe PDF button in Microsoft Word 2000

    Hi,
    I recently purchased and installed Adobe Acrobat Pro 9.0 and am working my way through Adobe Acrobat Classroom in a Book. I've learned there should be a "Create Adobe PDF" button in Microsoft Word (and Excel, etc.), but there are none in mine. If I use the Adobe PDF printer, an untagged PDF will result.
    I'm using Microsoft Word 2000; is that version too old to support the addition of a Create Adobe PDF button within the application? I've also recently installed Omnipage and buttons for that application installed in Word with no problems.
    Any help is appreciated.
    Thanks!

    Read this:
    http://blogs.adobe.com/pdfitmatters/2008/12/version_compatibility_of_acrob.html

  • 3 range parameter query to Oracle data base from Excel 2000

    A user bas been trying to setup parameter queries into an Oracle
    DB. He normally used MS query and written VBA code to
    modify the query for daily or adhoc updates.
    With Excel 2000, he wanted to take advantage of parameter
    queries linked directly to cells in a spreadsheet.
    He was able to get single or two level parameter queries
    directly linked to the spreadsheet to run, however every time he
    went to a
    three level parameter query it crashed while returning the data
    to Excel.
    The error windows read: Microsoft Excel [Oracle][ODBC] with no
    other details.
    Is there a limit on the number of "levels" for parameter
    queries.
    The user was able to build and see the results of a three level
    query in MS Query, but every time he tried to return the data to
    Excel, it crashed.
    Jeff

    This is an Microsoft Access problem. When you initally connect
    to an ODBC source database Access caches the connection and does
    not ask for connection information on subsequent linked table
    accesses. This causes a problem if you request information from
    tables belonging to different users during the same Access
    session. The way to avoid this error happening is to create a
    user with access privileges to both users being used by the
    Access front end. When you connect to Oracle use the new user
    and you should be able to connect to all the linked tables. It
    may also be worth copying the Access databases to one single
    database and trying the migration that way.
    Regards
    Daniel

  • ActiveX Save As function for Microsoft Excel 97- Excel 2003 & 5.0/95 Workbook (*.xls)

    Can someone show me how to use Active X - Save As function?
    I want to save it in  Microsoft Excel 97- Excel 2003 & 5.0/95 Workbook (*.xls)
    thanks in advance!
    Best regards,
    Krispiekream
    Solved!
    Go to Solution.

    Oh,
    I thought people stopped reading my other post so I posted another.
    sorry.
    but i found the solution
    FileFormat variant name integer code
    Microsoft Excel Workbook xlWorkbookNormal -4143
    Web Page xlHTML 44
    Template xlTemplate 17
    Text (Tab Delimited) xlCurrentPlatformText -4158
    Unicode Text xlUnicodeText 42
    Microsoft Excel 5.0/95 Workbook xlExcel5, xlExcel7 39
    Microsoft Excel 97-2000 & 5.0/95 Workbook xlExcel9795 43
    CSV (Comma Delimited) xlCSV 6
    Microsoft Excel 4.0 Worksheet xlExcel4 33
    Microsoft Excel 3.0 Worksheet xlExcel3 29
    Microsoft Excel 2.1 Worksheet xlExcel2 16
    Microsoft Excel 4.0 Workbook xlExcel4Workbook 35
    WK4 (1-2-3) xlWK4 38
    WK3, FM3 (1-2-3) xlWK3FM3 32
    WK3 (1-2-3) xlWK3FM3 15
    WK1, FMT (1-2-3) xlWK1FMT 30
    WK1, ALL (1-2-3) xlWK1ALL 31
    WK1 (1-2-3) xlWK1 5
    WKS (1-2-3) xlWKS 4
    WQ1 (Quattro Pro/DOS) xlWQ1 34
    DBF 4 (dBASE IV) xlDBF4 11
    DBF 3 (dBASE III) xlDBF3 8
    DBF 2 (dBASE II) xlDBF2 7
    Formatted Text (Space Delimited) xlTextPrinter 36
    Text (Macintosh) xlTextMac 19
    Text (MS-DOS) xlTextMSDOS 21
    CSV (Macintosh) xlCSVMac 22
    CSV (MS-DOS) xlCSVMSDOS 24
    DIF (Data Interchange Format) xlDIF 9
    SYLK (Symbolic Link) xlSYLK 2
    I know that its saving in the correct format. BUT I don't know why it wouldnt save 2 worksheets, but instead it only have 1.
    Best regards,
    Krispiekream

  • Error Opening Template in Excel 2000

    Hello,
    I am using BI Publisher version 10.1.3.3.1 with Excel 2000 SP-3. When I try to view a report in Excel 2000 and if the report contains a chart or a graph or even an image, I get the error message "Microsoft Excel has encountered a problem and needs to close...Please sorry for the inconvenience..".
    All the other formats like HTML,PDF,RTF are working fine" .
    Any ideas?
    Thanks
    rkingmdu

    I have found a workaround to this error. But the issue still persists.
    I cannot open a report with images or charts in Excel Template within BI Publisher.
    I have to export the HTML template using the export option to save it as a HTML file and open it in Excel, OUTSIDE of Publisher.
    Thanks
    rkingmdu

Maybe you are looking for