<?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 regarding select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3295663#M788705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;In where clause of select statement i need to check whether material number in Numerical value only(i.e it contains only '0123456789').&lt;/P&gt;&lt;P&gt;for these i know only we use CA logical operator.&lt;/P&gt;&lt;P&gt;But my question is can we CA logical operator in select statement if not which operator will provide the same functionality of CA Operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Answers rewarded with Maximum Ponits.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2008 18:38:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-08T18:38:30Z</dc:date>
    <item>
      <title>regarding select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3295663#M788705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;In where clause of select statement i need to check whether material number in Numerical value only(i.e it contains only '0123456789').&lt;/P&gt;&lt;P&gt;for these i know only we use CA logical operator.&lt;/P&gt;&lt;P&gt;But my question is can we CA logical operator in select statement if not which operator will provide the same functionality of CA Operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Answers rewarded with Maximum Ponits.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 18:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3295663#M788705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T18:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: regarding select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3295664#M788706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Subash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally the material number is defined in the SPRO (Customizing) by the MM. In the customizing section of the material number is defined if this number should be internal (only numbers) or external (it may contain non numerical characters). You could ask your MM for information about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it's defined as an external and still you need to check if the material number only has numerical values then you need to do it off the select statement. I don't think you can check if the material number is only numerical within the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check if the material number is numerical do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab_material INTO wa_material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;len = strlen( wa_material-matnr ).&lt;/P&gt;&lt;P&gt;do len times.&lt;/P&gt;&lt;P&gt;v_c = wa_material-matnr+pos(1).&lt;/P&gt;&lt;P&gt;if NOT v_c co '0123456789'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Not numerical&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;pos = pos + 1.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gilberto Li on Jan 8, 2008 8:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 18:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-select-statement/m-p/3295664#M788706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T18:57:59Z</dc:date>
    </item>
  </channel>
</rss>

