<?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: Problem with Read dataset in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707193#M309646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am opening the file in text mode. Still problem exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2006 15:29:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-24T15:29:14Z</dc:date>
    <item>
      <title>Problem with Read dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707189#M309642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am reading a file (stored in a DAT format on application server) with READ DATASET statement. there is one quantity field (MENGE) and Currency field (WRBTR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I read the file into an internal table the data record in internal table is getting appended with addition 20 like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actul                    valueValue in internal table&lt;/P&gt;&lt;P&gt;WRBTR      MENGE               WRBTR              MENGE&lt;/P&gt;&lt;P&gt;71.66       1             20202020071.66  2020202001.200  &lt;/P&gt;&lt;P&gt;113.75       1            20202020113.75  2020202001.200 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to remove this additional '20'?&lt;/P&gt;&lt;P&gt;Has anyone faced a similar problem before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anup Deshpande&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anup Deshpande&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anup Deshpande&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 14:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707189#M309642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Read dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707190#M309643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;20 means " " (space) in hexa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 14:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707190#M309643</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-10-24T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Read dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707191#M309644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt; 20 is the hexadecimal equivalent for space.&lt;/P&gt;&lt;P&gt;In which mode did you open the file?&lt;/P&gt;&lt;P&gt;Open the file in text mode. and see if the problem exists.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 14:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707191#M309644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T14:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Read dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707192#M309645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are opening the file in binary mode and writing it.. Use text mode with encoding ... this should solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 14:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707192#M309645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T14:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Read dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707193#M309646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am opening the file in text mode. Still problem exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 15:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707193#M309646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Read dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707194#M309647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe the problem is the conversion, you have set directly the value of the file into the table. Better is to read data into a char field and use MOVE to let SAP convert the value into the end-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 15:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707194#M309647</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-10-24T15:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Read dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707195#M309648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you paste your code for the file open/read part?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2006 21:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-read-dataset/m-p/1707195#M309648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-24T21:38:58Z</dc:date>
    </item>
  </channel>
</rss>

