ALV Download to excel truncating fields

Hi,
When I use the ALV download button to download to excel, it is truncating the last character of customer number.
ie customer 20011790 is showing as 2001179.
Any ideas how to fix this.
Thanks.

Looks like Note 855314 has a workaround ... my be more.
Of course (yuk!), write you own download.
Best!
Jim

Similar Messages

  • How can I disenable the EXCEL field format when use ALV download to excel ?

    Dear friends,
         I have a problem with the ALV download to EXCEL. One field Value in ALV is like u2018-abcdeu2026u2019.the character u201C-u201Cis the first   position  in field value.when I download  the value to EXCEL,the field value u2018-abcdeu2026u2019 changed u2018=-abcdeu2026u2019 in EXCEL.how can I remove u2018=u2019 in EXCEL when I down to excel used ALV.
    I add a space in u2018  -abcdeu2026u2019,So this value can be download to Excel .
    Have you any solve method?
    User does not use excel logo button to download.
    User use Local fileu2026 button to download
    Thanks
    Sun

    add a single quote to the beginning of the field.
    like:  '-abcde
    in excel it will be shown as : -abcde

  • ALV download to excel inquiry

    Hi,
    I have a problem with regards to the ALV download to excel.  I have an ALV grid with 40 columns and i need to download the output to an excel file.  But after downloading the ALV output, i noticed that some columns are already on the next line. i need to have all columns to be in the same line.  Does anyone have an idea how to prevent columns to be printed in the next line?
    Thanks in advance!
    Kind regards,
    Merriam

    Looks like Note 855314 has a workaround ... my be more.
    Of course (yuk!), write you own download.
    Best!
    Jim

  • ALV download to excel problem

    Dear Gurus a problem in alv report downloading to excel:
    on executing the report works fine but when downloading to excel there last digit of bpvno is getting truncated.
    ex: actual bpvno:'4000010' but excel o/p shows as '400001'
    I have declared a field in final internal table as:
    data: bpvno as bseg-belnr,
    (in field catalog)
      fieldcatalog-fieldname   = 'BPVNO'.
      fieldcatalog-seltext_m   = 'BPV No.'.
      fieldcatalog-seltext_L   = 'BPV No.'.
      fieldcatalog-col_pos     = I1.
      fieldcatalog-emphasize   = 'X'.
      append fieldcatalog .
      clear  fieldcatalog.
      I1 = I1 + 1.
    but after specifying the  REF_TABLENAME & REF_FIELDNAME the downloaded excel o/p is correct.
    My questions is:
    1) i want to know what all are mandatory fields to be specified in fieldcatalog & is it compulsory to specify REF_TABLENAME & REF_FIELDNAME .
    if not complusory why the downloaded excel value is being truncated ???
    plz dont send materilas on alv and answer specific to the question....

    Hi,
    I wrote a small program, and for me it worked. My assumption about the seltext was wrong. And I also didn't use output lenght.
    Here is the code.
    REPORT  ZALVTOEXCEL                                                 .
    type-pools slis.
    data : gt_fcat type slis_t_fieldcat_alv.
    data fieldcatalog like line of gt_fcat.
    types : begin of t_belnr,
            bpvno like bseg-belnr.
    types end of   t_belnr.
    data gt_belnr type table of t_belnr.
    data gwa_belnr type t_belnr.
    gwa_belnr-bpvno = '4000010'.
    append gwa_belnr to gt_belnr.
    fieldcatalog-fieldname = 'BPVNO'.
    fieldcatalog-seltext_m = 'BPV No.'.
    fieldcatalog-seltext_L = 'BPV No.'.
    fieldcatalog-col_pos = 1.
    fieldcatalog-emphasize = 'X'.
    append fieldcatalog to gt_fcat.
    clear fieldcatalog.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       IT_FIELDCAT                        =  gt_fcat
        I_SAVE                            = 'A'
      TABLES
        t_outtab                          =  gt_belnr
    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.
    regards,
    Advait.

  • ALV download to EXCEL -- probs with SAPGUI 6.40 and EXCEL 2007

    I have a method in an ALV grid which performs a dowload to excel
    Here's the method
    method download_to_excel.
    field-symbols:
           <fs0> type standard table,
           <fs1> type standard table.
        assign g_outtab1->* to <fs0>.
        assign g_fldcat1->* to <fs1>.
           call function  'LVC_TRANSFER_TO_KKBLO'
          exporting
            it_fieldcat_lvc   = <fs1>
        is_layout_lvc     = m_cl_variant->ms_layout
             is_tech_complete  = ' '
          importing
            es_layout_kkblo   = ls_layout
            et_fieldcat_kkblo = lt_fieldcat.
        loop at lt_fieldcat into lt_fieldcat_wa.
          clear lt_fieldcat_wa-tech_complete.
          if lt_fieldcat_wa-tabname is initial.
            lt_fieldcat_wa-tabname = '1'.
            modify lt_fieldcat from lt_fieldcat_wa.
          endif.
          l_tabname = lt_fieldcat_wa-tabname.
        endloop.
        call function 'ALV_XXL_CALL'
             exporting
                  i_tabname           = l_tabname
                  is_layout           = ls_layout
                  it_fieldcat         = lt_fieldcat
                  i_title             = sy-title
             tables
                  it_outtab           = <fs0>
             exceptions
                  fatal_error         = 1
                  no_display_possible = 2
                  others              = 3.
        if  sy-subrc <> 0.
          message id sy-msgid type 'S' number sy-msgno
                 with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
    endmethod.
    Basically the method converts the GRID table I'm displaying into the format requred for FMOD ALV_XXL_CALL' -- the field catalog is slightly different but no big deal here.
    This works fine when downloading to  EXCEL 2003 but short dumps when trying to do the same thing for EXCEL 2007.
    Workstation is running Windows XP / SP2 build 2600 in both cases.
    Any fixes etc or should I stick with EXCEL 2003 until forced to upgrade.
    Cheers
    jimbo

    Hi all
    Seems the problem disappeared after applying the latest patch to SAP_GUI 6.40.
    I haven't tried SAP_GUI 7.0 yet.
    Thanks anyway
    Cheers
    jimbo

  • ALV  download to EXCEL  with column headings etc.

    Getting data from a grid to EXCEL can be done in "List" mode vis system==>save etc but it's not particularly user friendly and in any case if you are displaying a nice ALV why should the user have to switch into LIST mode anyway.
    Anyway here's a decent way to do it and it gives great formatted column headings etc etc.
    1) in the ON_TOOLBAR method add this code
    method ON_TOOLBAR.
    type-pools icon.
    CLEAR ls_toolbar.
    MOVE  0 TO ls_toolbar-butn_type.
        MOVE 'EXCEL' TO ls_toolbar-function.
        MOVE  space TO ls_toolbar-disabled.
        MOVE  icon_xxl TO ls_toolbar-icon.
        MOVE 'Excel' TO ls_toolbar-quickinfo.
        MOVE  'EXCEL' TO ls_toolbar-text.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    2) In the ON_USER_COMMAND method add the following
    (if you have a class defined with SE24 you don't need the commented code).
    method ON_USER_COMMAND.
           FOR EVENT before_user_command OF cl_gui_alv_grid
           IMPORTING
             e_ucomm
             sender.
    CASE e_ucomm.
         .......   other toolbar funcs if you have any
          WHEN 'EXCEL'.
            CALL METHOD me->download_to_excel.
        ENDCASE.
    endmethod.
    3) code this method to download to EXCEL
    method DOWNLOAD_TO_EXCEL.
    FIELD-SYMBOLS:
           <fs0> TYPE STANDARD TABLE,
           <fs1> TYPE STANDARD TABLE.
        ASSIGN g_outtab1->* TO <fs0>.
        ASSIGN g_fldcat1->* TO <fs1>.
           CALL FUNCTION  'LVC_TRANSFER_TO_KKBLO'
          EXPORTING
            it_fieldcat_lvc   = <fs1>
        is_layout_lvc     = m_cl_variant->ms_layout
             is_tech_complete  = ' '
          IMPORTING
            es_layout_kkblo   = ls_layout
            et_fieldcat_kkblo = lt_fieldcat.
        LOOP AT lt_fieldcat INTO lt_fieldcat_wa.
          CLEAR lt_fieldcat_wa-tech_complete.
          IF lt_fieldcat_wa-tabname IS INITIAL.
            lt_fieldcat_wa-tabname = '1'.
            MODIFY lt_fieldcat FROM lt_fieldcat_wa.
          ENDIF.
          l_tabname = lt_fieldcat_wa-tabname.
        ENDLOOP.
        CALL FUNCTION 'ALV_XXL_CALL'
             EXPORTING
                  i_tabname           = l_tabname
                  is_layout           = ls_layout
                  it_fieldcat         = lt_fieldcat
                  i_title             = sy-title
             TABLES
                  it_outtab           = <fs0>
             EXCEPTIONS
                  fatal_error         = 1
                  no_display_possible = 2
                  OTHERS              = 3.
        IF  sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    endmethod.
    You get nice column headings etc and decently formatted EXCEL spreadsheet.
    For Office 2007 I think you need to apply a SAP note but it certainly works with OFFICE 2003 which is what we are still using.
    Cheers
    jimbo

    Getting data from a grid to EXCEL can be done in "List" mode vis system==>save etc but it's not particularly user friendly and in any case if you are displaying a nice ALV why should the user have to switch into LIST mode anyway.
    Anyway here's a decent way to do it and it gives great formatted column headings etc etc.
    1) in the ON_TOOLBAR method add this code
    method ON_TOOLBAR.
    type-pools icon.
    CLEAR ls_toolbar.
    MOVE  0 TO ls_toolbar-butn_type.
        MOVE 'EXCEL' TO ls_toolbar-function.
        MOVE  space TO ls_toolbar-disabled.
        MOVE  icon_xxl TO ls_toolbar-icon.
        MOVE 'Excel' TO ls_toolbar-quickinfo.
        MOVE  'EXCEL' TO ls_toolbar-text.
        APPEND ls_toolbar TO e_object->mt_toolbar.
    2) In the ON_USER_COMMAND method add the following
    (if you have a class defined with SE24 you don't need the commented code).
    method ON_USER_COMMAND.
           FOR EVENT before_user_command OF cl_gui_alv_grid
           IMPORTING
             e_ucomm
             sender.
    CASE e_ucomm.
         .......   other toolbar funcs if you have any
          WHEN 'EXCEL'.
            CALL METHOD me->download_to_excel.
        ENDCASE.
    endmethod.
    3) code this method to download to EXCEL
    method DOWNLOAD_TO_EXCEL.
    FIELD-SYMBOLS:
           <fs0> TYPE STANDARD TABLE,
           <fs1> TYPE STANDARD TABLE.
        ASSIGN g_outtab1->* TO <fs0>.
        ASSIGN g_fldcat1->* TO <fs1>.
           CALL FUNCTION  'LVC_TRANSFER_TO_KKBLO'
          EXPORTING
            it_fieldcat_lvc   = <fs1>
        is_layout_lvc     = m_cl_variant->ms_layout
             is_tech_complete  = ' '
          IMPORTING
            es_layout_kkblo   = ls_layout
            et_fieldcat_kkblo = lt_fieldcat.
        LOOP AT lt_fieldcat INTO lt_fieldcat_wa.
          CLEAR lt_fieldcat_wa-tech_complete.
          IF lt_fieldcat_wa-tabname IS INITIAL.
            lt_fieldcat_wa-tabname = '1'.
            MODIFY lt_fieldcat FROM lt_fieldcat_wa.
          ENDIF.
          l_tabname = lt_fieldcat_wa-tabname.
        ENDLOOP.
        CALL FUNCTION 'ALV_XXL_CALL'
             EXPORTING
                  i_tabname           = l_tabname
                  is_layout           = ls_layout
                  it_fieldcat         = lt_fieldcat
                  i_title             = sy-title
             TABLES
                  it_outtab           = <fs0>
             EXCEPTIONS
                  fatal_error         = 1
                  no_display_possible = 2
                  OTHERS              = 3.
        IF  sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    endmethod.
    You get nice column headings etc and decently formatted EXCEL spreadsheet.
    For Office 2007 I think you need to apply a SAP note but it certainly works with OFFICE 2003 which is what we are still using.
    Cheers
    jimbo

  • ALV Download to Excel Column Colors Problem

    Hi Experts,
    I've encountered a problem in downloading records from ALV display to excel file.
    The file is downloaded SUCESSFULLY however. When I opened the downloaded file, some columns were filled up with color(yellow) and other fields are not.
    Do anyone have an idea why?

    I have 21 Columns columns. The first 16 columns are filled with yellow colors...

  • ALV downloaded to EXCEL -using standard button-how to modify the EXCEL ???

    hey guys,
      i have developed an ALV (with dynamic itnernal table,with HTML top of page,using FMs)
    Now ,i ahd problems with downlaod to excel(which i partly overcame by using &XXL fcode button instead of other 'donwload to excel button' )..
    now the data is downloading to excel fne..
    but i need to customise the EXCEL with HEADING (with bold letters in colour).. and also adding a line in ALV COLOUMN HEADINGS part of EXCEL...

    Hi,
    Kindly go through the below link to download a file in Excel format from ALV,
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/alv%252bgrid%252bdisplay%252bwith%252bcheckbox%252bto%252bprocess%252bselected%252brecords%252bat%252bruntime
    Note:  In the function module ->GUI_DOWNLOAD
    You have to give Field Separator as 'X'.
    Hope it helps You.
    Regards
    Mansi

  • ALV Download to Excel

    Hi Experts,
    Currently in my custom program I have an issue regarding downloading ALV to excel file where one of the fields in the report will output more than 400 characters which is in Chinese characters and this field already type to string. The problem is when i download it to excel only the 301 characters is only downloaded to the file.
    Addtnl information:
    The data in the output internal table is complete before going through the FM REUSE_ALV_GRID but when i tried to debug when downloading before it reaches to the GUI_DOWNLOAD it already has incomplete data so this means that this is not a problem for GUI_DOWNLOAD.
    Question:
    Is the problem a SAP ALV download limitation?
    Is there an available solution for this?
    Edited by: Ekitzv on Apr 8, 2011 6:21 AM

    First try to scroll down till the last page, then select all the column manually by putting curser and copy.
    This will solve your issue. i usually do in ths way
    Shayam

  • ALV / Download to Excel - columns transposed

    A developer on my team has this problem:
    We have a ALV report that gives the user the option to download to excel.
    The report has columns.
    A,B,C,D (for example)
    but when the user exports to excel ("List > Export > Spreadsheet > Table")
    they get
    A, <b>C, B</b>, D
    Dose anyone know why this happens? We have checked various sites and found OSS note 358644.
    Are we on the right track? Or is there an easy answer to this.
    Thanks in advance.

    Hi Kyle,
      I too faced the same problem lon back. But what we
      found is for currency, date and amount fields it is
      moving to last.
      You also checl the standard program BCALV_GRID_01.
      If you download you can see the same thing happens
      here also.
      Check in your case whether B is date, amout or numeric field.
    Thanks & Regards,
    Siri.
    Kindly award points if the answer is useful.

  • While downloading to Excel Currency field should Blank instead of 0.00

    Hi All,
    While downloading to excel from ALV report currency field is downloading as 0.00. My requirement is when the value is 0.00 it should download as blank.
    I tried by changing the data type to char but still have problem. Any idea how to fix it??
    Regards,
    Jitendra

    Hi Jitendra,
    Please paste your sample code to understand Clearly.
    Regards,
    Srikanth

  • Grid Download to Excel truncates leading zeros

    We are on tools 8.51. The download feature for a Grid now removes the leading zeros when the grid is downloaded to excel. Has anyone found a way to fix this issue ? Thanks in advance

    When you download from PS query, the output is created as a true binary xls file, but when you download from a grid in PT 8.51 the output file is html, even though the filename is ps.xls. You can open this file in a text editor.
    If you have all numeric data in a column, it will be stored as <td>nnnnnn</td> in the html file. if the column has mixed numeric and text data, it will be stored as <td>=&amp;quot;nnnnnn&amp;quot;</td>. The leading zeroes are still there in both cases, but when excel imports the first form it will convert the result to numeric, the second it will treat as text.
    Other than logging a case with Oracle, the only workaround I could think of would be to save the file to disk and run the macro directly against the html. Of course, this would likely be a major redesign.
    Regards,
    Bob

  • 3 internal tables in one ALV - Download to Excel

    Hi guys..I need some help
    I've tried searching around but no avail.
    I have a requirement to display 3 itabs in 1 ALV. An example of the output would be like a report from ECC tcode - ME2L.
    Basically it will be
    Header
    Item
    Schedule Line
    And of course finally, I have to make it being able to download it into an Excel file.
    Thanks in advance!

    Hi guys,
    I'm trying the alv tree node and child method but still can't seem to get it to work...
    The table i've created is
    Table1
    -Structure 1
    -Structure 2
    -Structure 3
    Does it work that way?
    DATA: l_item_key TYPE lvc_nkey,
            l_schedule_key TYPE lvc_nkey,
            ls_po_number TYPE bbp_item_no,
            l_vendor_key TYPE lvc_nkey,
            l_po_key TYPE lvc_nkey,
            lw_vendor_last TYPE string,
            l_last_key TYPE lvc_nkey.
      SORT lt_final BY vendor_data.
      LOOP AT lt_final INTO ls_final.
    *    TOP LEVEL NODES.
        lw_vendor_last = ls_final-vendor_data-partner_id.
        IF ls_final-vendor_data-partner_id <> lw_vendor_last.
          lw_vendor_last = ls_final-vendor_data-partner_id.
          PERFORM add_vendor USING ls_final-vendor_data
                          CHANGING l_vendor_key.
          CLEAR lw_vendor_last.
        ENDIF.
    *    Vendor Nodes?
        IF ls_final-item_data-number_int <> ls_po_number.
          ls_po_number = ls_final-item_data-number_int.
          PERFORM add_po USING ls_final
                               l_vendor_key
                     CHANGING l_po_key.
       ENDIF.
    *&      Form  ADD_VENDOR
    *       text
    *      -->P_LS_FINAL_VENDOR_DATA  text
    *      -->P_1863   text
    *      <--P_L_VENDOR_KEY  text
    FORM add_vendor  USING    p_vendor TYPE ZSC_MAIN_STRUC_HEADER
                              p_relat_key TYPE lvc_nkey
                    CHANGING  p_node_key TYPE lvc_nkey.
      DATA: l_node_text TYPE lvc_value.
      l_node_text = p_vendor-partner_id.
    * add node:
    * ALV Tree firstly inserts this node as a leaf if you do not provide
    * IS_NODE_LAYOUT with field ISFOLDER set. In form 'add_carrid_line'
    * the leaf gets a child and thus ALV converts it to a folder
    * automatically.
      CALL METHOD g_alv_tree->add_node
        EXPORTING
          i_relat_node_key = p_relat_key
          i_relationship   = cl_gui_column_tree=>relat_last_child
          i_node_text      = l_node_text
          is_outtab_line   = ls_final
        IMPORTING
          e_new_node_key   = p_node_key.
    ENDFORM.                    " ADD_VENDOR
    *&      Form  ADD_PO
    *       text
    *      -->P_LS_FINAL_ITEM_DATA  text
    *      -->P_L_VENDOR_KEY  text
    *      <--P_L_PO_KEY  text
    FORM add_po  USING    p_item_data TYPE zsc_main_structure
                          p_relat_key TYPE lvc_nkey
                         CHANGING  p_node_key TYPE lvc_nkey.
      DATA: l_node_text TYPE lvc_value.
    * add node
    * ALV Tree firstly inserts this node as a leaf if you do not provide
    * IS_NODE_LAYOUT with field ISFOLDER set. In form 'add_carrid_line'
    * the leaf gets a child and thus ALV converts it to a folder
    * automatically.
      l_node_text =  p_item_data-vendor_data-partner_id.
      CALL METHOD g_alv_tree->add_node
        EXPORTING
          i_relat_node_key = p_relat_key
          i_relationship   = cl_gui_column_tree=>relat_last_child
          i_node_text      = l_node_text
          is_outtab_line   = ls_final
        IMPORTING
          e_new_node_key   = p_node_key.
    ENDFORM.                    " ADD_PO
    When i run the report, I'm getting a shortdump regarding GETWA_NOT_ASSIGNED at CL_ALV_TREE_BASE==============CP
    but If I remove the Vendor nodes section, no error but the ALV grid is empty.
    Hope you guys can help....appreciate it

  • ALV download to Excel onto desktop using OLE concept.

    Hi Experts,
    I requriement is , through my se38 program i need to download report output to excel.
    i did this using OLE concepts code and excel is being downloaded good.
    But problem is all columns data is dumped into First column. But in my ALV i have 20 columns. So i except data in excel sheet to be in 20 columns.
    Below is the OLE code i used
    CREATE OBJECT wa_excel 'EXCEL.APPLICATION'. "Create object for Excel
      SET PROPERTY OF wa_excel  'VISIBLE' = 1. "In background Mode
      CALL METHOD OF wa_excel 'WORKBOOKS' = w_workbook.
      CALL METHOD OF w_workbook 'ADD'. "Create a new Workbook
      SET PROPERTY OF wa_excel 'SheetsInNewWorkbook' = 3. "No of sheets
    * Downloading header details to first sheet
      PERFORM download_sheet TABLES i_final USING 1 'Master Material Details'.
      GET PROPERTY OF wa_excel 'ActiveSheet' = w_worksheet.
    * Protect the first worksheet with a password
      CALL METHOD OF w_worksheet 'PROTECT
        EXPORTING #1 = 'infy@123'.
    * Save the Excel file
      GET PROPERTY OF wa_excel 'ActiveWorkbook' = w_workbook.
      CALL METHOD OF w_workbook 'SAVEAS'
        EXPORTING #1 = p_infile.
      FREE OBJECT: w_worksheet, wa_excel.
    FORM download_sheet TABLES p_tab  USING p_sheet TYPE i   p_name  TYPE string.
      CALL METHOD OF wa_excel 'WORKSHEETS' = w_worksheet
        EXPORTING
        #1 = p_sheet.
      CALL METHOD OF w_worksheet 'ACTIVATE'.
      SET PROPERTY OF w_worksheet 'NAME' = p_name.
      CALL METHOD OF wa_excel 'Range' = w_range
        EXPORTING
        #1 = 'A1'
        #2 = 'D1'.
      CALL METHOD OF w_range 'INTERIOR' = w_int.
      SET PROPERTY OF w_int 'ColorIndex' = 6.
      SET PROPERTY OF w_int 'Pattern' = 1.
    * Initially unlock all the columns( by default all the columns are locked )
      CALL METHOD OF wa_excel 'Columns' = w_columns.
      SET PROPERTY OF w_columns 'Locked' = 0.
    * Locking and formatting first column
      CALL METHOD OF wa_excel 'Columns' = w_columns
       EXPORTING
       #1 = 1.
    * Locking and formatting second column
      CALL METHOD OF wa_excel 'Columns' = w_columns
        EXPORTING
        #2 = 2.
      SET PROPERTY OF w_columns  'Locked' = 2.
      SET PROPERTY OF w_columns  'NumberFormat' = '@'.
    * Export the contents in the internal table to the clipboard
      CALL METHOD cl_gui_frontend_services=>clipboard_export
        IMPORTING
          data                 = p_tab[]
        CHANGING
          rc                   = w_rc
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4.
    * Paste the contents in the clipboard to the worksheet
      CALL METHOD OF w_worksheet 'Paste'.
    * Autofit the columns according to the contents
      CALL METHOD OF wa_excel 'Columns' = w_columns.
      CALL METHOD OF w_columns 'AutoFit'.
      FREE OBJECT: w_columns, w_range.
    Please help me if there is any SET Property of WA_EXCEL with which i can handle ALV data into Diffrenet columns.
    Regards,
    jayant.

    hi nabheet,
    we have implemnted this logic and it is workign fine. Bit it takes long time to download data in Excel sheet. Actually it is happening feild by field.
    Please advice any perfomance tuning to this logic.
    Rgs,
    jayant

  • ALV download to Excel--Problem with Column Headers

    Hi,
    I have created a dynamic internal table and displaying it as ALV using SALV classes. Problem is that  when I download this ALV to Excel I'm not getting Column headings same as they are in ALV display.
    I mean in Excel it is showing Column headings taken from domain or data element.
    While creating dynamic table i'm passing short/ Medium & Long text too. Still it is not working.
    Any kinda help is appreciated.
    Thanks & Regards,
    Vivek Gaur
    Edited by: Vivek  Gaur on Nov 4, 2009 2:04 PM

    Look I cant actually post the code as it is divided in some global classes and main program. But i can elaborate the steps little further:
    1: I have created a field catalog for Dynamic internal table. In it i have passed every necessary field along with short/medium/Long texts.
    2: I fill up this dynamic table with data.
    3: I assign a field symbol to this dynamic internal table.
    4: I pass this field symbol to the factory method of CL_SALV_TABLE  Class.
    Thats it buddy..Hope u have understood my problem.

Maybe you are looking for

  • How to get All Mails from outlook

    Hi am reading mail from outlook.. It reads only unread mails. But i want to read all mails. if any one knows please help me..My code is.. import javax.mail.*; import javax.mail.internet.*; import java.util.*; import java.io.*; public class AllPartsCl

  • If you have unlimited data and plan to upgrade "BE WARNED"

    This is just an FYI to all those who may fall into the trap I did. I wish I had know about this prior so I would have made my choices accordingly. VSW has changed the upgrade plans for those with older unlimited data plans. If you use a line upgrade

  • How do I find how much storage I have left?

    I have a MacBook Air and really want to load Dragon Dictation on it but don't know how much memory I have. Can someone help me?

  • US Version of Apple TV in UK

    I have been given a US version of Apple TV - will this work in the UK with the different AC voltage? Don't want to blow the thing up as the cable states 125V? Many thanks MacBook Pro   Mac OS X (10.4.8)  

  • Choosing rows for adding into text file

    Hello! Recordset with several rows per reference. Need to find references with at least one of four rowreferences. Not all references include any of the four rowreferences. Need to sum up all rows of reference except the rows with the four rowreferen