<?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 variable update using string concatenation itself. Is this a bug ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173934#M1979206</link>
    <description>&lt;P&gt;As in the screenshot, at line 5, it gives me the expected output,&lt;/P&gt;
  &lt;P&gt;but I was expecting the same at line 6. Why iv_text updates itself in mid way of right expressing. In my opinion, it should evaluate the right expression completely and then update the variable itself.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1802755-buggy.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 11:28:08 GMT</pubDate>
    <dc:creator>PRAGSMATIC</dc:creator>
    <dc:date>2020-04-28T11:28:08Z</dc:date>
    <item>
      <title>variable update using string concatenation itself. Is this a bug ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173934#M1979206</link>
      <description>&lt;P&gt;As in the screenshot, at line 5, it gives me the expected output,&lt;/P&gt;
  &lt;P&gt;but I was expecting the same at line 6. Why iv_text updates itself in mid way of right expressing. In my opinion, it should evaluate the right expression completely and then update the variable itself.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1802755-buggy.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 11:28:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173934#M1979206</guid>
      <dc:creator>PRAGSMATIC</dc:creator>
      <dc:date>2020-04-28T11:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: variable update using string concatenation itself. Is this a bug ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173935#M1979207</link>
      <description>&lt;P&gt;replace this line&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data(lv_text) = `Z_CLAIM_500_EMAIL`&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;' --&amp;gt; Char&lt;/P&gt;&lt;P&gt;`--&amp;gt; string&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 11:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173935#M1979207</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-04-28T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: variable update using string concatenation itself. Is this a bug ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173936#M1979208</link>
      <description>&lt;P&gt;Please post the code as text instead of image, so that one can easily answer by testing your code.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 12:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173936#M1979208</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-04-28T12:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: variable update using string concatenation itself. Is this a bug ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173937#M1979209</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;anurag.gupta.home24&lt;/SPAN&gt; When you write this inline declaration:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data(lv_text) = 'Z_CLAIM_500_EMAIL'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the ABAP compiler declares LV_TEXT as a variable of type C and length 17 (because there are 17 characters in the right-hand side).&lt;/P&gt;&lt;P&gt;It means that LV_TEXT can never have more than 17 characters at runtime, any longer text assigned to it will be truncated.&lt;/P&gt;&lt;P&gt;Solution: do as Frederic said.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 12:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-update-using-string-concatenation-itself-is-this-a-bug/m-p/12173937#M1979209</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-04-28T12:11:24Z</dc:date>
    </item>
  </channel>
</rss>

