<?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: reading file into a single variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628898#M1281759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Yes its is possible.&lt;/P&gt;&lt;P&gt;If there are multiple lines, then you can concantenate them using a STRING type variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_string type string.&lt;/P&gt;&lt;P&gt;call function 'GUI_UPLOAD' to get the data of the file into a itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;concatenate itab-data v_string into v_string.&lt;/P&gt;&lt;P&gt;endloop.&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, 06 May 2009 09:10:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-06T09:10:53Z</dc:date>
    <item>
      <title>reading file into a single variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628897#M1281758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. is it possible to  get the contents of  .txt file(local machine) into a single variable say l_data.&lt;/P&gt;&lt;P&gt;    --&amp;gt;  the length is greated than 255 (since it is a file )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. how can i concatenate the  data from a internal table ( with only 1 field of type raw)into a single variable say l_xstr. &lt;/P&gt;&lt;P&gt; tried :::: the keyword CONCATENATE is applicateble only to data types C,N,String etc... and not for binary data i.e RAW type of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628897#M1281758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: reading file into a single variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628898#M1281759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Yes its is possible.&lt;/P&gt;&lt;P&gt;If there are multiple lines, then you can concantenate them using a STRING type variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_string type string.&lt;/P&gt;&lt;P&gt;call function 'GUI_UPLOAD' to get the data of the file into a itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;concatenate itab-data v_string into v_string.&lt;/P&gt;&lt;P&gt;endloop.&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, 06 May 2009 09:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628898#M1281759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: reading file into a single variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628899#M1281760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone tell me how to concatenate data of type RAW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628899#M1281760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: reading file into a single variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628900#M1281761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i found the solution &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use CONCATENATE ...... IN BYTE MODE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2009 09:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-file-into-a-single-variable/m-p/5628900#M1281761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-06T09:30:34Z</dc:date>
    </item>
  </channel>
</rss>

