<?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 using read_text and populating data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-read-text-and-populating-data/m-p/1756153#M327581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using the function module READ_TEXT, we can get the output, say for example in output into i_line, which will be of 132 character in length. now this i_line may contain several rows. For example 5 rows of 132 charaters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now all i have to do is i am creating a itab_text.&lt;/P&gt;&lt;P&gt;types:begin of t_text,&lt;/P&gt;&lt;P&gt;text(60) type c,&lt;/P&gt;&lt;P&gt;end of t_text.&lt;/P&gt;&lt;P&gt;data:itab_text type standard table of t_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  From first row of  i_line 132 char, take first 60 char and append it into  itab_text&lt;/P&gt;&lt;P&gt;  From first row of  i_line 132 char, take second 60 char and append it into  itab_text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  From first row of  i_line 132 char, take remaining 12 char and &lt;/P&gt;&lt;P&gt;  From second row of  i_line 132 char take first 48 char append it into  itab_text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  From second row of  i_line 132 char, take 60 char (excluding first 48 char) and append it into  itab_text.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; From second row of  i_line 132 char, take last 24 char from second row and get 36 char  from the third row so that the total length is 60 chat and append to itab_text.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;My actual aim is to fill the internal table ITAB_TEXT with 60 char in each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2006 16:08:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-12T16:08:22Z</dc:date>
    <item>
      <title>using read_text and populating data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-read-text-and-populating-data/m-p/1756153#M327581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using the function module READ_TEXT, we can get the output, say for example in output into i_line, which will be of 132 character in length. now this i_line may contain several rows. For example 5 rows of 132 charaters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now all i have to do is i am creating a itab_text.&lt;/P&gt;&lt;P&gt;types:begin of t_text,&lt;/P&gt;&lt;P&gt;text(60) type c,&lt;/P&gt;&lt;P&gt;end of t_text.&lt;/P&gt;&lt;P&gt;data:itab_text type standard table of t_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  From first row of  i_line 132 char, take first 60 char and append it into  itab_text&lt;/P&gt;&lt;P&gt;  From first row of  i_line 132 char, take second 60 char and append it into  itab_text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  From first row of  i_line 132 char, take remaining 12 char and &lt;/P&gt;&lt;P&gt;  From second row of  i_line 132 char take first 48 char append it into  itab_text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  From second row of  i_line 132 char, take 60 char (excluding first 48 char) and append it into  itab_text.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; From second row of  i_line 132 char, take last 24 char from second row and get 36 char  from the third row so that the total length is 60 chat and append to itab_text.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;My actual aim is to fill the internal table ITAB_TEXT with 60 char in each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 16:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-read-text-and-populating-data/m-p/1756153#M327581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T16:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: using read_text and populating data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-read-text-and-populating-data/m-p/1756154#M327582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pass the output of READ_TEXT to FORMAT_TEXTLINES along with 60 char length. It will give you a table with 60 char's in each line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2006 16:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-read-text-and-populating-data/m-p/1756154#M327582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-12T16:11:53Z</dc:date>
    </item>
  </channel>
</rss>

