Skip to Content
author's profile photo Former Member
Former Member

excel

what is the procedure to copy an outputted list into an excel sheet.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 06, 2007 at 11:48 AM

    Hi,

    After executing the Report, from the Menu bar

    ->List->Send->File->Spreedsheet

    Try this,

    KC

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 06, 2007 at 11:33 AM

    Hi

    there are many threads available in this forum for ur question just have a look,

    You can use the FM - ALV_XXL_CALL.

    It is the same function module invoked when you click on the export to excel button of the ALV.

    You can pass teh field catalog of the ALV here along with the name of ur internal table and the internal table itself. It will download everything to Excel alongwith the Column headers ( depending on ur field catalog definition). Just make sure ur field catalog has the COL_Heading correctly populated.

    Sample Code - CALL FUNCTION 'ALV_XXL_CALL'

    EXPORTING

    i_tabname = 'T_GRID' " Name of the Internal table

    it_fieldcat = t_fcatk[] " Field catalog

    TABLES

    it_outtab = t_grid " Interbnal table with data

    EXCEPTIONS

    fatal_error = 1

    no_display_possible = 2

    OTHERS = 3.

    IF sy-subrc <> 0.

    MESSAGE e806(bk).

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 08:45 AM

    Hi Sandeep,

    You can save the file in excel format as .

    on the list output

    List->Save/Send->File->Unconverted

    in this change the file extension as " .xls " and then save the file.

    It will get stored as an excel file.

    Regds,

    Gaurav

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.