<?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: file content into a string in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609960#M273585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me wait for other replies....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2006 00:00:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-03T00:00:31Z</dc:date>
    <item>
      <title>file content into a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609958#M273583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want the total records present in a file into a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a logic as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. selecting a file with function module F4_FILENAME &lt;/P&gt;&lt;P&gt;2. get the records into a table using the WS_UPLOAD &lt;/P&gt;&lt;P&gt;3. processing the itab and passing into a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two questions,&lt;/P&gt;&lt;P&gt;1.Is there a better way than which i am using?&lt;/P&gt;&lt;P&gt;2.How much content a string can hold?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help in this regard is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 23:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609958#M273583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T23:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: file content into a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609959#M273584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are doing is the best way, to my knowlege, there is no limit to the length of the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 23:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609959#M273584</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-02T23:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: file content into a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609960#M273585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me wait for other replies....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz Ali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 00:00:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609960#M273585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T00:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: file content into a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609961#M273586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The length of the string is not static and adjusts the length to the current field content at runtime.&lt;/P&gt;&lt;P&gt;So a string can have any length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, try using GUI_UPLOAD instead of WS_UPLOAD. &lt;/P&gt;&lt;P&gt;In this function module you can also specify the field separator. Field separator would be helpful in distinguishing the fields of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manasee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 00:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609961#M273586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T00:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: file content into a string</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609962#M273587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know of  Max limit for data type string but for lengths beyond 65535 data type char cannot be used &amp;amp; string is the only option..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 00:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/file-content-into-a-string/m-p/1609962#M273587</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-10-03T00:18:12Z</dc:date>
    </item>
  </channel>
</rss>

