<?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: Function module used to check if the data is numeric or alphanumeric in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153032#M1193963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are options of 6 and 10 points also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S Also please dont cross post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2009 14:30:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-23T14:30:10Z</dc:date>
    <item>
      <title>Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153022#M1193953</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;Kindly let me know which fumction module is used to check if the data is numeric of alpha numeric ?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Akanksha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 12:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153022#M1193953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T12:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153023#M1193954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akanksha,&lt;/P&gt;&lt;P&gt;simply check..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF wa_var CO '0123456789'&lt;/P&gt;&lt;P&gt;  "numeric &lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  "alphanumeric or char only&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 12:19:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153023#M1193954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153024#M1193955</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;If its a field or variable you can use CO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variable CO '0123456789'&lt;/P&gt;&lt;P&gt;then its numeric &lt;/P&gt;&lt;P&gt;else not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 12:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153024#M1193955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T12:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153025#M1193956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF V_DATA CO '0123456789'.
WRITE: 'NUMERIC'.
ELSEIF V_DATA CO SYABCDE.
WRITE: 'ALPHABETS ONLY'.
ELSE.
WRITE: 'ALPHANUMERIC'.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per other posts, you cannot determine if V_DATA contains only alphabets !!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 12:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153025#M1193956</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-23T12:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153026#M1193957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a Lot !!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i ve found out that its alpha numeric , i need to remove the preceeding zero's from the alphanumeric data . &lt;/P&gt;&lt;P&gt;Can u please help me out how can i do it ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Akanksha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 13:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153026#M1193957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T13:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153027#M1193958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way:&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHILE p_no CN '123456789 '.
    p_no+sy-fdpos(1) = space.
  ENDWHILE.
  CONDENSE p_no NO-GAPS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 13:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153027#M1193958</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-01-23T13:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153028#M1193959</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;its not working with CONDENSE . &lt;/P&gt;&lt;P&gt;Can you suggest me something else .&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;AKanksha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 14:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153028#M1193959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T14:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153029#M1193960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Now when i ve found out that its alpha numeric &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark the appropriate rewards for this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;i need to remove the preceeding zero's from the alphanumeric data .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search in SCN for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 14:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153029#M1193960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T14:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153030#M1193961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a Lot for your help !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 14:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153030#M1193961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T14:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153031#M1193962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: p_no(10) TYPE n VALUE '000012345'.

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
  EXPORTING
    input  = p_no
  IMPORTING
    output = p_no.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 14:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153031#M1193962</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-01-23T14:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153032#M1193963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are options of 6 and 10 points also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S Also please dont cross post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 14:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153032#M1193963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T14:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function module used to check if the data is numeric or alphanumeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153033#M1193964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
data: numfld(10)   type c value '0000012345'.

shift numfld left deleting leading '0'.

* if you need it back to right justified within the field.... 
shift numfld right deleting trailing space.

write numfld.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2009 14:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-used-to-check-if-the-data-is-numeric-or-alphanumeric/m-p/5153033#M1193964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-23T14:59:53Z</dc:date>
    </item>
  </channel>
</rss>

