<?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: Issue with CA operator in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890950#M1889019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for your help Kalyan. Indeed it was issue with additional space. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 12:30:15 GMT</pubDate>
    <dc:creator>former_member295881</dc:creator>
    <dc:date>2015-03-04T12:30:15Z</dc:date>
    <item>
      <title>Issue with CA operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890944#M1889013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a requirement, where I need to do validation on a field (gv_test1), which stored my results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I'm trying to do, is to check that if my variable 'gv_test1' has any special characters, which I've stored in a constant c_valchk. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, here is my code.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;constants&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;: c_valchk&lt;SPAN class="L0S55"&gt;(&lt;SPAN class="L0S32"&gt;35&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;c &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'&amp;lt;&amp;gt;?/`,./!@#$%&amp;amp;*-_+=~|\[{]}()"'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S55"&gt;&lt;SPAN class="L0S52"&gt;data&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;gv_test1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;char10&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if gv_test1 &lt;SPAN class="L0S52"&gt;ca &lt;/SPAN&gt;c_valchk&lt;SPAN class="L0S55"&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"ca&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;clear&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;pwa_index_h1_postalcode&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;else&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pwa_index_h1_postalcode &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;gv_test1&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, always my code goes and clear value in '&lt;SPAN class="L0S52"&gt;pwa_index_h1_postalcode&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;' field, even when '&lt;SPAN class="L0S52"&gt;gv_test1' doesn't contain any special character. It never ever goes and copy value &lt;SPAN class="L0S52"&gt;gv_test1 to &lt;SPAN class="L0S52"&gt;pwa_index_h1_postalcode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody see what mistake I'm making in my above code, and how to rectify it, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 00:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890944#M1889013</guid>
      <dc:creator>former_member295881</dc:creator>
      <dc:date>2015-03-04T00:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CA operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890945#M1889014</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;Just check if any of the wildcard values maybe impacting the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values like * % &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd try with just one invalid value at a time and test that, build up the string of invalid values as the testing is successful&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;Arden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 00:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890945#M1889014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-04T00:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CA operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890946#M1889015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zero,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It`s due to the left leading blank. See &lt;SPAN style="color: #333333; font-size: 12px;"&gt;c_valchk&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;(&lt;SPAN class="L0S32" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;35&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;) length is 35, but actually only have 29 char, so other will fill with left leading blank. And your &lt;SPAN style="color: #333333; font-size: 12px;"&gt;gv_test1 length is 10, if value is '1234567890', no blank, then it will copy value to &lt;SPAN style="color: #333333; font-size: 12px;"&gt;pwa_index_h1_postalcode.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; background: transparent; font-size: 12px; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; background: transparent; font-size: 12px; font-family: inherit; font-weight: inherit;"&gt;regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; background: transparent; font-size: 12px; font-family: inherit; font-weight: inherit;"&gt;Archer&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 02:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890946#M1889015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-04T02:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CA operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890947#M1889016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can always directly use&lt;/P&gt;&lt;P&gt;IF gv_test1 CA '&amp;lt;&amp;gt;?_' .&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Instead of using using a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR change to c_valchk(29) instead of (35).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 03:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890947#M1889016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-03-04T03:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CA operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890948#M1889017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or better use STRING.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 06:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890948#M1889017</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2015-03-04T06:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CA operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890949#M1889018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Archer and all others for your valuable input. Indeed it was length, which was causing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890949#M1889018</guid>
      <dc:creator>former_member295881</dc:creator>
      <dc:date>2015-03-04T12:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with CA operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890950#M1889019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for your help Kalyan. Indeed it was issue with additional space. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 12:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-ca-operator/m-p/10890950#M1889019</guid>
      <dc:creator>former_member295881</dc:creator>
      <dc:date>2015-03-04T12:30:15Z</dc:date>
    </item>
  </channel>
</rss>

