<?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 getting a single quot into a variable. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-a-single-quot-into-a-variable/m-p/903613#M55687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;getting a single quot into a variable.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;I have a condition where I am dynamically constructing an IF condition, and passing it to my subroutine pool. My IF condition exceeds text literal maximum length. I cut it up into segments and wrote out the code in segments. This is not acceptable when the break is IN A TEXT LITERAL. ex.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF BSEG-KUNNR EQ '2322093' OR BSEG-KUNNR EQ '330938'.
  gets broken up into 
IF BSEG-KUNNR EQ '2322093' OR BSEG-KUNNR EQ '33
0938'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; What I am doing instead is getting every 2 character piece of the string IFSTRING and trying to check if that 2 character string equals [' ]. That's just a single quote and a space. That would indicate the end of a single comparison. I tried comparing it to ` , ''', '` ', and others:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MOVE IFSTRING+OFF(CURLENGTH) INTO lt_string.
IF lt_string eq '` '.
 APPEND OFF TO BREAKREFERENCES.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;b&amp;gt;Does anyone know how to move a single quote to a variable&amp;lt;/b&amp;gt;? so i can concatenate &amp;lt;singlequot&amp;gt; &amp;amp; &amp;lt;singlespace&amp;gt; into comparisonstring.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2005 19:13:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-27T19:13:10Z</dc:date>
    <item>
      <title>getting a single quot into a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-a-single-quot-into-a-variable/m-p/903613#M55687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;getting a single quot into a variable.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;I have a condition where I am dynamically constructing an IF condition, and passing it to my subroutine pool. My IF condition exceeds text literal maximum length. I cut it up into segments and wrote out the code in segments. This is not acceptable when the break is IN A TEXT LITERAL. ex.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF BSEG-KUNNR EQ '2322093' OR BSEG-KUNNR EQ '330938'.
  gets broken up into 
IF BSEG-KUNNR EQ '2322093' OR BSEG-KUNNR EQ '33
0938'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; What I am doing instead is getting every 2 character piece of the string IFSTRING and trying to check if that 2 character string equals [' ]. That's just a single quote and a space. That would indicate the end of a single comparison. I tried comparing it to ` , ''', '` ', and others:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MOVE IFSTRING+OFF(CURLENGTH) INTO lt_string.
IF lt_string eq '` '.
 APPEND OFF TO BREAKREFERENCES.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;b&amp;gt;Does anyone know how to move a single quote to a variable&amp;lt;/b&amp;gt;? so i can concatenate &amp;lt;singlequot&amp;gt; &amp;amp; &amp;lt;singlespace&amp;gt; into comparisonstring.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2005 19:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-a-single-quot-into-a-variable/m-p/903613#M55687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-27T19:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: getting a single quot into a variable.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-a-single-quot-into-a-variable/m-p/903614#M55688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: s type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
s = ''''.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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>Wed, 27 Apr 2005 19:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-a-single-quot-into-a-variable/m-p/903614#M55688</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-04-27T19:17:19Z</dc:date>
    </item>
  </channel>
</rss>

