<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: excel from alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560814#M253627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is the sample report for downloading the output into EXCEL or WORD. After &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;executing this report u can find the ICON for downloading the output  into EXCEL &lt;/P&gt;&lt;P&gt;or WORD format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YMS_ALVEXCELWORDGRAPH message-id z0.&lt;/P&gt;&lt;P&gt;type-pools slis.&lt;/P&gt;&lt;P&gt;tables: t000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab_output like t000 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: alv_grid_variant type disvariant,&lt;/P&gt;&lt;P&gt;alv_grid_variant_save value 'U',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layout type slis_layout_alv,&lt;/P&gt;&lt;P&gt;fieldcat TYPE SLIS_T_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of fieldcat_rec.&lt;/P&gt;&lt;P&gt;include type slis_fieldcat_main.&lt;/P&gt;&lt;P&gt;include type slis_fieldcat_alv_spec.&lt;/P&gt;&lt;P&gt;data: end of fieldcat_rec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*MAIN&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;PERFORM EXTRACT_DATA.&lt;/P&gt;&lt;P&gt;PERFORM OUTPUT-LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form EXTRACT_DATA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM EXTRACT_DATA.&lt;/P&gt;&lt;P&gt;refresh itab_output.&lt;/P&gt;&lt;P&gt;select * from t000 into table itab_output.&lt;/P&gt;&lt;P&gt;ENDFORM. " EXTRACT_DATA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form OUTPUT-LIST&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM OUTPUT-LIST.&lt;/P&gt;&lt;P&gt;*Build field catalog&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_STRUCTURE_NAME = 'T000'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;CT_FIELDCAT = fieldcat&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;INCONSISTENT_INTERFACE = 1&lt;/P&gt;&lt;P&gt;PROGRAM_ERROR = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IS_LAYOUT = layout&lt;/P&gt;&lt;P&gt;it_fieldcat = fieldcat&lt;/P&gt;&lt;P&gt;I_SAVE = alv_grid_variant_save&lt;/P&gt;&lt;P&gt;IS_VARIANT = alv_grid_variant&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;T_OUTTAB = ITAB_OUTPUT&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PROGRAM_ERROR = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM. " OUTPUT-LIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sankar M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2007 04:05:04 GMT</pubDate>
    <dc:creator>p291102</dc:creator>
    <dc:date>2007-03-27T04:05:04Z</dc:date>
    <item>
      <title>excel from alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560809#M253622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i create alv using class CL_SALV_TABLE.&lt;/P&gt;&lt;P&gt;When i transfer the alv to excel the total fields that i create didn't transfer to excel.&lt;/P&gt;&lt;P&gt;maybe there is any solution to this?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;have a nice day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:23:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560809#M253622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T08:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: excel from alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560810#M253623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yossi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class CL_GUI_ALV_GRID allows to change the layout to the "old" format where summary lines are exported to Excel as well. Thus, have a look at the toolbar accompanying CL_SALV_TABLE and see if you can change the layout, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560810#M253623</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-10-04T08:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: excel from alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560811#M253624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe &lt;/P&gt;&lt;P&gt;I didn't understand what to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560811#M253624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T08:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: excel from alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560812#M253625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;maybe there is any method that can do it&lt;/P&gt;&lt;P&gt;??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 08:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560812#M253625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T08:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: excel from alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560813#M253626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem with the Excel button on the SALV grid. it seems to be a bug in the SALV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560813#M253626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T18:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: excel from alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560814#M253627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is the sample report for downloading the output into EXCEL or WORD. After &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;executing this report u can find the ICON for downloading the output  into EXCEL &lt;/P&gt;&lt;P&gt;or WORD format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YMS_ALVEXCELWORDGRAPH message-id z0.&lt;/P&gt;&lt;P&gt;type-pools slis.&lt;/P&gt;&lt;P&gt;tables: t000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab_output like t000 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: alv_grid_variant type disvariant,&lt;/P&gt;&lt;P&gt;alv_grid_variant_save value 'U',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layout type slis_layout_alv,&lt;/P&gt;&lt;P&gt;fieldcat TYPE SLIS_T_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of fieldcat_rec.&lt;/P&gt;&lt;P&gt;include type slis_fieldcat_main.&lt;/P&gt;&lt;P&gt;include type slis_fieldcat_alv_spec.&lt;/P&gt;&lt;P&gt;data: end of fieldcat_rec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*MAIN&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;PERFORM EXTRACT_DATA.&lt;/P&gt;&lt;P&gt;PERFORM OUTPUT-LIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form EXTRACT_DATA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM EXTRACT_DATA.&lt;/P&gt;&lt;P&gt;refresh itab_output.&lt;/P&gt;&lt;P&gt;select * from t000 into table itab_output.&lt;/P&gt;&lt;P&gt;ENDFORM. " EXTRACT_DATA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form OUTPUT-LIST&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM OUTPUT-LIST.&lt;/P&gt;&lt;P&gt;*Build field catalog&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_STRUCTURE_NAME = 'T000'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;CT_FIELDCAT = fieldcat&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;INCONSISTENT_INTERFACE = 1&lt;/P&gt;&lt;P&gt;PROGRAM_ERROR = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;IS_LAYOUT = layout&lt;/P&gt;&lt;P&gt;it_fieldcat = fieldcat&lt;/P&gt;&lt;P&gt;I_SAVE = alv_grid_variant_save&lt;/P&gt;&lt;P&gt;IS_VARIANT = alv_grid_variant&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;T_OUTTAB = ITAB_OUTPUT&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;PROGRAM_ERROR = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM. " OUTPUT-LIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sankar M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 04:05:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-from-alv/m-p/1560814#M253627</guid>
      <dc:creator>p291102</dc:creator>
      <dc:date>2007-03-27T04:05:04Z</dc:date>
    </item>
  </channel>
</rss>

