<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660137#M613618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;What is the logic of 255? And why there is error in my file when length is 1000? &lt;/P&gt;&lt;P&gt;I want to learn the logic of READ DATASET and TRANSFER.&lt;/P&gt;&lt;P&gt;When it is reading 1000, it is writing 255?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 14:55:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T14:55:38Z</dc:date>
    <item>
      <title>READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660134#M613615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I  have a simple question, I have read the documents but couldn't find documentation. &lt;/P&gt;&lt;P&gt;While I am reading dataset using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA WA_DATASET(1).
OPEN DATASET D1 FOR INPUT.
OPEN DATASET D2 FOR OUTPUT. 
DO.
   READ DATASET D1 INTO WA_DATASET.
   TRANSFER WA_DATASET TO D2.
   IF SY-SUBRC &amp;lt;&amp;gt; 0.
     EXIT.
   ENDIF.
ENDDO.
CLOSE DATASET D1.
CLOSE DATASET D2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As seen above I am copying file. And my WA_DATASET length is 1. If I change this length to 1000, dataset D2 is not desired format. I mean that d2 is not  true file. So, I am using the lentgth 1. In documentation legth is defined as 80. Is there a specific reason for 80? Or, what is the maximum size this lentgth to supply real copying operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 08:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660134#M613615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T08:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660135#M613616</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;The max. length is 255 characters. Please change from 1000 to 255 &amp;amp; it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660135#M613616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T11:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660136#M613617</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;max length is 255 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660136#M613617</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-08-23T11:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660137#M613618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;What is the logic of 255? And why there is error in my file when length is 1000? &lt;/P&gt;&lt;P&gt;I want to learn the logic of READ DATASET and TRANSFER.&lt;/P&gt;&lt;P&gt;When it is reading 1000, it is writing 255?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 14:55:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660137#M613618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T14:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATASET</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660138#M613619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean that, why I am getting when th length is 1000? How can I believe in this length should be smaller than 255? If length is 1000 'sometimes' my file is bad, but sometimes it is true. When length is 1000, where is the error? Can you explain the logic of read and transfer based on length.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2007 10:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/2660138#M613619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-24T10:40:15Z</dc:date>
    </item>
  </channel>
</rss>

