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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

    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

  • What is the  difference between list display and grid display in alv report

    Hai genious
    i am a new of the abap, i dont know the alv report, i have a small doubt, can u please tell me  what is the main difference between list display and grid display in alv report
    thanks&regards
    chinnu

    Hi ,
    1. For all practical purposes, they are the same.
    2. Some differences:
    a) from abap coding point of view,
    alv list is done with Function modules,
    alv gris can also be done with FM,
    but can also be done using OO concepts.
    b) Alv grid (using oo concept) requires
    designing the screen layout .
    Hence, in one screen, we can show more
    then one alv grid
    (we cannot show more than
    one alv list on one screen)
    c) ALV grid uses ActiveX controls
    present on the Presentation Server.
    Hence, it consumes More Memory
    on the presentation server.
    d) ALV LIST is Display Only.
    Whereas
    ALV Grid Can Be made EDITABLE for entry purpose.
    e) In alv grid, these options are possible,
    but not in alv list.
    without horizontal lines
    without vertical lines
    without cell merging during sorts
    display total lines above the entries
    I hope it helps.
    Regards,
    Mamta
    Edited by: Mamta Verma on Nov 27, 2008 6:41 AM

  • 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

  • Data missing when Exporting or print preview from ALV report

    Hi
    I have a alv report which is showing fine but when i try to export it to say excel sheet or do print preview some of the data is missing. Can anyone tell me how to fix this. or at least point to some document that discuss this problem.
    Here is my ALV CODE
    *  CALL_ALV
    form call_alv.
    *  v_repid = sy-repid.
      perform build_field_catalog using field_tab[].
      perform build_eventtab      using events[].
      perform comment_build       using header_alv[].
      perform build_sorttab       using gt_sort[].
    *  perform build_layout.
    *  v_variant-variant = '/TEST3'.
    * Call ABAP List Viewer
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = v_repid
          i_callback_user_command = ''
          i_structure_name        = 'REC'
          it_fieldcat             = field_tab[]
          it_special_groups       = gt_sp_group[]
          it_sort                 = gt_sort[]
          i_save                  = v_save
          is_variant              = v_variant
          it_events               = events[]
    *      is_layout               = gd_layout
        tables
          t_outtab                 = REC
        exceptions
          program_error            = 1
          others                   = 2.
    endform.
    From my Catalog this data is missing
    * BUILD_FIELD_CATALOG
    form build_field_catalog USING pt_fieldcat type
                                   slis_t_fieldcat_alv.
      data:  ls_fieldcat type slis_fieldcat_alv.
      clear: fieldcat, pt_fieldcat[].
      ls_fieldcat-tabname        =                'REC'.
      ls_fieldcat-edit           =                ' '.
        ls_fieldcat-fieldname      =                'PERNR'.
        ls_fieldcat-seltext_s      =                'Employee #     '.
        ls_fieldcat-seltext_m      =                'Employee #           '.
        ls_fieldcat-seltext_l      =                'Employee #           '.
        ls_fieldcat-datatype       =                'C'.
        append ls_fieldcat to pt_fieldcat.
    There r coupole that's missing
    But there couple that show's up like this one
        ls_fieldcat-fieldname      =                'STIME'.
        ls_fieldcat-seltext_s      =                'ST   '.
        ls_fieldcat-seltext_m      =                'St Tm     '.
        ls_fieldcat-seltext_l      =                'Start Time          '.
        ls_fieldcat-datatype       =                'C'.
        append ls_fieldcat to pt_fieldcat.
        ls_fieldcat-fieldname      =                'ETIME'.
        ls_fieldcat-seltext_s      =                'ET      '.
        ls_fieldcat-seltext_m      =                'Et Tm           '.
        ls_fieldcat-seltext_l      =                'End Time             '.
        append ls_fieldcat to pt_fieldcat.
    I always reward points.
    Thanks

    hi Anwarul,
    Try the following code:
    *  CALL_ALV
    form call_alv.
    *  v_repid = sy-repid.
      perform build_field_catalog using field_tab[].
      perform build_eventtab      using events[].
      perform comment_build       using header_alv[].
      perform build_sorttab       using gt_sort[].
    *  perform build_layout.
    *  v_variant-variant = '/TEST3'.
    * Call ABAP List Viewer
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program      = v_repid
          i_callback_user_command = ''
          i_structure_name        = 'REC'
          it_fieldcat             = field_tab[]
          it_special_groups       = gt_sp_group[]
          it_sort                 = gt_sort[]
          i_save                  = v_save
          is_variant              = v_variant
          it_events               = events[]
    *      is_layout               = gd_layout
        tables
          t_outtab                 = REC
        exceptions
          program_error            = 1
          others                   = 2.
    endform.
    form build_field_catalog USING pt_fieldcat type
                                   slis_t_fieldcat_alv.
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    exporting
    I_PROGRAM_NAME  = sy-repid
    I_STRUCTURE_NAME = 'REC'
    changing
    CT_FIELDCAT          = pt_fieldcat.
    When you export to excel, the character fields and numeric columns gets re-arranged, but all the fields will be displayed in this case.
    hope this helps.

  • Select Options use in ALV Report in ABAP Webdynpro

    Hello Experts,
    I Already Done ALV Report In webdynpro with use of view Container UI element.But i do not know ALV  report with help of select option.so
    Kindly Give Me simple Example of Use in select Option In ALV.
    Reply ASAP.
    Regards,
    Ameya Karadkhedkar

    First you need to add the component WDR_SELECT_OPTIONS to the tab "Used components" of your Web Dynpro component and then also in the properties tab of your view. In the layout you need to create another view container and embed the view WND_SELECTION_SCREEN of the new used component to it.
    Then in the WDDOINIT method of your view you can write this code (where SEL_OPT is the given name for the used component) in order to set the select option (This example is a select option for a date):
    DATA: lo_cmp_usage           TYPE REF TO if_wd_component_usage,
          lo_interfacecontroller TYPE REF TO iwci_wdr_select_options,
          lo_r_helper_class      TYPE REF TO if_wd_select_options,
          rt_range_date          TYPE REF TO data.
    * Instantiate used component WDR_SELECT_OPTIONS (SEL_OPT)
    lo_cmp_usage = wd_this->wd_cpuse_sel_opt( ).
    IF lo_cmp_usage->has_active_component( ) IS INITIAL.
      lo_cmp_usage->create_component( ).
    ENDIF.
    * Call method in used controller
    lo_interfacecontroller = wd_this->wd_cpifc_sel_opt( ).
    lo_r_helper_class = lo_interfacecontroller->init_selection_screen( ).
    * Create select option for the date
    CALL METHOD lo_r_helper_class->create_range_table
      EXPORTING
        i_typename    = 'DATS'
      RECEIVING
        rt_range_table = rt_range_date.
    CALL METHOD lo_r_helper_class->add_selection_field
      EXPORTING
        i_id          = 'DATS'
        it_result     = rt_range_date
        i_read_only   = ABAP_FALSE.
    * Hide unnecessary buttons
    CALL METHOD lo_r_helper_class->set_global_options
      EXPORTING
        i_display_btn_cancel  = abap_false
        i_display_btn_check   = abap_false
        i_display_btn_reset   = abap_false
        i_display_btn_execute = abap_false.
    Finally you need to write the following code in the action of the button in order to fetch the range table selected by the user.
    DATA: lo_cmp_usage            TYPE REF TO if_wd_component_usage,
          lo_interfacecontroller  TYPE REF TO iwci_wdr_select_options,
          lo_r_helper_class       TYPE REF TO if_wd_select_options,
          rt_date                 TYPE REF TO data.
    FIELD-SYMBOLS: <fs_date> TYPE table.
    * Instantiate used component WDR_SELECT_OPTIONS (SEL_OPT)
    lo_cmp_usage = wd_this->wd_cpuse_sel_opt( ).
    IF lo_cmp_usage->has_active_component( ) IS INITIAL.
      lo_cmp_usage->create_component( ).
    ENDIF.
    * Call method in used controller
    lo_interfacecontroller = wd_this->wd_cpifc_sel_opt( ).
    lo_r_helper_class = lo_interfacecontroller->init_selection_screen( ).
    * get selected range of inspections date
    CALL METHOD lo_r_helper_class->get_range_table_of_sel_field
      EXPORTING
        i_id          = 'DATS'
      RECEIVING
        rt_range_table = rt_date.
    ASSIGN rt_date->* TO <fs_date>.
    Then you can use the value that is assigned to the field symbol <fs_date> to continue with your ALV.

  • How to get list header in ECC6.0 of ALV reports ?

    Hello i want to display header in ALV reports this the code what i am using..
    *ALV TOP-OF-PAGE DECLATRACTION
    DATA : W_LISTHEADER TYPE SLIS_LISTHEADER,
           T_LISTHEADER TYPE SLIS_T_LISTHEADER.
    **PUPULATING TOP-OF-PAGE.
      w_LISTHEADER-TYP = 'H'.
      W_LISTHEADER-INFO = 'Report for Sales'.
      APPEND W_LISTHEADER TO T_LISTHEADER.
      CLEAR W_LISTHEADER.
    It is working fine in SAP4.7 version but in ECC6.0 it is not working where i have to do changes..
    Thks

    Hi,
    Try the top-of-page by using events, like
    Data Declaration
    TYPE-POOLS: slis.
    TABLES: mara.
    TYPES: BEGIN OF i_mara,
           matnr LIKE mara-matnr,
           mtart LIKE mara-mtart,
           meins LIKE mara-meins,
           groes LIKE mara-groes,
           volum LIKE mara-volum,
           END OF i_mara.
    DATA: it_mara TYPE STANDARD TABLE OF i_mara INITIAL SIZE 0.
    ALV Data Declaration
    DATA: fldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          i_events TYPE slis_t_event,
          w_events LIKE LINE OF i_events,
          i_repid TYPE sy-repid.
    DATA: i_comment TYPE slis_t_listheader,
          wa_comment TYPE slis_listheader.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM bld_fldcat.
      PERFORM call_events.
      PERFORM display_alv_report.
    *&      Form  CALL_EVENTS
          text
    FORM call_events.
    W_events-name = slis_ev_top_of_page.
    W_events-form = 'TOP-OF-PAGE'.
    append W_events  to i_events.
    clear W_events .
    ENDFORM.                    "CALL_EVENTS
    Build field catalog for ALV
    FORM bld_fldcat.
      fldcat-fieldname = 'MATNR'.
      fldcat-seltext_m = 'MATERIAL NUMBER'.
      fldcat-col_pos = 0.
      APPEND fldcat TO fldcat.
      CLEAR fldcat.
      fldcat-fieldname = 'MTART'.
      fldcat-seltext_m = 'MATERIAL TYPE'.
      fldcat-emphasize = 'C111'.
      APPEND fldcat TO fldcat.
      CLEAR fldcat.
      fldcat-fieldname = 'MEINS'.
      fldcat-seltext_m = 'UNIT OF MEASURE'.
      APPEND fldcat TO fldcat.
      CLEAR fldcat.
      fldcat-fieldname = 'GROES'.
      fldcat-seltext_m = 'SIZE'.
      APPEND fldcat TO fldcat.
      CLEAR fldcat.
      fldcat-fieldname = 'VOLUM'.
      fldcat-seltext_m = 'VOLUME'.
      APPEND fldcat TO fldcat.
      CLEAR fldcat.
    ENDFORM.                    "BLD_FLDCAT
    Display report using ALV List
    FORM display_alv_report.
      i_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
         i_callback_program             = I_REPID
         it_fieldcat                    = fldcat[]
         i_save                         = 'A'
         it_events                      = i_events
        TABLES
          t_outtab                       = it_mara
    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
    Retrieve data from MARA table and populate itab IT_MARA
    FORM data_retrieval.
      SELECT matnr mtart meins groes volum
      INTO TABLE it_mara FROM mara UP TO 50 ROWS.
    ENDFORM.                    "DATA_RETRIEVAL
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP-OF-PAGE.
      CLEAR i_comment[].
      wa_comment-typ = 'H'.
      wa_comment-info = 'TOP OF PAGE' .    "SY-PAGNO.
      APPEND wa_comment TO i_comment.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = i_comment.
    ENDFORM.                    "GENERATE_USERCOMMAND_FOOTER
    Regards,
    Chandu

  • List = Export items are disabled

    Hello,
    I have problem with SAP GUI ( I think this is problem with SAP GUI but maybe I am wrong ). When I try to export list :
    List => Export => Word processing ...
                                Spreadsheet ...
                                Local File ....
    All items in this menu are disable ( Word processing, Spreadsheet ....).
    Thanks and regards,
    Marian
    Edited by: Marian Kanev on Jan 4, 2010 3:09 PM

    Hi Marian,
    We are also facing the same issue.
    Could you please tell which role was missing or was inactive?
    Thanking you in anticipation.
    Regards,
    Sid

  • How to make optional fields in alv report

    Hello Experts,
                             Can anyone tell me how to do fields as optional in ALV report Output. My requirement is I want to display only few fields as default in my output and remaining fields will be added if needed by clicking the layout button.For clear example i have totally 10 fields in that fields i want to display only 5 fields and remaining 5 fields will be optional and when i click on layout button then i can add those 5 fields also. Can anyone tell me how to do this.
    Thanks,
    Vinod.

    Hi Vinod,
    As suggested by Eitan, kindly use the attribute NO_OUT = 'X' in field catalog for the appropriate column.  Based on that we can hide the fields.
         L_FIELDCAT-NO_OUT = 'X'.
    Also we can group the hidden fields in layout using SP_GROUP attribute in Field catalog as shown below. Based on that, we can separate the fields based on category/group.
         L_FIELDCAT-SP_GROUP = 'A'.
    Regards
    Rajkumar Narasimman

  • Excel option problem in ALV report output.

    Hi,
    In the output of the ALV report, if I click the Microsoft excel button, the following error is occured.
    "View cannot be switched: Product is not installed or integration is not active".
    We are using SAP GUI 7 and patch level 12.
    Please advice what shall be done to overcome this.

    Hi
    Try this.....
    Open Excel, go to Tool->Macros-->Security
    And you will see a window, Make sure that the two options at the bottom of the window are checked. Save all, close window and try again.
    And when excel asks about enable or not macros always select enable macros.
    Hope this helps.....

Maybe you are looking for

  • Error while doing PO

    Hello, Please find below error while creating a PO Check Quantity in Purchasing Unit is matching with that in PO. Message no. M8215 MMR base nit is EA and Purchasing unit also the same EA. Thanks & Regards Abhinay....

  • How to select an item from a dropdown menu using Enter key

    A website I frequently use opens with a dropdown menu. Using my former browser, I was able to select the an item from the dropdown list by hitting the first letter with my keyboard and then hitting Enter. (Think of entering an address and selecting T

  • How to crete data type from XSD

    Hi All, can anyone tell me ...how to create data type from agiven xsd. I need urgently.... thanks in advance....

  • Problem starting a scenario from Unix command line

    Hello all, many apologies if this is the wrong section of the forum, if it is and you could direct me to the right section I'd be grateful. If you're still reading and I am in the right section, I have a problem when using the startscen.sh script to

  • Configuration of third party billing and intercompany billing

    Hi, can u give me details of Third party billing and intercompany billing with full details.