<?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: Writing internal table to application server - Issues in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-internal-table-to-application-server-issues/m-p/8746861#M1675079</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 cannot see why you are not using the text mode. E.g remember that you can still handle the CR/LF yourself In text mode as well by using the option NO END OF LINE and concatenate value like CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF whenever you need.&lt;/P&gt;&lt;P&gt;Otherwise I think you may be able to read your file trough abap statement and output it correctly within your sap system as maybe the soft you are using at OS level could not decode your binary stream properly...&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/731/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt; What happens if you reopen your file for INPUT after it has been created (and use WRITE statements)? Is the file written correctly to the spool this way?&lt;/P&gt;&lt;P&gt;If no, please provide some code at least...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 18:28:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-26T18:28:14Z</dc:date>
    <item>
      <title>Writing internal table to application server - Issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-internal-table-to-application-server-issues/m-p/8746860#M1675078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Iam writing a internal table to a file in application server.&lt;/P&gt;&lt;P&gt;sample&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OPEN &lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;filepath &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OUTPUT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN Binary Mode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S52"&gt;Also Iam transfering the following at times to the filepath.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;'0D',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Carriage Return&lt;/P&gt;&lt;P&gt;'0A',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Line Feed&lt;/P&gt;&lt;P&gt;'01',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Start of Header&lt;/P&gt;&lt;P&gt;'02',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Start of Text&lt;/P&gt;&lt;P&gt;'03'.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "End of Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eq : Iam trying to write 'SAP' to application server But it is shown in AL11 as 'S#A#P' and when the file viewed in OS level it is as 'S A P'.&amp;nbsp; (space inbetween).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where am I missing . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File is written perfectly in text mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But want carriage return and other items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest me solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Karthiheyan M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 14:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-internal-table-to-application-server-issues/m-p/8746860#M1675078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-26T14:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Writing internal table to application server - Issues</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/writing-internal-table-to-application-server-issues/m-p/8746861#M1675079</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 cannot see why you are not using the text mode. E.g remember that you can still handle the CR/LF yourself In text mode as well by using the option NO END OF LINE and concatenate value like CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF whenever you need.&lt;/P&gt;&lt;P&gt;Otherwise I think you may be able to read your file trough abap statement and output it correctly within your sap system as maybe the soft you are using at OS level could not decode your binary stream properly...&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/731/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt; What happens if you reopen your file for INPUT after it has been created (and use WRITE statements)? Is the file written correctly to the spool this way?&lt;/P&gt;&lt;P&gt;If no, please provide some code at least...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 18:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/writing-internal-table-to-application-server-issues/m-p/8746861#M1675079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-26T18:28:14Z</dc:date>
    </item>
  </channel>
</rss>

