Export option in ALV report downloades first two columns blank

Hi ,
Before posting this query I searched the solution in SDN but I did't find the solution.
My problem is  After displaying report in ALV format ,if I press Export --> Local file --->spreadsheet ;  file will downloaded to excel sheet but first two columns(only heading no data ) will be blank  and next two columns with proper data.
I checked field catalog defination it seems to be ok,  any other mistake ?
Please suggest.
Narayan

Hi
It's the option you have in the path System->List->Save->Local file
I means it's the standard option to export an abap list into a local file, so you should try this path too and check if the resul it's the same
I think you should choose  Export --->spreadsheet: here before saving the file an excel document will be open
Max

Similar Messages

  • Menu options in ALV report

    Hi,
    Im not getting Menu options in ALV report output. Not even default menu options SYSTEM, HELP Its dispalying as <b>????????????????????????????????</b>. Can someone help me regarding this?
    Regards,
    amal

    Hi Amal,
                Check the screen number if you are using a seperate screen and Menu painter.
    Thanks and Regards,
    Sampath

  • Exporting data from ALV Report...

    Dear All,
    While I am exporting data from ALV report to any other Format (Excel, Txt, HTML) it only export the data of last column, but the heading is comming properly and also the column heading is displaying properly.
    So how to rectify it. (the report is Object Oriented).
    Regards,
    Dahrmesh

    Hi Davabap,
    Refer this sample program "BCALV_GRID_VERIFY" . I hope it is problem with structure mismatching.
    Otherwise can you paste your code ?
    Regards,
    Vicky
    PS: Award points if helpful

  • How to restrict 'Broadcast and Export' option of BW report through web.

    Helllo,
    Please anyone let me know, how NOT to give/allow "Broadcast and Export' option in BW report, when accessed through Web.
    Is there is any Auhtorization object which restrictes this option.

    Hi,
    Please check this, it may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/80/1a68b4e07211d2acb80000e829fbfe/frameset.htm
    Regards,
    Madhu

  • Count first two columns

    Hello,
    I have a count requirement that i havent been able to solve by searching sdn.  Maybe someone can help.
    I have a query built on a multiprovider that points to two basic cubes.  The basic cubes do not contain a count key figure.  The first two columns of my query are characteristics.  My requirement is to count the occurences of the combination of the first two column (characteristics).  I am looking for a way to do this in the query so i do not have to reload the cubes as they have large volumes of data.  All the suggestions i have been able to find on sdn seem to be only for counting a single characteristic.  Is there a way to count the combination of two?
    Regards,
    TMS

    Hi Create a count using the formula or calculated ket figure for the count unique id like client id for your infocube.
    so you will have a count for each row now. place this count object in your column.
    now select the two char or the group whatever you want a count in your row.
    select query properties and select the display tab and make sure the option - hide repeated key values is selected (normally by default it is selected). Then select each of the char in rows and in free char and set the option under display tab result rows - always suppress.
    Execute the query now. you will get the list of char and their count. sort the count by descending to get the most duplicate entries by their highest number on top in the count coulmn.
    you can also ignore the rows which donot have a duplicate i.e count more than 1 by creating a new condintion on the count key figure > 1 and restricting the condition  by only the group of char you have given in the column. so that you can also do a drill down by free char in your query and it will only show the duplicates group.
    Hope it helps.
    regards,
    Siva

  • How to keep first two columns constant

    Hi
    IF i move the scroll bar till end i should get first two Columns constant....
    I mean i want to set Freez to First two columns in my report
    how to du this?
    Regards
    Smith

    HI
    Can you try below for your firtst column while filling the field catalog.
    wa_fieldcat_alv-fix_column = 'X'.
    it works.
    Thanks!

  • When I convert my file to excel it cuts off the first two columns, is there a way to fix that??

    When I convert my file to excel it cuts off the first two columns, is there a way to fix that??

    Hey Diann,
    Please let me know whether you are using Adobe Reader or signed up at "https://cloud.acrobat.com/"
    If you are using Adobe Reader, then try converting the file online and vice-versa.
    Let me know.
    Regards,
    Anubha

  • Validating the first two columns of a excel file when importing?

    Hi everyone,
    I have an excel file in the presentation server which has to be uploaded into prog.First the user adds a additonal column in the excel file.
    For example the excel file is intially in this way,
    col1 col2 col3 col4 col5
    Now the user adds one more column 'colx' in the excel sheet and he will upload it into the prog.Before uploading programatically we have to validate that the first two columns of the excel file should be col1 colx(the newly added one).How can I do it?
    Any suggestions please?
    Thank you.

    Hi gopi,
    Thanks for the reply.
    I have one more problem.Now in the excel file I may have only 5 columns in the future it may have more than that.So the internal table which will hold the uploaded values from excel file should be dynamic.I can't declare the internal table with 5 or 6 columns like that.If the user adds some columns in the excel file and upload it,the internal table should hold these columns also.
    i hope u understood my requirement.Can u give me any ideas.If u have any sample code for this kind of requirement.
    Thank you.

  • Alv report headings in two lines

    Hi all,
    I have created an ALV report. Now the requirement is that the 60 odd columns should be divided into 3 parts.
    The first 20 colums come under a common heading above the column heading.
    21 to 40 come under another heading and so on.
    How can I give two lines of column headings.
    It should look like this.
    Project                 No of Enquiries                           Sales orders
                       col1     col2     col3.....                  col21   col22        col23...
    Please help.
    Regards,
    BP

    in the field catalog u will have an option to mention the row position.. check that..
    fc-fieldname = 'KUNRES'.
    fc-row_pos = '2'.            "<< this is what u needed..
    fc-seltext_s = 'Total'.
    fc-do_sum = 'X'.
    APPEND fc. CLEAR fc.
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
    i_interface_check = ' '
    i_callback_program = alv_repid
    i_callback_pf_status_set = 'SET_STATUS'
    i_callback_user_command = 'USER_COMMAND'
    is_layout = alv_layout
    it_fieldcat = fc[]             "<<<<<<<<<<<<fiedl catalog here..
    i_default = 'X'
    i_save = 'A'
    is_variant = alv_variant
    i_tabname_header = 'HEADER'
    i_tabname_item = 'LIST'
    is_keyinfo = alv_keyinfo
    is_print = alv_print
    TABLES
    t_outtab_header = header
    t_outtab_item = list.

  • Alv Report downloading problem

    Dear Experts,
                         I'm using one pushbutton for downloading the alv report,  into desktop
    1).  but in that file i need header information details also,
    2).  then my report contains 26 field but it is downloading upto some fields only,
    3).  then when my report contains null values for some columns that columns are not displaying in that file.
    share some sample codes,
    Thanks and Regards,
    Thirukumaran. R

    Hi,
    1. For header fields, you need to enable one of the field, so that it will recognige the first row as header.
    2. You should not consider only the field displayed at output, you should take all the values available in the internal table.
    3. First take the record type as STRING. Now CONCATENATE all the fields available in the internal table to this RECORD and append it to some internal table. Now pass this internal table to the GUI_DOWNLOAD function module.
    May be you can refer to the below code.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                  = p_file
          filetype                  = 'ASC'
          append                    = ' '
          write_field_separator     = ' '
          write_lf                  = 'X'
          confirm_overwrite         = 'X'
          ignore_cerr               = 'X'
          replacement               = '#'
          trunc_trailing_blanks_eol = 'X'
          write_lf_after_last_line  = 'X'
          show_transfer_status      = 'X'
        TABLES
          data_tab                  = lt_output_file
        EXCEPTIONS
          file_write_error          = 1
          no_batch                  = 2
          gui_refuse_filetransfer   = 3
          invalid_type              = 4
          no_authority              = 5
          unknown_error             = 6
          header_not_allowed        = 7
          separator_not_allowed     = 8
          filesize_not_allowed      = 9
          header_too_long           = 10
          dp_error_create           = 11
          dp_error_send             = 12
          dp_error_write            = 13
          unknown_dp_error          = 14
          access_denied             = 15
          dp_out_of_memory          = 16
          disk_full                 = 17
          dp_timeout                = 18
          file_not_found            = 19
          dataprovider_exception    = 20
          control_flush_error       = 21
          OTHERS                    = 22.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Note: May be you need to modify few parameters.....
    Regards,
    Santhosh.

  • "Select Layout" Option for ALV Report

    Hi All,
    I have developed a ALV report.
    In the output, on clicking the "Select Layout" button, a small window opens with some layout option/variant say "ZSLEB".
    When i choose this layout, the output changes and takes the form of the chosen layout i.e. ZSLEB.
    Now, on refresh, the alv output doesnt display this new layout, but goes back to the default layout/variant.
    Actually, i am not passing anythin to the IS_Variant parameter in the ALV_GRID_Display FM.
    I suppose i need to somehow manage to fetch the "ZSLEB" layout value during refresh and pass it to Is_Variant. Please help me in doing this.
    Thanks & Regards,
    Tejas Savla

    Hi
    On refresh ,
                       Call ths below code.
    s_variant-report = sy-repid.( Your report name ).
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
        is_variant                 = s_variant
      I_TABNAME_HEADER           =
      I_TABNAME_ITEM             =
      IT_DEFAULT_FIELDCAT        =
      I_SAVE                     = ' '
      I_DISPLAY_VIA_GRID         = ' '
       IMPORTING
      E_EXIT                     =
        es_variant                 = s_variant
       EXCEPTIONS
         not_found                 = 1
         program_error             = 2
         OTHERS                    = 3
    Can pass this to IS_VARIANT while calling for REUSE_ALV_ DISPLAY
    Please reward if useful.

  • Alv report downloading

    Dear Experts,
                         I'm using one push button in alv report, for downloading., the report, when i click on that push button a popup should appear for saving that file.
    Thanks and Regards,
    Thirukumaran. R

    CASE lv_ucomm.
    WHEN '&DLOAD'. "Double Click line Item
      CALL METHOD cl_gui_frontend_services=>directory_browse
       EXPORTING
         window_title         = 'Select path for saving excel file'
         initial_folder       = 'c:\'
       CHANGING
         selected_folder      = filename.
    concatenate filename '\NEFT_Report.txt' INTO filename.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        filename                        = filename"'d:\test2.xls'"
       FILETYPE                        = 'DAT'
      APPEND                          = ' '
       WRITE_FIELD_SEPARATOR           = 'X'
         tables
        data_tab                        = it_final_1.

  • Reg: ALV report download to excel currency columns

    Hi All,
    While downloading the alv report to excel, currency fields with negative sign(less than 0) is downloading without negative sign.
    And field catalog wad declared as 'CURR' field for that particular column, if I declared as 'CHAR', i am getting shortdump.
    Can any one tell me how to get the negative sign.
    Thanks in advance.

    Hi,
    Do you use ALV to excel standard functionality or your own code to excel?
    Please provide more information.
    Thanks,

  • Alv report download

    hai to all,
    I am trying to download the alv report to excel file by using the push button which is availabe in APPLICATION TOOL BAR.
    But i not able to perform the same , i am getting empty excel file. What will be the problem, please tell me where iam missing.
    regards
    vijay.j

    hi ,
       do this way..
      go to system->List->save->local file  here select SPread sheet and give file name..
    Regards
    Ashok P

  • Choose for Selection option in ALV report

    Hi SAP experts,
    There is a requirement of using the functionality of Settings->Field for selection functionality in our ALV report.
    Please suggest some way to implement it. I am attaching the screenshot. This functionality i need to use in alv report. Thanks in advance
    Thanks & regards
    Pratham kapoor

    Hello,
    in an ALV-Report you could just use get_selinfos = 'X' in the layout-workarea.
    Check the docu on parameter IS_LAYOUT in REUSE_ALV_LIST_DISPLAY.
    Or you could use the fuction you wrote about and print these information at the TOP_OF_PAGE event.
    Regards Wolfgang

Maybe you are looking for

  • Clips are getting distorted after rendering a color grade; any solutions?

    I've been experiencing this problem as I've been learning to color grade.  Once I have all of my layers set the way I want them (initial correction, color alteration, masking, and sometimes adding a vinette) and I go to render, my clip will become co

  • Firefox is not warning when closing multiple tabs, even though it is set to warn me in preferences!

    Firefox is not warning when closing multiple tabs, even though it is set to warn me in preferences! Unchecking and rechecking the box does not help, it's as if Firefox is ignoring the option to warn when closing multiple tabs.

  • Error: Excel cannot complete this task with available resources

    Hello - I am encountering an error when refreshing an EvDRE report in SAP.  The error message is: Excel cannot complete this task with available resources.  Choose less data or close other applications. Other Info: We are running Office 2007. We have

  • Keeping an Imported Table up to date

    Hi Everyone, I'm reasonably new to SQL, and I'm hoping someone can help me. I have an Oracle data view that I've imported in to a database on my SQL Server 2012 server. I'd like to setup a way to ensure that the data remains accurate on the SQL Serve

  • On-Air advertising

    Hi all, I am seeking documentation showing how the module M/AM covers the process of selling advertising "On-Air". In particular, the sales order management and booking master data. Thanks