Why in ALV report, menu List- Export- Spreadsheet,must save in local file

Hello everyone .
in FBL3N (GL line item) that is ALV report.
i want to export data to excel.
but when i go to menu List->Export-> Spreadsheet
system want to save file in local drive.
when i use menu List->Export-> Spreadsheet
it's should show data in excel , not save file to local drive.
please advice.

Hi,
Before savind into the system browse the location and rename the file for word format that means
After pressing spread sheet it show like this
Directory file:  
File Name:
Encoding:
In the File name it will shows the default file name and you have change that document file>
Eg:- It shows .xls and you want as word format change as  .doc
It shows .xls and you want as txt format change as  .txt
It shows .txt format and you want as excel format change as  ..xls
Hope this will understand
Regards,
Kanike

Similar Messages

  • Display report through List-export-spreadsheet

    Hi,
    I am outputting a report using REUSE_ALV_GRID_DISPLAY and my reports are outputting correctly.  And also when I download directly through excel also my reports are coming out correctly.  But the users wanted to download it through list-export-spreadsheet at that time, the fields like amount, quantity gets sorted into one group which I do not want.
    Is there a way for me to ungroup this and make it display in the format that it gets displayed on ALV.  Pls help
    thank you very much.

    ok

  • List- Export- Spreadsheet option disabled in ALV Report

    Hi,
    In one of the ALV Report the option List->Export->Spreadsheet option is disabled. How to enable that option?
    I am calling the REUSE_ALV_GRID_DISPLAY Function module with the following parameters
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program = w_repid
            it_fieldcat        = i_fieldtab[]
            is_layout          = ls_layout
            it_events          = i_events[]
            i_save             = 'A'
            is_variant         = i_variant
          TABLES
            t_outtab           = it_display
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
    This is the problem with only this report. So I believe it is not due to authorization.
    Regards,
    Anusha

    Hi Anusha,
    This link should help you. You just need to change the deep structure.
    [Export Option is Grayed out in ALV Grid Display;
    You already figured it out
    Edited by: sap_wiz on Jul 6, 2011 4:42 PM

  • Excel download for ALV Block report (List- export- spreadsheet)

    Dear friends,
    I want to download the output into Excel...
    I am using all SAP standards and using the ALV Block list
    Ex: List->export->local file..  is anable from here i can download to excell .....but the same there is anothere option : List->export->spreadsheet...( this one inactive.)
    I want to activate the  List->export->spreadsheet option.
    how to do this???
    Thanks,
    Sridhar.

    hi Sridhar,
    there is already an option to download in spreadsheet format when saving to local file...then why do you want to activate List->export->spreadsheet ????
    regards,
    madhu

  • ALV : How to activate List - Export - Spreadsheet

    Hi all,
    I have tried to search this forum n google regarding on the above problem but couldn't find any answer. Therefore, i have decided to post this question here.
    I have ALV report but somehow i couldn't Export -> spreadsheet directly. It was disable in my report.
    I can still export my spreadsheet via Local file.
    How do i enable the List-> Export -> Spreadsheet? Please help.....
    Thank you in advance.
    Regards,
    SW

    Hi,
    ALV grid has export option of Excel sheet.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = sy-repid
          it_fieldcat             = it_fieldcat
          i_save                  = 'A'
        TABLES
         t_outtab                = it_item
       EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Please check and pass posible paramters
    Regards

  • List Export Spreadsheet

    Hi,
    I am trying to export my alv grid output into excel by List > Export > Spreadsheet and selecting table option. All the date is being exported to excel good till here, but columns are changing their positions. When I look little bit close I found that all character columns are shown first and then dates, all quantities, currencies etc.
    I want the the output columns position same as alv grid output. Does anyone know of the solution? Your help is appriciated.
    Thank you,
    Surya.

    I tried the other options
    1st Option
    Tried to save to local file, selected spreadsheet > gave file name and path.
        This options giving me the same format(I want the same format, good) as alv grid. But first row, first column with date and in first row in the middle with text 'Dynamic List Display'. 2nd and 3rd rows are empty. our data starts at 4th row and 2nd column. user don't want this he wants to have minimal manual work.
    2nd Option:
         List > Export > Spreadsheet > selected table
         with this I got better results meaning data started 1st row, 1st column, but all the text or character columns are printed first and then date, quantity, amounts etc... here user wants to have same format as alv grid output. I trying to find a way of customizing the output.
    3rd Option:
          This option I tried is Micorsoft Excel View. here all the data displays in excel object in the middle of the report. output structure is same as alv grid output. user can do file > save as. But here also another problem. the problem here is that the file is saving with more than 10 tabs(sheets), and here user don't want these may tabs in the saved excel file.
    I hope this gave more good view of the issue I am looking at. Anybody come across this kind of situations please respond.
    Thank you,
    Surya

  • Download the output into Excel...(List- export- spreadsheet)

    Dear friends,
    I want to download the output into Excel...
    I am using all SAP standards and using the ALV Block list
    Ex: List->export->local file.. is anable from here i can download to excell .....but the same there is anothere option : List->export->spreadsheet...( this one inactive.)
    I want to activate the List->export->spreadsheet option.
    how to do this???
    Thanks,
    Sridhar.

    Hi
       Use the Function Module:
    EXCEL_OLE_STANDARD_DAT
    For your purpose.
    But by default you can get the option to download into several formats including your desired one.
    Regards,
    Sreeram

  • Excel download(List -- Export -- Spreadsheet) not working in GUI 710

    Dear All,
    My client is using SAP 4.7. Recently my client upgrade the SAP GUI from GUI 620 to GUI 710. Now we are unable to download any report output when we follow path  '* List --> Export --> Spreadsheet*'.
    When we click on List  --> Export --> Spreadsheet, system give a pop up screen 'Filter criteria, sorting, totals and subtotals are not taken into account', after that nothing coming. Its returning back to the report output.
    Your quick answer will be highly appriciated.
    Thanks,
    sp sahu

    Hi,
    you can download it from SAP Service Marketplace:
    https://service.sap.com/swdc
    Download
    Support Packages and Patches
    Support Packages and Patches - Entry by Application Group
    SAP Frontend Components
    SAP GUI FOR WINDOWS
    SAP GUI FOR WINDOWS 7.10 CORE
    Win32
    Here you can choose the needed SAPGUI Patch.
    I hope this helps.
    Regards
    Jozsef

  • Batch-input for exporting cost calculation to a local file (ecc 6.0)

    Hi,
    we had a batch-input to export some data in a local file (excel format) in SAP 4.5B.
    We recorded transaction CK11 for a material number, we got Itemization screen and then we recorded menu' option "List . Export . Local file / Spreadsheet). If the batch-input ran in foreground it would produce required outputs (some excel files).
    Now we are migrating from 4.5B version to Ecc6.0; we recorded same transaction (both ck11 and ck11n, to be more ), but at execution time the window for local file saving never is displayed and B.I. stops with error.
    One difference is that now data are collected into a container,  instead that in a write list ...

    Hi again,
    the data i look for is a result of calculation of different tables so for every single product, it is calculated. In standart CO reports, there is no such report that give me that detail.
    Finally i managed to call print OK code, but it was in the foreground processing mode, i cannot run it on backround processing..
    I know i misuse the LSMW, but i think LSMW may have such flexibility to use such reports, thanks to SAP.. it was an adhoc report i tried to combine, so writing a program may be much more time consuming.

  • List save as local file is greyed out

    Hi All,
    After the ECC upgrdation, Save as local file path is greyed out for certain t.codes like mmbe, mm60 etc ALV reports
    whereas it is okay with mb52, mm5b (normal report)
    Path to save as local file is  " System>LIST>Save---> Local file, office folders, report tree is greyed out
    Is this standard behaviour or a bug?
    Raj
    Edited by: Raj on Jul 9, 2010 2:27 PM

    You have Export option for MM60 report in ECC 6.0 in Menu List-Export-Local file and check.
    And for MMBe you will have to do some work to get this option. Go to MMBE and execute and in output screen there is a Print icon click beside this icon and you will get options call print preview of view click on it and it will show print preview from here you can go to list-save-local file
    Just check it once

  • Difference between 'SAVE as local file' &'Spread sheet' button in ALV grid

    Hi all,
    If I try to download the ALV report using Spreadsheet button the downloaded format is correct and working fine. But if i use save as local file button and then choose spreadsheet option from that, it is generating an excel file with a difference format. The rows are getting truncated in middle and a single line record is coming in 2 lines (rows). Anyone knws how to rectify this?

    In your REUSE_ALV_GRID_DISPLAY 
    EXPORTING
          I_SAVE                  = 'U'
    put this field....and then check it will definitely work...

  • Error in clicking save to local file button in alv grid?

    Hi
    I am getting error , While clicking on some buttons like save as local file button in alv grid display
    How to rectify it
    Thanks in advance

    In your REUSE_ALV_GRID_DISPLAY 
    EXPORTING
          I_SAVE                  = 'U'
    put this field....and then check it will definitely work...

  • Error in clicking save to local file button in alv grid? urgent

    >>>>>       if lr_tabledescr->applies_to_data( <coltab_any> ) eq 'X'. 
    exactly i am getting error here
    how to rectify this error
    Error in clicking save to local file button and mail receipt button in alv grid?

    In your REUSE_ALV_GRID_DISPLAY 
    EXPORTING
          I_SAVE                  = 'U'
    put this field....and then check it will definitely work...

  • How can I export a playlist (.m3u) to local file system?

    How can I export my playlits to the local file sytem, e.g. in .m3u format. In iTunes 11 it was a simple click on "export" and choosing a file name, done. The button "export" is missing in iTunes 12.

    File > Library > Export Playlist...
    tt2

  • Regarding ALV Report Otput List

    Dear Friends,
            I need to be edit the content of ALV output list,I am not using ABAP object oriented concepts. How can i perform this. Please suggest me to perform this, if possible please provide sample code on it.

    hi jotsona,
    try this code
    REPORT  ZDEMO_ALVGRID_EDIT                 .
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes
    thanks
    anurag
    Edited by: anurag srivastava on Dec 28, 2009 5:23 PM

Maybe you are looking for

  • How can I make a control inside a loop in a subVI change value when the calling VI's control changes?

    Hi. I think this is a pretty basic LV question, but I have not been able to find a good solution. I am attaching VIs that show the problem I am having, but obviously, the real application is a lot complicated, which forces me to try to do it this way

  • Satellite M110 - question on Screen resolution 1600 x 900

    Hi experts, hoping you can help me out. Just bought an external screen which needs 1600 x 900 screen resolution,.... trouble is my display settings don't have that option. If I "Hide modes that this monitor cannot display" I can only choose 800x600 o

  • Enhancement of CRM Interactive Reports

    I have read it somewhere that we can enhance the interactive reports with ZFIELDs. I just want to get an idea that in our scenario we have separate ZTABLE which has this ZFIELD so is it possible to enhance any interactive report with this field? P.S.

  • Adobe Muse Contact Form not sending submissions to my email

    I have been trying to troubleshoot this for a few days now and still no luck. This email in Muse is from my hosting site and everything so that's not the problem. Any help would be greatly appreciated. Thanks!

  • Constraint in Trigger

    I had written a trigger as given below. But somehow its not checking the condition i had set in the trigger. IF Q1 > Q2 THEN RAISE BAD; Trigger CREATE OR REPLACE TRIGGER "CM_RECIPE_ITEM_T3" BEFORE INSERT OR UPDATE ON "CM_RECIPE_ITEM" FOR EACH ROW DEC