<?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: Spool to Excel - Wrong format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281439#M1916222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do the same now. Reading application file into internal table and trying to&lt;/P&gt;&lt;P&gt;download it to presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing issue in that also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My excel file has dynamic data.. Columns keeps on changing. there is no fixed number of columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;p_fname&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FOR INPUT IN TEXT MODE ENCODING DEFAULT&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;subrc &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;DO&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;read DATASET &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;p_fname &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;into &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;gs_app&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;line &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;LENGTH len&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;subrc &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;append &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;gs_app &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;to &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;t_app_data&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;EXIT&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ENDDO&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;CLOSE DATASET &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;fname&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;itab t_app_data has data but all columns are not coming. I have tried using MAXIMUM LENGTH , ACTUAL LENGTH and LENGTH but it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Arpita&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2015 07:03:37 GMT</pubDate>
    <dc:creator>arpita_churi3</dc:creator>
    <dc:date>2015-10-01T07:03:37Z</dc:date>
    <item>
      <title>Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281433#M1916216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have scheduled a background job for IW37N in custom report to generate the spool.&lt;BR /&gt;And trying to download the spool data into excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSPO_RETURN_ABAP_SPOOLJOB&lt;BR /&gt;cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the issues is excel file is not coming in proper format. Excel contains '|' after each data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arpita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 06:49:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281433#M1916216</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-09-08T06:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281434#M1916217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arpita,&lt;/P&gt;&lt;P&gt;Paste the code that you are using for gui_download.&lt;BR /&gt;You may have issues only with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 12:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281434#M1916217</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2015-09-08T12:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281435#M1916218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K S,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am using Function module 'RSPO_RETURN_ABAP_SPOOLJOB' to convert spool to excel and then using GUI_DOWNLOAD to download it to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But all data is coming in single column with separator "|".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arpita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 03:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281435#M1916218</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-09-14T03:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281436#M1916219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arpita,&lt;/P&gt;&lt;P&gt;Did you use the WRITE_FIELD_SEPARATOR in the FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 06:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281436#M1916219</guid>
      <dc:creator>former_member188724</dc:creator>
      <dc:date>2015-09-14T06:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281437#M1916220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;issue Solved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read each line of spool data internal table and&amp;nbsp; use below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4da619; font-size: 10pt;"&gt;replace all occurrences of '|' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;in&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ls_data&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;line with &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;cl_abap_char_utilities&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;horizontal_tab&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;modify spool itab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt; and use GUI_DOWNLOAD to download..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;BUt now I have one more issue..How to do this in background. I have scheduled this program &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;in background but GUI_DOWNLOAD function don't work in bg.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt; is there any alternative to download file on presentation server in bg..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 04:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281437#M1916220</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-10-01T04:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281438#M1916221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arpita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your presentation server is only available in dialogue thru SAP GUI. In dialog and batch you will both have access to your application server using OPEN DATASET - TRANSFER - CLOSE DATASET.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But if you have for example a MS Windows presentation server and a LINUX or UNIX application server, then you can mount a MS Windows net drive to your application server and create your file directly on it. (The mount must be done by the administration of your application server!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise you can create the file on the application server in batch and write a program or use an existing tool to read it in dialogue and download it to presentation server in an additional dialogue step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 05:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281438#M1916221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-01T05:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281439#M1916222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do the same now. Reading application file into internal table and trying to&lt;/P&gt;&lt;P&gt;download it to presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing issue in that also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My excel file has dynamic data.. Columns keeps on changing. there is no fixed number of columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;p_fname&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FOR INPUT IN TEXT MODE ENCODING DEFAULT&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;subrc &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;DO&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;read DATASET &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;p_fname &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;into &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;gs_app&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;line &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;LENGTH len&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;subrc &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;append &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;gs_app &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;to &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;t_app_data&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;EXIT&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ENDDO&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;CLOSE DATASET &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;fname&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;itab t_app_data has data but all columns are not coming. I have tried using MAXIMUM LENGTH , ACTUAL LENGTH and LENGTH but it is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Arpita&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 07:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281439#M1916222</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-10-01T07:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281440#M1916223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did your solution for GUI_DOWNLOAD in dialogue work? Also there you had to solve the issue to separate the columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next question: How did you create your file on application server? I think, the solution for column separation has to be done already when downloading your data to application server. Do you know the number of columns at this point? You can use CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL TAB as an separator for field separation here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 07:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281440#M1916223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-01T07:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281441#M1916224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will use field separator but the issue is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is in READ DATASET. It is taking only 600 chars in single line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; So if my internal table has more columns then some columns are not&amp;nbsp; coming into&lt;/P&gt;&lt;P&gt;internal table &lt;SPAN style="font-size: 10pt;"&gt;t_app_data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;read DATASET &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;p_fname &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;into &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;gs_app&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;line &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;LENGTH len&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;subrc &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #3399ff; font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;append &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;gs_app &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;to &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;t_app_data&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;I tried using&amp;nbsp; following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;len = 1000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;read DATASET &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;p_fname &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;into &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;gs_app&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;line &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;LENGTH len&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Still problem is there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 08:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281441#M1916224</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-10-01T08:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281442#M1916225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know number of columns , as number of columns keep on changing based on variant selection.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 08:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281442#M1916225</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-10-01T08:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281443#M1916226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, please tell us the definition of gs_app-line. Is it of character type and length 600 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to read it into a type string field. Do you get all data in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281443#M1916226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-01T09:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281444#M1916227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with string but it is not working....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:30:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281444#M1916227</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-10-01T09:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281445#M1916228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then please try it with a character filed of length 1000, 1024 or longer like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;TEXT1000&lt;/LI&gt;&lt;LI&gt;TEXT1024&lt;/LI&gt;&lt;LI&gt;TEXT2048&lt;/LI&gt;&lt;LI&gt;TEXT4096&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 09:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281445#M1916228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-10-01T09:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281446#M1916229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you read into a STRING type and remove the LENGTH option.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 10:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281446#M1916229</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-10-01T10:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spool to Excel - Wrong format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281447#M1916230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt; I have solved issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though in internal tab it is showing few columns. I tried download to presentation server using GUI_DOWNLOAD fm, all columns are coming perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 10:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spool-to-excel-wrong-format/m-p/11281447#M1916230</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2015-10-01T10:37:06Z</dc:date>
    </item>
  </channel>
</rss>

