<?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: maximum length of a variable  that is declared as string. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737397#M320688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The length of a string is not static but variable and adjusts itself to the current field content at runtime. Dynamic memory management is used internally. Strings can have any length. The initial value of a string is an empty string with length 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2006 04:20:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-21T04:20:37Z</dc:date>
    <item>
      <title>maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737396#M320687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we declare a variable as suppose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:name types string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then what is the maximum length of the data can be stored in name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you&lt;/P&gt;&lt;P&gt;Chandrika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737396#M320687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T04:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737397#M320688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The length of a string is not static but variable and adjusts itself to the current field content at runtime. Dynamic memory management is used internally. Strings can have any length. The initial value of a string is an empty string with length 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:20:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737397#M320688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T04:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737398#M320689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;intially the value of the string is '0',&lt;/P&gt;&lt;P&gt;at the run time the legth of the string is equal  to the filed length specified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GUDURI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737398#M320689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T04:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737399#M320690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandrika,&lt;/P&gt;&lt;P&gt;You can store data upto 2 GB inside a string variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chetan.&lt;/P&gt;&lt;P&gt;PS:Reward points if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737399#M320690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T04:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737400#M320691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two predefined types in ABAP with variable length: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STRING for character strings &lt;/P&gt;&lt;P&gt;XSTRING for byte strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for more information.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3357358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3357358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737400#M320691</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-12-21T04:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737401#M320692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarath , &lt;/P&gt;&lt;P&gt;   There is a limit to the length of the sting , i feel it is based on the basis settings , how much memory is allocated to various areas.&lt;/P&gt;&lt;P&gt;For e.g consider the program&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data : vlabst type  string.

vlabst = '000000000000000000000000000000000000000000000000000000000000'.
do 50 times.
concatenate vlabst vlabst into vlabst.
enddo.
write: vlabst.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the program dumps , if i execute it this way , but if i change the do statement and do the iteration 10 times it works.&lt;/P&gt;&lt;P&gt;So please ask your basis team about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737401#M320692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T04:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737402#M320693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A string is a sequence of characters with variable length. A string can contain any number of alphanumeric characters. The length of a string is the number of characters multiplied by the length required for the internal representation of a single character&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a string as a data object, only a string header is created statically. This contains administrative information. The actual data objects are created and modified dynamically at runtime by operational statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The initial value of a string is the empty string with length 0. A structure that contains a string is handled like a deep structure. This means that there are no conversion rules for structures that contain strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a helpful link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb2fcc358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sourabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737402#M320693</guid>
      <dc:creator>sourabhshah</dc:creator>
      <dc:date>2006-12-21T04:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: maximum length of a variable  that is declared as string.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737403#M320694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarath , &lt;/P&gt;&lt;P&gt;  Please try to execute the code which i have given in my previous post and please tell does it also dump in your system.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 04:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maximum-length-of-a-variable-that-is-declared-as-string/m-p/1737403#M320694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T04:37:23Z</dc:date>
    </item>
  </channel>
</rss>

