<?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: Runtime Error while using Dynamic Selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683344#M1576212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just gave SVC's as an example. The value will be dynamic it can be abcd's pqrs's or anything like this. and i don't know how many apostrophes will be there for that particular line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 16:46:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-02T16:46:46Z</dc:date>
    <item>
      <title>Runtime Error while using Dynamic Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683342#M1576210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  We are getting a runtime error while using a dynamic selection. One of the fields has got an apostrophe in the middle of the text and so the condition is returning an error SAPSQL_WHERE_PARANTHESES. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Let's say the value in the field is SCV's. So the WHERETAB is filled as 'SCV's' or `SCV's`. An exception is caught in this case as there is no closing apostrophe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Let us know if anyone has come across a similar issue and any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 16:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683342#M1576210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T16:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error while using Dynamic Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683343#M1576211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concatenate &lt;STRONG&gt;'SCV' `'` 's'&lt;/STRONG&gt; into var. now try using var in your where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or build a range with option CP, the value in low must be like &lt;STRONG&gt;SCV+S&lt;/STRONG&gt;. Later after selecting you can filter it with comparing the apostrophe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 16:43:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683343#M1576211</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-02-02T16:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error while using Dynamic Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683344#M1576212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just gave SVC's as an example. The value will be dynamic it can be abcd's pqrs's or anything like this. and i don't know how many apostrophes will be there for that particular line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 16:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683344#M1576212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T16:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error while using Dynamic Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683345#M1576213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can use ranges where you have to replaace all the apostrophes with *. Then in options you have to use CP.&lt;/P&gt;&lt;P&gt;after select filter the entries based on the actual apostrophe values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 16:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683345#M1576213</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-02-02T16:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error while using Dynamic Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683346#M1576214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to parse the text that you are concatenating into your dynamic WHERE an replace all occurrences of ' with '' (two single quotes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 16:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683346#M1576214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T16:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Error while using Dynamic Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683347#M1576215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarves,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as Rob said. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check also the [ORACLE FAQS|http://www.orafaq.com/faq/how_does_one_escape_special_characters_when_writing_sql_queries] or [SQL SERVER u2013 How to Escape Single Quotes|http://blog.sqlauthority.com/2008/02/17/sql-server-how-to-escape-single-quotes-fix-error-105-unclosed-quotation-mark-after-the-character-string/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Honestly: Before posting here and getting a whole lot of more or less useless comments just use your favorite search engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 21:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-while-using-dynamic-selection/m-p/7683347#M1576215</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-02-02T21:08:23Z</dc:date>
    </item>
  </channel>
</rss>

