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

Similar Messages

  • 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 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.

  • 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

  • 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.

  • 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>

  • XI Won't Export to Excel 2003

    We have Crystal Reports XI R1 in our .NET application. We are able to export our reports to Excel version 2002 or earlier but can't export to Excel 2003. Is there a patch or a workaround?

    Hi Bobbie. Understood.
    I am not aware of any issues specific to Excel 2003. Now, I am aware of issues when WIN 2003 server is updated with  SP2. And yes, the latest Crystal Reports Service Pack should resolve that issue.
    To deploy the new files to your server, you will need to either create a new deployment project using the CR for .NET msm files, or use the msi. You can not run the SP on computers that only have the CR runtime. The location of the msm and msi files is describe in [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0] wiki.
    Most likely, in your situation (assuming this is a web app), it will be easiest to run the msi. All you will need is to enter the correct keycode when you are prompted.
    Ludek

  • OBIEE 11.1.1.7 Exporting to Excel 2003 and 2007 difference

    Hi
    I have a simple analysis, a couple of measures, some formatted so tat if they are negative show them as Red, minus, 1 decimal and thousand separator. Another measure is not formatted to be Red, just black, minus, 1 decimal and thousand separator.
    So ... now to the issue. When I export to Excel 2003 the measures are fine, the numbers are numbers, all fine and dandy.
    When I export to Excel 2007+ ... the red minus numbers are now text and impossible to change them all to number. I can only convert to number those that are less than 1000 ... the rest are just impossible.
    The other measures, the ones that are black, minus, 1 decimal and thousand separator ... are numbers in Excel 2007+.
    Why?
    What can I do to solve this?
    Kind Regards

    Sorry guys ... forgott to say that I'm not the one exporting to Excel ... is my business user and I cannot ask them to save the reports to another format or to cast a column or more?
    I will try them both and see what happens ... but this is something that Oracle must fix. It's the year 2013 for godness sake!! This is not a Beta software. In my opinion this is so ridiculous I can hardly find words for it hahahaha
    I have tried to cast and convert ... well that doesn't work and I found that some people are using macros to convert text to numbers in Excel ...
    Sub txttonum()
      For Each tcell In Selection.Cells
      If TypeName(tcell.Value) = "String" Then
      tcell.Value = Val(tcell.Value)
      End If
      Next
    End Sub
    As goes for the CSV option ... I just cannot ask my business user to copy from a CSV file to the Excel file they want to work on, not even if they are advanced Excel users.
    Thanks for your suggestions, I really that the cast would work ...
    Any other suggestion.

  • 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

  • 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

  • Using Change Layout Tab on ALV to Export to Excel

    Hi Forms!
    I have an ALV grid that I export to excel to allow users to manipulate the data exported further.
    i do this by clicking change layout -> View -> 'Microsoft Excel' -> click on the template you want to use and click the check mark to export.
    My problem is I have a header on the ALV that display's the user selection screen options... all my data shows in excel correctly except that my selection screen header which I would expect in the 'Raw Header' Tab in excel.
    If I export to excel using excel export button the header shows up, however this does not help as we like using the pivot table setup from the change layout option.
    thank you,
    Here is my code for producing the header...
    ATA: lo_header  TYPE REF TO cl_salv_form_layout_grid,
            lo_h_label TYPE REF TO cl_salv_form_label,
            lo_h_flow  TYPE REF TO cl_salv_form_layout_flow,
            lv_i TYPE i,
            lv_mtart LIKE LINE OF s_mtart,
            lv_auart LIKE LINE OF s_auart,
            lv_bkbez LIKE LINE OF s_bkbez,
            lv_lines TYPE i.
    *   header object
      CREATE OBJECT lo_header.
      lo_header->set_column_count( 10 ).
      lo_h_label = lo_header->create_label( row = 1 column = 1 ).
      lo_h_label->set_text( 'Selection Screen Values' ).
    *   information in tabular format
      CONCATENATE 'Dates: ' s_date-low  ' ' ' to ' s_date-high ' ' INTO l_text RESPECTING BLANKS.
      lo_h_flow = lo_header->create_flow( row = 2  column = 1 ).
      lo_h_flow->create_text( text = l_text ).
      CONCATENATE 'Plant: ' p_werks ' ' INTO l_text RESPECTING BLANKS.
      lo_h_flow = lo_header->create_flow( row = 3  column = 1 ).
      lo_h_flow->create_text( text = l_text ).
      CONCATENATE 'Costing Variant: ' p_klvar INTO l_text RESPECTING BLANKS.
      lo_h_flow = lo_header->create_flow( row = 4  column = 1 ).
      lo_h_flow->create_text( text = l_text ).
      CONCATENATE 'Costing Version: ' p_tvers INTO l_text RESPECTING BLANKS.
      lo_h_flow = lo_header->create_flow( row = 5  column = 1 ).
      lo_h_flow->create_text( text = l_text ).
    *there can be 1 or many Material Types need to check
      DESCRIBE TABLE s_mtart LINES lv_i.
      IF lv_i > 1.
        lv_lines = 1.
        CONCATENATE 'Material Type(s): ' s_mtart-low INTO l_text RESPECTING BLANKS.
        lo_h_flow = lo_header->create_flow( row = 6  column = lv_lines ).
        lo_h_flow->create_text( text = l_text ).
        LOOP AT s_mtart INTO lv_mtart .
          IF lv_lines > 1.
            lo_h_flow = lo_header->create_flow( row = 6  column = lv_lines ).
            lo_h_flow->create_text( text = lv_mtart-low ).
          ENDIF.
          lv_lines = lv_lines + 1.
        ENDLOOP.
      ELSE.
        CONCATENATE 'Material Type(s): ' s_mtart-low INTO l_text RESPECTING BLANKS.
        lo_h_flow = lo_header->create_flow( row = 6  column = 1 ).
        lo_h_flow->create_text( text = l_text ).
      ENDIF.
    *   set the top of list using the header for Online.
      cr_content = lo_header.

    Hello Re_flex....thanks again but I am missing a step here as I was able to hide the column by right-clicking but when I click on the layout there is no layout that I can select. Do you know if these layouts are set in config or not as my layout setting displays 'X' user specific or 'A' ALL but when I select these nothing is displays and when I save I get a message back 'No selection'

  • ALV grid to protected Excel sheet

    Hi ABAP gurus,
    I Have developed an ALV report using OO concept and from the application toolbar i am able to change  the GRID output to Excel output using View -> Excel inplace. Belows are my requirement now.
    1. I need to change the standard template with my template for this particular ALV report or Transaction. PLease provide me  with steps details to do it.
    2. The Excel sheet should be in protected  mode and user should be able to only take print out from the excel sheet without modifying any columns .
    If there is no standard way  we can add an additional  appliaction menu and  code it to download  the ALV output into an  Excel sheet and display it .  However again the User should not be able to modify the sheet. please provide me with sample code to do it.
    PLease suggest  solution for this . Point will be awarded for all valuable answers.
    Please it is very urgent for me ...
    Thanks in advance.
    Iftekhar Alam

    Hi ABAP gurus,
    I Have developed an ALV report using OO concept and from the application toolbar i am able to change  the GRID output to Excel output using View -> Excel inplace. Belows are my requirement now.
    1. I need to change the standard template with my template for this particular ALV report or Transaction. PLease provide me  with steps details to do it.
    2. The Excel sheet should be in protected  mode and user should be able to only take print out from the excel sheet without modifying any columns .
    If there is no standard way  we can add an additional  appliaction menu and  code it to download  the ALV output into an  Excel sheet and display it .  However again the User should not be able to modify the sheet. please provide me with sample code to do it.
    PLease suggest  solution for this . Point will be awarded for all valuable answers.
    Please it is very urgent for me ...
    Thanks in advance.
    Iftekhar Alam

Maybe you are looking for

  • HCM = FI: Posting an IDOC via Workflow

    Hello, I hope I'm right here in this part of the forum. In addition I hope my explanations will be good enough to understand. Every month the HCM-System send IDOCs (payment of salary) to the FI-System. Everything works well (in partner profile (WE20)

  • Hard Drive Bay (Caddy) and drive for T430

    Very confused about what the recommended HDD Caddy for T430 is. (to swap DVD drive with a 2nd HDD) Also, is there a non Lenovo HDD that works with this? 1 TB drive preferred. Thanks.

  • Hi people,please help! iphone playing up!

    hi peops i have an iphone 3GS and its playing up....ie: when texting i get multiple letters and sometimes a tab comes up with different forgien letters,if i press delete it will mostly delete my message if i dont quickly press another letter or the s

  • Playback on i DVD

    I have asked this question before, but nobody has answered and I am still having problems. When I create a slidshow in iPhoto and then send it to IDVD, it converts it to a Movie, but when played back on the TV screen everyone appears fatter than they

  • Insert Date & Time question

    Does anyone know if there is a way to DESELECT the "Automatically update the date and time when the document is opened" dialog? Thanks. Paul