<?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: ALV Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652750#M289879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the Feature is there in ALV. Here you need to select &amp;lt;b&amp;gt;spreadsheet&amp;lt;/b&amp;gt; format, then it will be saved as excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2006 07:01:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-20T07:01:48Z</dc:date>
    <item>
      <title>ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652747#M289876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want a button on the tool bar of the ALV on which When i click the data in the ALV gets transported to the Excel sheet.&lt;/P&gt;&lt;P&gt;I know the Feature is there in the ALV,but when i click on the existing button it asks for the options as shown below :&lt;/P&gt;&lt;P&gt;           In which format should the&lt;/P&gt;&lt;P&gt;             be saved ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              unconverted&lt;/P&gt;&lt;P&gt;              Spreadsheet&lt;/P&gt;&lt;P&gt;              Rich text format&lt;/P&gt;&lt;P&gt;              HTML Format&lt;/P&gt;&lt;P&gt;              Copy to Clipboard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the functionality such that when the user click on the button it directly transports the file to the Excel spreadsheet.&lt;/P&gt;&lt;P&gt;I dont know much about the OOABAP,So please provide the solution using the classical ABAP only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652747#M289876</guid>
      <dc:creator>arvind_soni</dc:creator>
      <dc:date>2006-10-20T06:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652748#M289877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the button to the toolbar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;manage the code at the button event, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use the following function to save the table in Excel file: SAP_CONVERT_TO_XLS_FORMAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652748#M289877</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-10-20T06:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652749#M289878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the function 'GUI_DOWNLOAD' to download the data to the excel sheet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want button in application tool bar then you have to use OO method. In classical it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652749#M289878</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-10-20T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652750#M289879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the Feature is there in ALV. Here you need to select &amp;lt;b&amp;gt;spreadsheet&amp;lt;/b&amp;gt; format, then it will be saved as excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652750#M289879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T07:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652751#M289880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use ALV-GRID, there is an EXCEL-Button wich show the&lt;/P&gt;&lt;P&gt;Output direct in EXCEL-Format. You can use this&lt;/P&gt;&lt;P&gt;Excel-Format as default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652751#M289880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T07:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652752#M289881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have u got answer for the query? If not please revert back else please close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*Please mark all the helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652752#M289881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T07:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652753#M289882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Girod,&lt;/P&gt;&lt;P&gt;In the Function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_FIELD_SEPERATOR          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_LINE_HEADER              =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    i_filename                 = 'C:/'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_APPL_KEEP                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    i_tab_sap_data             = 'IT_OUTPUT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_TAB_CONVERTED_DATA       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CONVERSION_FAILED          = 1&lt;/P&gt;&lt;P&gt;   OTHERS                     = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have given the internal table name in tables i_tab_sap_data and the file path in the filename.But it is showing the error as 'it is not the standard table'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 08:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652753#M289882</guid>
      <dc:creator>arvind_soni</dc:creator>
      <dc:date>2006-10-20T08:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652754#M289883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u were doing earlier was correct. U just have to mention the formar as speadsheet when u are using the feature provided by SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked it Arvind? I think no changes are necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try it out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 09:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652754#M289883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T09:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652755#M289884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working now but the only thing left is that when the data is transported to the excel sheet the field label from the data dictionary should also come on the Excel sheet.&lt;/P&gt;&lt;P&gt;Do I need to make some changes in the internal table like the field label inclusion at the time of data fetching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 09:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652755#M289884</guid>
      <dc:creator>arvind_soni</dc:creator>
      <dc:date>2006-10-20T09:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652756#M289885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really it is not necessary to use the FM SAP_CONVERT_TO_XLS_FORMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using SPREADSHHET FORMAT was the simplest solution to  ur problem.If you can use ur earlier method there will not be any problem of labels also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 09:29:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-problem/m-p/1652756#M289885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T09:29:07Z</dc:date>
    </item>
  </channel>
</rss>

