<?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 Single quote in dynamic where condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-quote-in-dynamic-where-condition/m-p/889366#M53092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI_STUDENT_IDENTIFIC_ADD has a field called IDENTIFICATIONNUMBER.  This field is later used in a dynamic where condition and causes a short dump when it contains a single quote.  I will change the program that calls the BAPI to check for single quotes, but is there anything else I need to check for to ensure a correct where condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2005 19:19:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-05-25T19:19:40Z</dc:date>
    <item>
      <title>Single quote in dynamic where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-quote-in-dynamic-where-condition/m-p/889366#M53092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI_STUDENT_IDENTIFIC_ADD has a field called IDENTIFICATIONNUMBER.  This field is later used in a dynamic where condition and causes a short dump when it contains a single quote.  I will change the program that calls the BAPI to check for single quotes, but is there anything else I need to check for to ensure a correct where condition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2005 19:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-quote-in-dynamic-where-condition/m-p/889366#M53092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-25T19:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Single quote in dynamic where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-quote-in-dynamic-where-condition/m-p/889367#M53093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to exclude the following characters:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CONTANTS:
  c_single_quote VALUE '''',
  c_double_quote VALUE '"',
  c_asteriks     VALUE '*'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 07:14:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-quote-in-dynamic-where-condition/m-p/889367#M53093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T07:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Single quote in dynamic where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/single-quote-in-dynamic-where-condition/m-p/889368#M53094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best way to ensure correctness of syntax of a dynamic where condition is:&lt;/P&gt;&lt;P&gt;Run the program in debugging mode, Get the Query that is generated dynamically and write it to some other ABAP program and perform syntax check.&lt;/P&gt;&lt;P&gt;This will help you to remove all the syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Darshil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2005 09:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/single-quote-in-dynamic-where-condition/m-p/889368#M53094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-26T09:08:38Z</dc:date>
    </item>
  </channel>
</rss>

