Skip to Content
avatar image
Former Member

ALV Export to Microsoft Excel Question

Hi All,

I know this would be a basic question and I tried searching the forums and did not find any luck. I have implemented the standard ALV and the output is displayed in the table. The standard Export-->Export to Microsoft Excel does not work for me when I click on it. Should I need to enable / trigger this event to make this work?

Also, Is there anyway that I show the Export to Microsoft Excel option directly in the standard ALV instead of clicking on the Export and then Export to Microsoft Excel?

Thanks,

Nagarajan.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 05, 2011 at 04:26 AM

    Hi Nagarajan,

    That is a satandard functionality no coding required. it will work.

    Your excel file containes any images??

    Try this...

    l_value TYPE REF TO cl_salv_wd_config_table.

    lr_filter ?= l_value.

    lr_filter->set_export_allowed( abap_true ).

    OR

    If you want to cal excel by using your custom button please check this...blog

    Using WD ABAP ALV export - the hacked way

    also check this...

    how-to-call-manually-export-to-excel-event-of-alv

    Cheers,

    Kris.

    Add comment
    10|10000 characters needed characters exceeded