<?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: Export spreadsheet in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-export-spreadsheet/m-p/1671581#M296789</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;Thanks for the reply. I have used GUI_DOWNLOAD to get the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out the reason why the line had not come in the same row. It was because the length of the line was more than 1023 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2006 19:26:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-02T19:26:07Z</dc:date>
    <item>
      <title>ALV: Export spreadsheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-export-spreadsheet/m-p/1671579#M296787</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;I am exporting a spreadsheet from ALV. There are about 126 columns and all columns are getting exported to the file but the record is not coming in single row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last column filled was CT and then the next column filled is column A for the same record. I dont think this is a problem with Excel as I am able to fill in columns manually beyond CT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me how I can get the record in a single row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Navneet Saraogi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 18:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-export-spreadsheet/m-p/1671579#M296787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T18:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: Export spreadsheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-export-spreadsheet/m-p/1671580#M296788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had also faced the same problem once. &lt;/P&gt;&lt;P&gt;The solution for this is to create your own pf-status and handle the download button with your own code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_gui_frontend_services=&amp;gt;file_save_dialog
 
      changing FILENAME = file
               path     = path
               fullpath = file_path.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for adding interactivity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then call &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_gui_frontend_services=&amp;gt;gui_download
 
    exporting    filename                = file_Path
                  WRITE_FIELD_SEPARATOR = 'X'
 
     changing    data_tab                = itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But note that, this method is not avalilable in 4.6c.&lt;/P&gt;&lt;P&gt;Instead you can use 'GUI_DOWNLOAD' or 'WS_DOWNLOAD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, also check out XXLSTEST report. This was actauuly suggested by another SDN Member to me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To download the excel file, you can alternatively use EXCEL_OLE_STANDARD_DAT for more customizations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Nazim Ur Rahman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2006 18:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-export-spreadsheet/m-p/1671580#M296788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-31T18:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALV: Export spreadsheet</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-export-spreadsheet/m-p/1671581#M296789</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;Thanks for the reply. I have used GUI_DOWNLOAD to get the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found out the reason why the line had not come in the same row. It was because the length of the line was more than 1023 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 19:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-export-spreadsheet/m-p/1671581#M296789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T19:26:07Z</dc:date>
    </item>
  </channel>
</rss>

