<?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/3992768#M953871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only way it would seperated it on the read, would be that your input "buffer" is actually a record with the exact same length and each field is the same length on the input and the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
BEGIN OF MYREC,
  fld1(10)    type c,
  fld2(10)    type n,
etc.. etc
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your input would then HAVE to be in the same format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZZZZZZZZZZ1234567890.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2008 16:39:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-11T16:39:01Z</dc:date>
    <item>
      <title>Read Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992764#M953867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wondering how the following line works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ DATASET w-filename INTO t_imspo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that it will break up the file and put it into the fields contained in t_imspo but how does it break this file apart?  What delimiter does it use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 16:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992764#M953867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992765#M953868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Read does not break the record apart and put it into fields of the target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to provide a "buffer" at least as big as you expect the data length to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To seperated it into different fields, the input would need to be delimited by something, usually tabs or commas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would then use the SPLIT verb to move it to the fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 16:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992765#M953868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992766#M953869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what I thought, I had used it that way before, but I just read the help on READ DATASET and it looked like it would split it for me too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 16:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992766#M953869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T16:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992767#M953870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;   It does not consider any delimiter.&lt;/P&gt;&lt;P&gt;The structure of the t_imspo must be identical to the line structure of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: the file has some 30 characters with fixed lengths for each field, then the internal table must be defined as per the field lengths of each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin od itab occurs 0,&lt;/P&gt;&lt;P&gt;           field1(10),&lt;/P&gt;&lt;P&gt;           field2(5),&lt;/P&gt;&lt;P&gt;           field3(15),&lt;/P&gt;&lt;P&gt;        end of itab.&lt;/P&gt;&lt;P&gt;&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>Wed, 11 Jun 2008 16:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992767#M953870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T16:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Read Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992768#M953871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only way it would seperated it on the read, would be that your input "buffer" is actually a record with the exact same length and each field is the same length on the input and the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
BEGIN OF MYREC,
  fld1(10)    type c,
  fld2(10)    type n,
etc.. etc
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your input would then HAVE to be in the same format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZZZZZZZZZZ1234567890.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 16:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-dataset/m-p/3992768#M953871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-11T16:39:01Z</dc:date>
    </item>
  </channel>
</rss>

