ALV GRID Export to Excel button Missing

HI All,
I am facing some problem with ALV GRID. When excuting the report with my user id I am able to see the 'Export to Local file' button in the ALV GRID where as if i am excuting with another user id which is having less authorisations than the button is greyed out.  I checked by giving all authorisation than we are able to see the button.
Could anyone please tell me which authorisation object we have to assign to see the buttons.
Thanks & Regards,
Murali.

Hi,
Before clicking on the Export to Excel button, start the debugging session by placing the command /H in the command prompt.
Now, put the break point at statement AUTHORITY-CHECK. Now it will trigger all the authorization objects relevant to this.
check the sy-subrc value gets failed.
Regards,
Santhosh.

Similar Messages

  • ALV grid export to Excel 2003-f.01

    Hi all,
    I have an issue with ALV grid export to excel 2003 ,when i tried to download with the option as local file > xls file ,the report downloads with page breaks which the user does not want , each break comeswith header .
    With the option of list>export>xml sheet - the report downloads with out page break but with no header information like the name of the report and reporting period .The tcode is f.01 and the system is ECC6.
    Can any one suggest  how to download the report with tiltle of the report with no page break ?
    Thanks
    ske

    Hi
    What happens if you use the export/local file option - does that help at all or can you change the layout? Haven't got access to your release to check.
    Cheers
    David
    Edited by: David Berry on Oct 28, 2010 9:38 PM

  • ALV Grid Exporting to Excel - Columns out of order

    Hi,
    In my ALV grid everything is in order as it is in the structure. When however I export to excel from ALV grid, the columns are out of order. First it lists the string columns, then number columns and lastly date columns. Is there a way to make excel keep the same order as it is in ALV grid?
    Thanks,
    Sergiy

    I am not much of an ABAPer but I was able to set the column position during data declaration with
    gs_fcat_line-col_pos = 1, for example.
    That would put the column in the first position in ALV as well as the excel export.
    Thanks for your inputs.
    Sergiy

  • ALV grid export to Excel

    I have created a dynamic table and it displays fine, problem is when I try to export, it is not exporting all the fields.  The columns all appear in the field catalog but I might have 24 columns and only 11 want to export.  Any one ever had this problem or can give me suggestions on what to do to fix this?

    To download specific columns, you can add a new button on output screen 'OUTPUT'. Disable standard Excel download functionality and code for this new button.
    If user clicks 'DOWNLOAD', download required columns in the excel file to a user specified location.
    You can display a po up to enter which columns user needs to download. You fieldcatalog will have field details. Get this into an internal table. Display a popup with these field names and checkboxes next to it. Whichever columns user need, he will select the same.
    Then you can code to get these details into the file.
    This is just an idea. You may have to work more after reading this and mapping to your requirement.
    Lisa,
    Hopefully this is helpful to you. Just to add a note here (as you are new to SDN), pls follow guidelines for awarding points to the helpful answers.
    Thanks
    ashish
    Message was edited by: Ashish Gundawar

  • Leading Zeros Missing - When exporting data from ALV grid display to Excel

    Hi,
    Am exporting the data from ALV GRID DISPLAY to Excel sheet using standard toolbar icon 'Local file'
    the leading zeros displayed in the ALV output is missing in the EXCEL sheet.
    (eg)  in ALV o/p - 0029. 
            in Excel - Only 29 is appearing.
    As per the requiement i have to show the leading zeros in excel also.
    Pls help on this issue.
    Thanks in advance..

    Hi ,
      Please set the property  :
      wa_fieldcat-lzero = 'X' .
    when you are creating field catalog for display alv data .
    your prob will solved .
    Regards ,
    Nilesh Jain

  • ALV grid - Autoexport to Excel

    Hi!
    I am creating a report using REUSE_ALV_GRID_DISPLAY. On the selection screen I have a check box. When it is checked I want the program to press the Export to Excel button for me so the ALV-grid is exported to Excel automaticly. Is that possible?
    Best regards,
    Patrick de Sarrazin

    Hi Patrick,
    do you want to download or display the ALV in Excel?
    If you whant to display it in Excel execute your Program,
    change in Excel and save the Layout.
    If your checkbox is set move your layout to VARIANT.
    and call the FM like this.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM       = PROGNAME
              I_CALLBACK_PF_STATUS_SET = 'MAIN'
                I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
                I_CALLBACK_TOP_OF_PAGE   = 'TOP_OF_PAGE_GRID'
                <b>IS_VARIANT               = VARIANT</b>
                IS_LAYOUT                = LAYOUT
                IT_FIELDCAT              = FIELDCAT
                IT_SORT                  = SORT
                IT_FILTER                = FILTER
                I_SAVE                   = 'A'
                IT_EVENTS                = EVENTS
                IT_EVENT_EXIT            = EVENT_EXIT
                IS_PRINT                 = PRINT
           TABLES
                T_OUTTAB                = ITAB
           EXCEPTIONS
                PROGRAM_ERROR            = 1
                OTHERS                   = 2.
    Regards, Dieter

  • ALV Grid output to Excel Spreadsheet

    I have one that is hopefully easy for you guys and when I search on the forum nothing comes up.
    Maybe I am searching wrong.
    When you have a program that outputs to an ALV grid, there is a button you can output to a file.
    Like an excel document. Icon is a document with an x on it.
    First time you run it, it will give you the option of excel, star office, or all available formats.
    There is also a button at the bottom that says Always Use Selected Format. User
    wants to change this, but once the option is gone, you cannot undo it.
    How do I basically deactivate the button to not always use the selected format???
    Any suggestions would be terrific.
    Thanks for your help.
    Steve

    Steve,
    Try running report SALV_BS_ADMIN_MAINTAIN as indicated in [Note 1080608|https://service.sap.com/sap/support/notes/1080608]. 
    I found this Note with the following search string: "Always Use Selected Format ALV Excel".  You may also want to consider doing a search on the report name "SALV_BS_ADMIN_MAINTAIN" for further information.
    Also check [Note 1157927|https://service.sap.com/sap/support/notes/1157927] "Export Excel: Reset export parameter from ALV list."
    Best Regards,
    Jamie
    Edited by: James Gaddis on Nov 19, 2008 2:47 PM  - Added another Note reference

  • Hi iam getting the alv grid data in excel format but iam facing one problem

    hi iam getting the alv grid data in excel format but iam facing one problem ,
    i.e., i want it read only  but iam getting it in edit mode i use layout default in excel iam getting in xl directly but in edit mode but i need it in read only mode
    what i have to do for that  and bdy knows reply me i need it urgently.

    there's always edit-mode if you choose excel-inplace - but noone can modify/rewrite the data
    A.

  • Save ALV grid to local excel-file in background

    Hi,
    i want to save a alv grid to an excel-file on a local fileshare using an background job..
    Does anybody know how this works?
    Thanks ahead

    DATA: file TYPE string VALUE `flights.dat`,
          wa   TYPE spfli.
    FIELD-SYMBOLS TYPE x.
    OPEN DATASET file FOR OUTPUT IN BINARY MODE.
    SELECT *
           FROM spfli
           INTO wa.
      ASSIGN wa TO CASTING.
      TRANSFER TO file.
    ENDSELECT.
    CLOSE DATASET file.
    <b>The binary data from database table SPFLI is transferred to a binary file flights.dat</b>

  • Remove export to excel button on an assignment block

    Hi
    I have a requirement to remove the "export to excel button" on an assignment block".
    I have coded the following in .htm
    <chtmlb:configTable xml              = "<%= lv_xml %>"
                          id                    = "BuilContactPerson"
                          navigationMode        = "BYPAGE"
                          onRowSelection        = "select"
                          table                 = "//BuilContactPerson/Table"
                          displayMode           = "<%= controller->view_group_context->is_view_in_display_mode( controller ). %>"
                          width                 = "100%"
                          headerVisible         = "FALSE"
                          hasLeadSelection      = "TRUE"
                          downloadToExcel       = "FALSE"
                          actions               = "<%= controller->gt_button %>"
                          selectionMode         = "<%= BuilContactPerson->SELECTION_MODE %>"
                          selectedRowIndexTable = "<%= BuilContactPerson->SELECTION_TAB %>"
                          selectedRowIndex      = "<%= BuilContactPerson->SELECTED_INDEX %>"
                          visibleFirstRow       = "<%= BuilContactPerson->visible_first_row_index %>"
                          usage                 = "ASSIGNMENTBLOCK"
                         />
    Though I have coded the downloadTo Excel to "FALSE" the button still appears.
    I think the button comes by default for an assignment and I am not sure how to restrict for assignment block.
    Can anyone please provide some pointers on this?
    Thanks
    Sushma

    H Sushma,
    Could you check with this SAP note 1288220 inorder to disbale the export to excel in the AB's.
    Regards,
    Venkat.

  • Add 'export to excel' button !!

    Hi All,
    i need to export my query output from bex analyzer to excel....so i need to add an 'export to excel' button....so that user can easily export it to excel....this option i can do in WAD....but in analyzer how to do it ?
    Regards,
    Ashutosh

    you can use the save button to save it as excel workbook

  • Pop Up to be displayed on Export to excel button click

    Dear All,
    I am using BW 3.5 web template for reporting. I have a requirement to display a pop-up window when user clicks on Export to excel button in web report. The pop up will be a confirmation message/disclaimer saying the data being sensitive.
    I need 2 buttons to be displayed on the pop-up, Ok and Cancel. If user clicks on Ok then data will be exported to excel as usual and if he clicks on Cancel then no action should be performed and pop up should be closed.
    Does anyone have implemented the scenario or can anyone guide me how to achieve this requirement.
    Regards,
    Niraj

    Not done this but you can use JavaScript confirm alert box
    Event 1.Upon pressing Export button to Open Alert Message
    2. Listen from Alert Message buttons OK or Cancel
    3.Trigger events based on user input.
    Google "JavaScript confirm alert box" you will get bunch of sample codes.

  • Facing problem while downloading ALV grid Output into Excel

    Hi Guys,
    I am facing problem while downloading ALV grid Output into Excel.
    It is downloading into excel, but all character columns first and next all quantity columns it is displaying. But I need columns order as it is in the grid.
    If I take all columns as characters it works fine. But it will be problem for calculating total, subtotals of quantity columns
    Can someone help me regarding this
    thanks for your help

    Hi,
    Open up Excel on your desktop. Goto Tools > Macro > Security.
    Make sure that your security is set to Medium (or less). SAP uses OLE automation to run the Excel instance and in Office 2003 (for example), Microsoft has increased their default security setting to High. With the High setting, the output to Excel fails.
    Was this your problem? Don't forget those points, either.
    check with this wetther it is solved or not.
    Regards,
    sana.

  • How can I call functionality of ALV Grid by event of button outside grid?

    Hello,
    How can I call functionality of ALV Grid by event of button located outside ALV Grid? For example how to fire printing of this ALV Grid by button click elsewhere on the screen (not in toolbar of ALV Grid).
    Best regards,
    Josef Motl

    hi Motl,
    these are steps to create a button in ALV and trigger an event from it..
    1.Use the parameter i_callback_pf_status_set in the function module REUSE_ALV_GRID_DISPLAY
    i_callback_program = gd_repid
    i_callback_pf_status_set = 'SET_PF_STATUS'
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'NEWALVSTATUS'.
    endform.
    You have to copy the standard ALV pf stauts to 'NEWALVSTATUS' and add your button.
    2.You have to do the following to process the new button click.
    i_callback_user_command = 'USER_COMMAND'
    form user_command using i_ucomm like sy-ucomm
    is_selfield type slis_selfield.
    case i_ucomm.
    3. to copy the standard pf status to a new one.go to the ALV screen and take the menu System -> Status.  Then look for the standard pf status. Copy this to Z range and then add your new button.
    reward points if helpful
    regards
    satesh

  • Exporting ALV Grid output to Excel sheet

    Hi All,
           How can i export the output displayed using Grid to an Excel sheet. I tried with default option from list->export->excel sheet/local file but i am not getting complete data and the data which i am getting also notin proper format. Please help me in this regard.
    Best Regards,
    Sunil

    Check out the ALV grid toolbar for export options.
    Regards
    Raja

Maybe you are looking for

  • Can an external disk be configured as "no execute?"

    ---> How can I configure OS X so that it does not attempt to execute the applications on my auxilliary backup disk? <----- I would like to be able to configure the backup disk so that when it is mounted it is available for backups and browsing, yet w

  • Is there a way to programmatically add datasources to multiple instance in a cluster?

    Hi, I am wondering whether it is possible to loop through the instances in a cluster and add the same datasource to each using the setMSSQL function from cfide.adminapi.datasource.cfc. We are running CF9.01 on Windows Server 2008 r2 (64 Bit). If you

  • Group Policy Request

    Group Policy is very individualized. However, I have discovered the following tips that have helped me well over the years:Never, Never edit the Default Domain and Default Domain Controller policies - this provides a way to fall back to the defaults.

  • Database Table and LDAP Authentication in the same repository?

    I'm wondering if it's possible to authenticate through database tables for some users and LDAP for other users. I can configure each one separately but I'm curious if anyone has ever successfully done both in the same repository. Thanks, -Matt

  • Two New Savings Programs for VMware Training

    VMware Education Services has released two new promotions for Q2 saving you money on our best-selling training: 1) Save 15% off vSphere V5.5 classes and get a free VCP exam voucher 2) Save 15% off our On Demand Classroom courses Learn more about thes