<?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 Make a variable into a string literal in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-into-a-string-literal/m-p/9015619#M1698985</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;this may be a very trivial question - nevertheless it's bothering me quite a bit: I have a parameter "Lang", imported from Memory, that holds a language key, 'DE' or 'EN' for instance. Now I want to use this in a Join-expression: A Join expression between any table (e.g. T528B) and its text_table (T528T here) can/ must include a language filter so that the key is really unique and only the one record in the selected language is found. For that to work, however, the language key must be in quotes: &amp;gt; T528T~SPRSL = 'DE' &amp;lt; is valid, &amp;gt; T528T~SPRSL = DE &amp;lt; is not.&lt;/P&gt;&lt;P&gt;A seemingly very simple problem - I have read that string_literals in ABAP commonly use backquotes and that in order to display a backquote, I have to type two backquotes in sequence. Only I'm afraid it doesn't work:&lt;/P&gt;&lt;P&gt;At this point, I have a FIELD-SYMBOL that has the language key, so I say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE `` &amp;lt;LG&amp;gt; `` INTO Joinline_pre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My hope was that Joinline_pre would then read 'DE' (if the language key in the field-symbol was DE) or 'EN' - but apparently it doesn't: In the debugger, the backquotes don't show up and a subsequent command fails which can only be because of this as nothing else has changed right now.&lt;/P&gt;&lt;P&gt;Can anybody help me out there please?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2012 17:18:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-30T17:18:44Z</dc:date>
    <item>
      <title>Make a variable into a string literal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-into-a-string-literal/m-p/9015619#M1698985</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;this may be a very trivial question - nevertheless it's bothering me quite a bit: I have a parameter "Lang", imported from Memory, that holds a language key, 'DE' or 'EN' for instance. Now I want to use this in a Join-expression: A Join expression between any table (e.g. T528B) and its text_table (T528T here) can/ must include a language filter so that the key is really unique and only the one record in the selected language is found. For that to work, however, the language key must be in quotes: &amp;gt; T528T~SPRSL = 'DE' &amp;lt; is valid, &amp;gt; T528T~SPRSL = DE &amp;lt; is not.&lt;/P&gt;&lt;P&gt;A seemingly very simple problem - I have read that string_literals in ABAP commonly use backquotes and that in order to display a backquote, I have to type two backquotes in sequence. Only I'm afraid it doesn't work:&lt;/P&gt;&lt;P&gt;At this point, I have a FIELD-SYMBOL that has the language key, so I say&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE `` &amp;lt;LG&amp;gt; `` INTO Joinline_pre.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My hope was that Joinline_pre would then read 'DE' (if the language key in the field-symbol was DE) or 'EN' - but apparently it doesn't: In the debugger, the backquotes don't show up and a subsequent command fails which can only be because of this as nothing else has changed right now.&lt;/P&gt;&lt;P&gt;Can anybody help me out there please?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 17:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-into-a-string-literal/m-p/9015619#M1698985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-30T17:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Make a variable into a string literal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-into-a-string-literal/m-p/9015620#M1698986</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;okay, I've made it after a lot of trial-and-error by using a string-literal out of a single quote by enclosing that in backquotes.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 17:24:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-a-variable-into-a-string-literal/m-p/9015620#M1698986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-30T17:24:42Z</dc:date>
    </item>
  </channel>
</rss>

