Dump in prodcution server while downloading ALV report to excel sheet

HI ALL,
ALV report is working fine in bother DEV and PROD servers....but in production while downloading report to excel sheet it is going to dump.
"dump is below:
Short text
Field symbol has not yet been assigned.
What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLKKBL" had to be terminated because it has
    come across a statement that unfortunately cannot be executed. "
But in development this problem is not there, iam able to download ALV report to EXCEL sheet.
Any help experts......
Thanks in advance
Ram

Hi,
I had the same problem,
Run a consistency check for your ALV and you will find out. See if you havent passed any unnecessary parameter to FM.
/people/rainer.hbenthal/blog/2009/09/25/sos--my-alv-report-is-not-working
Dump while printing ALV (field symbol not assigned)
Sumit

Similar Messages

  • Download ALV report to excel sheet

    halo fellow SAPiens,
    i want to download my alv report into excel sheet...........for tht i used UGI_DOWNLOAD........here if i use the file type as 'ASC' all the leading zeros of numeric values are removed and date format is "yyyy/mm/dd".......
    i need the leading zeros and date format in "dd/mmyyy"
    when i use file type 'DBF' i get the leading zeros but my date is replaced by '#####.............wht shld i do...........

    To get the leading zeros to come, append an apostrophe to the start of each field that has the leading zeros as shown
    loop at itab.
    concatenate '''' itab-field1 into itab-field1.
    modify itab.
    endloop.
    note that
    1. This sometimes doesnt show correctly in excel and you may have to double click on the cell to prevent the apostrophe from displaying in the sheet
    2. You field needs to have an extra character to add the apostrophe

  • Download alv report in excel format in Linux

    Hi All,
    I am working on SAP GUI for Java in Linux PC. I have installed
    Open Office.
    After executing an alv report there is no spreadsheet option
    to download the report in excel format .
    Also, when doing Save as Local File -> Spreadsheet ,
    the report is not downloaded in proper format.
    So, how to download the alv reports in excel format ?

    Hi Vinod ,
    Save as Local File -> Spreadsheet
    It will ask for Directory and file name with .xls format . Give proper name e.g. test.xls and save, and after saving file right click on the file and click on Open with "OpenOffice.org calc".
    It will definetly work.
    Abhijeet

  • Problem in downloading ALV report to Excel

    hi All,
    i am facing the problem when i am trying to download the ALV report to Excel format i should have the option to  save as  the Excel file from the dropdown where as instead of it i am getting the option to save as XML file.
    is it something related to settings in SAP or is it done through programatically.
    thanks,

    Anyways is this happening for every one in your team or just for one. If the latter, looks like the user has selected the download in XML format & checked the "remember these settings" checkbox
    You can refer to this link on how to change the default settings: [http://home4sap.com/Blog/2010/03/ecc5-0-alv-default-file-format-when-extracting-files-to-excel/|http://home4sap.com/Blog/2010/03/ecc5-0-alv-default-file-format-when-extracting-files-to-excel/]
    You can also check this SAP offers the possibility to make from transaction FAGLB03 a download
    Edited by: Suhas Saha on Apr 13, 2010 4:40 PM

  • Download alv report to excel in linux

    Hi All,
    I am working on SAP GUI for Java in Linux PC. I have installed
    Open Office.
    After executing an alv report there is no spreadsheet option
    to download the report in excel format .
    Also, when doing Save as Local File -> Spreadsheet ,
    the report is not downloaded in proper format.
    So, how to download the alv reports in excel format ?
    Edited by: Vinod Iyer on Jan 8, 2008 11:51 AM

    The problem of course is that you can't actually call up EXCEL on a Linux machine so such XXL functions  as  call function 'ALV_XXL_CALL' will not work.
    I don't think SAP has OPEN OFFICE integration -- and even if you use EXCEL via the Linux Cross Over Office it is unlikely to work.
    You might need to fiddle around with the internal file format yourself before saving it as a local file.
    For EXCEL 2007 you actually have a better chance since if you save in TRUE EXCEL 2007 format the data is saved in a type of XML file.
    You can read about the EXCEL 2007 new file formats on the M$ site. Note however that you will need to download the EXCEL 2007 file viwer to read the file with earlier versions of EXCEL.
    (You can use EXCEL 2007 in "compatability" mode but using an XML file IMO seems a better option).
    If you use a lot of EXCEL functionality probably the best option is to install Windows as a VM on your linux machine (VMWARE/PARALLELS/VMBOX etc) and then run the standard SAPGUI from the Windows VM.
    Probably not the answer you want but it's the best I can do.
    Cheers
    jimbo

  • Problem in exporting ALV Report to excel sheet

    Hi All,
    I have developed a Report and now facing problem in exporting the same to excel sheet.
    When we click the "Locate File" icon in the report layout, the system will pop up a window with radio buttons. I have opted for 'Spreadsheet'.
    When i save the excel sheet into my desktop, the excel file has all the report headers (Title of each column). But no value is exported.
    There are around 15 columns in the report and the excel sheet shows value of last 2 columns which has some text.
    I have been into ALV report development and developed around 30+ reports in the same fashion.
    What might be the reason behind this issue?
    When i export other reports into excel sheet, everything is perfect without any flaws......
    Kindly help me out......
    Regards
    Pavan

    Hi,
    Here's my suggestion: Install OpenOffice.org and ask SAP to deliver good integration with OpenOffice.org.
    Alternative suggestion: re-install SAP Gui on the PC where the integration is not working. If that does not help, re-install Microsoft Office as well.
    Here's my comment: I think you should ask this question in a different forum, e.g. in the Duet forum. That may not be the correct forum either, but as it is a Microsoft/SAP integration technology forum, someone there may know the solution.
    Regards,
    Raj.

  • I want to download a report into Excel sheet with color Heading..Is it Poss

    Hi All
    I want to download error records into Excel sheet with color Heading..Is it Possible to download into excel with Color Heading?
    here i am <b>using the 3 sheets in one</b>
    t_error-bkpf -> Sheet1
    t_error-bseg-> sheet 2
    t-error-bsec -> sheet3.
    Rgds
    Raghav

    <b>The following thread has the code which will put data into multiple sheets</b>
    Download to multiple sheets in Excel
    FOR COLOR LOGIC  JUST REFER THIS PROGRAM
    *& Report  ZNEGI17                                                     *
    REPORT  ZNEGI17  NO STANDARD PAGE HEADING.
    * this report demonstrates how to send some ABAP data to an
    * EXCEL sheet using OLE automation.
    INCLUDE OLE2INCL.
    * handles for OLE objects
    DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
    H_MAPL TYPE OLE2_OBJECT, " list of workbooks
    H_MAP TYPE OLE2_OBJECT, " workbook
    H_ZL TYPE OLE2_OBJECT, " cell
    H_F TYPE OLE2_OBJECT. " font
    TABLES: SPFLI.
    DATA H TYPE I.
    * table of flights
    DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
    *& Event START-OF-SELECTION
    START-OF-SELECTION.
    * read flights
    SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
    * display header
    ULINE (61).
    WRITE: / SY-VLINE NO-GAP,
    (3) 'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
    (4) 'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
    (20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
    (20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
    (8) 'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
    ULINE /(61).
    * display flights
    LOOP AT IT_SPFLI.
    WRITE: / SY-VLINE NO-GAP,
    IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
    IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
    IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
    IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
    IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
    ENDLOOP.
    ULINE /(61).
    * tell user what is going on
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
    * PERCENTAGE = 0
    TEXT = TEXT-007
    EXCEPTIONS
    OTHERS = 1.
    * start Excel
    CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
    * PERFORM ERR_HDL.
    SET PROPERTY OF H_EXCEL 'Visible' = 1.
    * CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:kis_excel.xls'
    * PERFORM ERR_HDL.
    * tell user what is going on
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
    * PERCENTAGE = 0
    TEXT = TEXT-008
    EXCEPTIONS
    OTHERS = 1.
    * get list of workbooks, initially empty
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
    PERFORM ERR_HDL.
    * add a new workbook
    CALL METHOD OF H_MAPL 'Add' = H_MAP.
    PERFORM ERR_HDL.
    * tell user what is going on
    * CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    * EXPORTING
    ** PERCENTAGE = 0
    * TEXT = TEXT-009
    * EXCEPTIONS
    * OTHERS = 1.
    * output column headings to active Excel sheet
    PERFORM FILL_CELL1 USING 1 1 1 'Flug'(001).
    PERFORM FILL_CELL1 USING 1 2 0 'Nr'(002).
    PERFORM FILL_CELL1 USING 1 3 1 'Von'(003).
    PERFORM FILL_CELL1 USING 1 4 1 'Nach'(004).
    PERFORM FILL_CELL1 USING 1 5 1 'Zeit'(005).
    LOOP AT IT_SPFLI.
    * copy flights to active EXCEL sheet
    H = SY-TABIX + 1.
    PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
    PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
    PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
    PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
    PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
    ENDLOOP.
    * changes by Kishore - start
    * CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
    CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
    PERFORM ERR_HDL.
    * add a new workbook
    CALL METHOD OF H_MAPL 'Add' = H_MAP EXPORTING #1 = 2.
    PERFORM ERR_HDL.
    * tell user what is going on
    SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
    * CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
    * EXPORTING
    ** PERCENTAGE = 0
    * TEXT = TEXT-009
    * EXCEPTIONS
    * OTHERS = 1.
    * output column headings to active Excel sheet
    PERFORM FILL_CELL1 USING 1 1 1 'Flug'(001).
    PERFORM FILL_CELL1 USING 1 2 0 'Nr'(002).
    PERFORM FILL_CELL1 USING 1 3 1 'Von'(003).
    PERFORM FILL_CELL1 USING 1 4 1 'Nach'(004).
    PERFORM FILL_CELL1 USING 1 5 1 'Zeit'(005).
    LOOP AT IT_SPFLI.
    * copy flights to active EXCEL sheet
    H = SY-TABIX + 1.
    PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
    PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
    PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
    PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
    PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
    ENDLOOP.
    * changes by Kishore - end
    * disconnect from Excel
    * CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'C:SKV.XLS'.
    FREE OBJECT H_EXCEL.
    PERFORM ERR_HDL.
    * FORM FILL_CELL *
    * sets cell at coordinates i,j to value val boldtype bold *
    FORM FILL_CELL1 USING I J BOLD VAL.
    data : color(5) type x value 'H80000008'.
    CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
    PERFORM ERR_HDL.
    SET PROPERTY OF H_ZL 'Value' = VAL .
    PERFORM ERR_HDL.
    GET PROPERTY OF H_ZL 'Font' = H_F.
    PERFORM ERR_HDL.
    SET PROPERTY OF H_F 'Bold' = BOLD .
    PERFORM ERR_HDL.
    SET PROPERTY OF H_F 'ColorIndex' = 3 .
    PERFORM ERR_HDL.
    ENDFORM.
    *& Form ERR_HDL
    * outputs OLE error if any *
    * --> p1 text
    * <-- p2 text
    FORM ERR_HDL.
    IF SY-SUBRC <> 0.
    WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
    STOP.
    ENDIF.
    ENDFORM. " ERR_HDL
    *&      Form  FILL_CELL1
    *       text
    *      -->P_H  text
    *      -->P_1      text
    *      -->P_0      text
    *      -->P_IT_SPFLI_CARRID  text
    form FILL_CELL  using   I J BOLD VAL.
    CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
    PERFORM ERR_HDL.
    SET PROPERTY OF H_ZL 'Value' = VAL .
    PERFORM ERR_HDL.
    GET PROPERTY OF H_ZL 'Font' = H_F.
    PERFORM ERR_HDL.
    endform.                    " FILL_CELL1
    kishan negi

  • Pronlem while downloading ALV grid to excel

    Hi Experts,
    My ALV report is working fine, but problem is that when i am downloading it to excel some data is missing from some coloum
    like MATNR is 0000234567 in display but after downloading to excel it comes only 23456
    last digit is missing in all the rows of matnr after downloading.

    - First perform [the Consistency Check|http://help.sap.com/saphelp_sm32/helpdata/EN/d6/23253963143e6ae10000000a11402f/frameset.htm] of your ALV, even if the display is fine (use shift+double click right on a free surface of the ALV)
    - Look at [ Note 1075315 - Excel download: last character missing|https://service.sap.com/sap/support/notes/1075315]
    - Look at [Note 358644 - ALV Export Excel: Recommendations and known errors|https://service.sap.com/sap/support/notes/358644]
    Regards,
    Raymond

  • Downloading ALV report in excel and csv format

    1.I have generated a report in ALV.
    Now, I want a button 'generate' on my alv tooldbar.
    How to do that?
    2.Now  clicking on that generate button will show a popup window containing the title 'Save list in file..'
    And the window will contain two radio buttons to download the report in either in excel or in csv file format.
    i. Spreadsheet(.xls)
    ii.Spreadsheet(.csv)
    How to get the popup window containing two radio buttons and having the options for downloading the alv report in the above file formats.
    Kindly guide.

    @chandrasekhar:
    Thanks for your response. I'll try with the export button but also willing to know how to create button on toolbar.And by clicking on that button a popup box will come having two radio buttons asking to download the report either in .xls or in .csv format. I am looking for the subroutines for that.
    Thanks.
    Message was edited by:
            cinthia nazneen

  • Convert ALV report to Excel sheet

    Hi frnds,
    I did one ALV reoprtExcute that report , display the output entries.
    I want to convert excel sheet.
    Press the 'LOCAL FILE' button, display this error msg,
    Error analysis
        You attempted to access an unassigned field symbol
        (data segment 93).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    Plz any one suggest me.
    Thanks in advance.

    Hi frnds,
    I was chk fully but ican't understand the error.
    This is my original codes ,
    form display .
    perform fill_layout_structure.
    perform fieldcat using :
        'ZLOTNO'  'Lot Number'       12  'IT_FINAL'     'X',   "space,
        'ZPROBE'  'Insp Lot Origin'  10   'IT_FINAL'    'X',   "space.
        'MATNR'  'Mat no'            18   'IT_FINAL'     'X',
        'MAKTX'  'Mat desc'          40   'IT_FINAL'     'X',
        'NAME1'  'Supplier'          35   'IT_FINAL'    'X',
        'ZPLANT'  'Plant'             4   'IT_FINAL'     'X',
        'ZINSPNO'  'Insp No'         15  'IT_FINAL'      'X',
        'ZDWG'  'Drg No'             15  'IT_FINAL'     space,
        'ZREV'  'Rev No'             15  'IT_FINAL'    'X',
        'ZTXT'  'Remarks'            140  'IT_FINAL'    'X',
        'ZDAN'  'Dan'                140  'IT_FINAL'    'X',
        'ZSNO1' 'SNo 1'                2  'IT_FINAL'    'X',
        'ZSNO2' 'SNo 2'                2  'IT_FINAL'    'X',
        'ZSNO3' 'SNo 3'                2  'IT_FINAL'    'X',
        'ZSNO4' 'SNo 4'                2  'IT_FINAL'    'X',
        'ZSNO5' 'SNo 5'                2  'IT_FINAL'    'X',
        'ZSNO6' 'So 6'                 2  'IT_FINAL'   'X',
        'ZDES1' 'Description 1'      140  'IT_FINAL'    'X',
        'ZDES2' 'Description 2'      140  'IT_FINAL'    'X',
        'ZDES3' 'Description 3'      140  'IT_FINAL'    'X',
        'ZDES4' 'Description 4'      140  'IT_FINAL'    'X',
        'ZDES5' 'Description 5'      140  'IT_FINAL'    'X',
        'ZDES6' 'Description 6'      140  'IT_FINAL'    'X',
        'ZTQR1' 'Tot Qty Rec 1'      10  'IT_FINAL'    'X',
        'ZTQR2' 'Tot Qty Rec 2'      10  'IT_FINAL'    'X',
        'ZTQR3' 'Tot Qty Rec 3'      10  'IT_FINAL'    'X',
        'ZTQR4' 'Tot Qty Rec 4'      10  'IT_FINAL'    'X',
        'ZTQR5' 'Tot Qty Rec 5'      10  'IT_FINAL'    'X',
        'ZTQR6' 'Tot Qty Rec 6'      10  'IT_FINAL'    'X',
        'ZQI1' 'Qty Insp 1'          10  'IT_FINAL'    'X',
        'ZQI2' 'Qty Insp 2'          10  'IT_FINAL'    'X',
        'ZQI3' 'Qty Insp 3'          10  'IT_FINAL'    'X',
        'ZQI4' 'Qty Insp 4'          10  'IT_FINAL'    'X',
        'ZQI5' 'Qty Insp 5'          10  'IT_FINAL'    'X',
        'ZQI6' 'Qty Insp 6'          10  'IT_FINAL'    'X',
        'ZTN1' 'Tot NC 1'            10  'IT_FINAL'    'X',
        'ZTN2' 'Tot NC 2'            10  'IT_FINAL'    'X',
        'ZTN3' 'Tot NC 3'            10  'IT_FINAL'    'X',
        'ZTN4' 'Tot NC 4'            10  'IT_FINAL'    'X',
        'ZTN5' 'Tot NC 5'            10  'IT_FINAL'    'X',
        'ZTN6' 'Tot NC 6'            10  'IT_FINAL'    'X',
        'ZRD1' 'Resp Dept 1'         10  'IT_FINAL'    'X',
        'ZRD2' 'Resp Dept 2'         10  'IT_FINAL'    'X',
        'ZRD3' 'Resp Dept 3'         10  'IT_FINAL'    'X',
        'ZRD4' 'Resp Dept 4'         10  'IT_FINAL'    'X',
        'ZRD5' 'Resp Dept 5'         10  'IT_FINAL'    'X',
        'ZRD6' 'Resp Dept 6'         10  'IT_FINAL'    'X',
        'ZCOR1' 'causes of Reason 1' 140  'IT_FINAL'    'X',
        'ZCOR2' 'causes of Reason 2' 140  'IT_FINAL'    'X',
        'ZCOR3' 'causes of Reason 3' 140  'IT_FINAL'    'X',
        'ZCOR4' 'causes of Reason 4' 140  'IT_FINAL'    'X',
        'ZCOR5' 'causes of Reason 5' 140  'IT_FINAL'    'X',
        'ZCOR6' 'causes of Reason 6' 140  'IT_FINAL'    'X',
        'ZCAPA1' 'capacity 1'        140  'IT_FINAL'    'X',
        'ZCAPA2' 'capacity 2'        140  'IT_FINAL'    'X',
        'ZCAPA3' 'capacity 3'        140  'IT_FINAL'    'X',
        'ZCAPA4' 'capacity 4'        140  'IT_FINAL'    'X',
        'ZCAPA5' 'capacity 5'        140  'IT_FINAL'    'X',
        'ZCAPA6' 'capacity 6'        140  'IT_FINAL'    'X',
        'ZSTAT1' 'Status 1'          140  'IT_FINAL'    'X',
        'ZSTAT2' 'Status 2'          140  'IT_FINAL'    'X',
        'ZSTAT3' 'Status 3'          140  'IT_FINAL'    'X',
        'ZSTAT4' 'Status 4'          140  'IT_FINAL'    'X',
        'ZSTAT5' 'Status 5'          140  'IT_FINAL'    'X',
        'ZSTAT6' 'Status 6'          140  'IT_FINAL'    'X',
        'ZINTXT' 'Insp By'          30  'IT_FINAL'    'X',
        'ZINDATE' 'Insp Date'        8  'IT_FINAL'    'X',
        'ZTDATE' 'Target Date'       8  'IT_FINAL'    'X'
      perform get_event using it_event.
    perform fill_listheader using it_listheader.
    perform list_display.
    endform.
    form fieldcat  using   a b c d e   .
      data: wa_fieldcat type slis_fieldcat_alv.
        statics v_pos type i value 1.
        wa_fieldcat-fieldname  = a.
        wa_fieldcat-seltext_l  = b.
        wa_fieldcat-outputlen  = c.
        wa_fieldcat-tabname    = d.
        wa_fieldcat-fix_column = e.
       wa_fieldcat-do_sum     = f.
        append wa_fieldcat to it_fieldcat.
    endform. 
    Click 'local file' button,
    display the error msg,
    1. "View cannot be switched: Product is not installed or integration is not active."
    2.Error analysis
        You attempted to access an unassigned field symbol
        (data segment 152).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    Any one help me.
    Thanks in advance.

  • Downloading ALV  Report to Excel

    Hi to all
    My requirement is,
    Final ALV is displaying the records with three headings.
    Let there are records with heading.
        Name          City        Address      
    1) jasvinder     Delhi      123_Rambag.
    once i download this record in the excel file
    the name of the last heading should get changed. like
       Name          City         Place      
    1) jasvinder     Delhi      123_Rambag.
    Actually i want to change the heading once
    the file get downloaded(automatically).
    Is it possible ?

    hi,
    u can give a button in ALV to download to excel.
    if u use standard functionality in ALV, ur requirement is not possible.
    So by give the buton its possible.
    1. By clikcing button.
    Use that FM GUI_DOWNLOAD twice:
    First time download only header
    Second time append table contents to the same file (import parameter append = 'X')
    egx:
    or example if your itab used for writing the abap list is like below.
    data: begin of details occurs 0 ,
    customer type kna1-kunnr,
    name type kna1-name1 ,
    end of details.
    declare another internal table.
    data: begin of headers occurs 0 ,
    customer(100) ,
    name(100),
    end of headers.
    move: '010101' to headers-customer ,
    'Anver' to headers-name .
    append headers.
    now call GUI_download to download headers to filename c:/tem.xls
    again call gui_download with APPEND = 'X' to the same file name and download details itab
    Regards
    Reshma

  • How to download ALV report having more than 200 columns to Excel

    Dear Experts,
    I am facing the issue of line break during downloading ALV report into excel. I referred the lot of forums but i didn't get the proper solution to solve this issue..Please guide me to solve this issue....
    My output in ALV
    header1 header2..........header200
    but when i download that to spreadsheet i am getting like this
    header1 header2.....
    header65 header66....
    header199...
    Regards,
    Rathish
    Edited by: joerathish on Jun 3, 2011 9:53 AM

    joerathish wrote:
    not working well.
    Do you get a excel with empty sheet with excel in place ?
    Then you need to enable macro in trust center of excel sheet settings. The way you do this depends on the version of excel you are using.
    I am able to get 200+ columns perfectly this way.
    Regards

  • Download ALV output to excel with formatting

    Hi All,
    i want to download ALV output to excel sheet and the uneditable fields in ALV oputput should be locked (uneditable) in excel also.
    Can you please tell me approach to achieve this functionality?
    Thanks in advance.

    Thanks Vamsi. Your Suggestion was helpful.
    I have used excel integration and used SET PROPERTY OF (COLUMN) 'LOCKED' = 1.
    For more details refer below mentioned link.
    http://webcache.googleusercontent.com/search?q=cache:SoY6hFC17PoJ:wiki.sdn.sap.com/wiki/display/Snippets/Download%2BData%2Binto%2BMultiple%2BSheet%2BExcel%2BDocument%2Bwith%2BNon%2BEditable%2BColumns%2B(Password%2Bprotected)%2BUsing%2BABAP%2BOLESetPropertynoteditableexcelsapABAP&cd=1&hl=en&ct=clnk&gl=in&source=www.google.co.in (http://webcache.googleusercontent.com/search?q=cache:SoY6hFC17PoJ:wiki.sdn.sap.com/wiki/display/Snippets/Download%2BData%2Binto%2BMultiple%2BSheet%2BExcel%2BDocument%2Bwith%2BNon%2BEditable%2BColumns%2B%28Password%2Bprotected%29%2BUsing%2BABAP%2BOLESetPropertynoteditableexcelsapABAP&cd=1&hl=en&ct=clnk&gl=in&source=www.google.co.in

  • Formatting problem in download report into EXCEL Sheet

    I have requirement that the Column in the report have values as 1.50,1.5,3.50,when i'm downloading the report into Excel sheet,The values are rounded and appearing as 1.5,1.5,3.5.
    Can anyone please let me know how to resolve this requirement

    hi,
    1) Excel will not take zero's after decimal(1.50) it will roundup(1.5) the values.
    2) you can do like in formula section use CAST(column_name as CHAR) and download it to excel then u will get the zero i think...i didn't tried
    or Column properties--->Data format --> Select Number--->use 1000's Seperator for 1 decimal and save the report and download it
    but it should work!
    thanks,
    saichand.v
    Edited by: saichand on Oct 27, 2009 4:11 PM
    Edited by: saichand on Oct 27, 2009 4:12 PM

  • AlV conversion into excel sheet

    Hello Expert,
    When I am exporting ALV report to excel sheet then only exports 99 fields . I have MS excel 2003 version.
    But my report has around 150 fields .
    Please give me any guidance abt exporting more than 99 fields.
    Is there is SAP Patch or something.
    Thanks,
    Rahul@SS

    you should use excel 2007...
    see this blog: /people/community.user/blog/2010/07/12/abap2xlsx--generate-your-professional-excel-spreadsheet-from-abap

Maybe you are looking for

  • ITunes doesn't recognize either of my iPods

    I downloaded the latest update recently and since then iTunes doesn't recognize either of my two iPod touches (4th gen), even though the computer does. My iPad (1st gen) is still recognized normally. I tried uninstalling iTunes and reinstalling it se

  • ITunes 10.5.3 won't download

    I'm having trouble downloading iTunes 10.5.3 for Windows Vista. When I go to download it it brings me to the Thank you for downloading page but then nothing happens. I've unistalled the old version of iTunes and tried again but it didn't do anything.

  • Can you buy apple tv online with a vanilla visa gift card?

    For my birthday i got a $300 vanilla visa gift card and i know on some websites you can't use gift cards to buy things so i was asking to make sure and not waste my money?

  • Kernal Panic: iMac 2011: Please help.

    Hi, everyone, A few months ago, a friend's iMac started to crash during random events. Sometimes while on Facebook, sometimes while just surfing the Internet, and sometimes just word processing. I wrote about it in this thread: https://discussions.ap

  • Picasa Web Upload

    the new  plug-in for the picasa dost not work check the linl below and no inforation about how install  and where get help or support http://www.adobe.com/cfusion/exchange/index.cfm?searchfield=By+New_Pants&search_exchange=& num=25&startnum=1&event=s