<?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: Read Dataset Issue - # in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676334#M1099754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Issue solved with carrage return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: cr TYPE c VALUE cl_abap_char_utilities=&amp;gt;cr_lf .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REPLACE cr  IN wa_upload WITH gc_b.&lt;/P&gt;&lt;P&gt;APPEND wa_upload TO gi_upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to everyone and specially Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dedeepya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2008 09:25:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-16T09:25:44Z</dc:date>
    <item>
      <title>Read Dataset Issue - #</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676330#M1099750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im trying to read internal table which has just one field. In the application server, tab is recognised as # and so at the end of every line we have #. Here as we have only one column,so the value is having #. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In application server :&lt;/P&gt;&lt;P&gt;Directory  /usr/sap/B01/SYS/global/&lt;/P&gt;&lt;P&gt;Name: plants_of_salesorg_cc1_txt.csv&lt;/P&gt;&lt;P&gt;Plants of Sorg 1#&lt;/P&gt;&lt;P&gt;210#&lt;/P&gt;&lt;P&gt;250#&lt;/P&gt;&lt;P&gt;280#&lt;/P&gt;&lt;P&gt;290#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally if there are more number of columns we use SPLIT by which this # issue is not raised. In my requirement as we have only column the value is containg # at the end.&lt;/P&gt;&lt;P&gt;Tried           &lt;/P&gt;&lt;P&gt; gc_tab        TYPE c    VALUE cl_abap_char_utilities=&amp;gt;horizontal_tab .&lt;/P&gt;&lt;P&gt; REPLACE gc_tab IN wa_upload WITH gc_b.&lt;/P&gt;&lt;P&gt; APPEND wa_upload TO gi_upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here # is not being recognised in wa_upload.&lt;/P&gt;&lt;P&gt;How can this issue be resolved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dedeepya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:02:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676330#M1099750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset Issue - #</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676331#M1099751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check in the debugger what # is really is. maybe not a tab but a CR or LF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:08:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676331#M1099751</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-10-16T08:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset Issue - #</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676332#M1099752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The # occurs in application server when u upload the file data in the application server if u r file contains space after the field value &lt;/P&gt;&lt;P&gt;Ex: Material number is '050594 ' then it will take space # so first u download all the data from the application server into the flat file and save to u r PC.&lt;/P&gt;&lt;P&gt;And upload all the data after removing space to upload the data to application sever to upload to application server SXDA_TOOLS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SXDA_TOOLS is the Tcode to upload and download the data from PC to AL11 or AL11 to PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676332#M1099752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset Issue - #</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676333#M1099753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chances are there for a new line also&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : line TYPE c VALUE cl_abap_char_utilities=&amp;gt;newline .

REPLACE line IN wa_upload WITH gc_b.
APPEND wa_upload TO gi_upload.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if still you are facing then try with cr / lf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with carrage return.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: cr TYPE c VALUE cl_abap_char_utilities=&amp;gt;cr_lf .

REPLACE cr  IN wa_upload WITH gc_b.
APPEND wa_upload TO gi_upload.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is not working , try with line feed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : lf  TYPE c VALUE cl_abap_char_utilities=&amp;gt;cr_lf .
lf = cl_abap_char_utilities=&amp;gt;cr_lf +1(1).
REPLACE lf IN wa_upload WITH gc_b.
APPEND wa_upload TO gi_upload.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 08:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676333#M1099753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T08:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset Issue - #</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676334#M1099754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Issue solved with carrage return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: cr TYPE c VALUE cl_abap_char_utilities=&amp;gt;cr_lf .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;REPLACE cr  IN wa_upload WITH gc_b.&lt;/P&gt;&lt;P&gt;APPEND wa_upload TO gi_upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to everyone and specially Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dedeepya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2008 09:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset-issue/m-p/4676334#M1099754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-16T09:25:44Z</dc:date>
    </item>
  </channel>
</rss>

