<?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: Data Type for String... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-for-string/m-p/4172426#M997474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: var1 type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE C - Stores only 1 char by default. You may declare fixed length by saying &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: VAR1(10) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To store variable length use TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SKJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2008 18:26:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-23T18:26:28Z</dc:date>
    <item>
      <title>Data Type for String...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-for-string/m-p/4172425#M997473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to hold text data in an internal table.&lt;/P&gt;&lt;P&gt;So I created a structure as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: begin of str,&lt;/P&gt;&lt;P&gt;          val type c,&lt;/P&gt;&lt;P&gt;        end of str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later when I go and add text values to the internal table,it displayes only the first character of the texts that I append.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I define the length of "C"?or which data type can I use to store strings of variable length?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone pelase help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 18:24:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-for-string/m-p/4172425#M997473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T18:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type for String...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-for-string/m-p/4172426#M997474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: var1 type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE C - Stores only 1 char by default. You may declare fixed length by saying &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: VAR1(10) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To store variable length use TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SKJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 18:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-for-string/m-p/4172426#M997474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T18:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type for String...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-for-string/m-p/4172427#M997475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 18:29:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-type-for-string/m-p/4172427#M997475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-23T18:29:28Z</dc:date>
    </item>
  </channel>
</rss>

