<?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: validate field as numeric or amount? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-field-as-numeric-or-amount/m-p/6019748#M1347431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: string TYPE char30 VALUE 'ABWI100/200-12-45M-100'.

WHILE string CN '1234567890 '. " there is a space at the end... have all the characters what you want to see the string..
  string+sy-fdpos(1) = space.
ENDWHILE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: string TYPE char30 VALUE '0.00'.

WHILE string CN '1234567890. '.
  string+sy-fdpos(1) = space.
ENDWHILE.
CONDENSE string.
WRITE: string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2009 22:43:34 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2009-08-12T22:43:34Z</dc:date>
    <item>
      <title>validate field as numeric or amount?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-field-as-numeric-or-amount/m-p/6019747#M1347430</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;&lt;/P&gt;&lt;P&gt;how can i know if a field is numeric or an amount, the thing is that i am looping a tabla dinamicly (sry about my spanglish). ok well and im trying to do the next validation &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if -field the value is 0.00 and doesn´t "do something".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gretts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 22:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-field-as-numeric-or-amount/m-p/6019747#M1347430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-12T22:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: validate field as numeric or amount?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-field-as-numeric-or-amount/m-p/6019748#M1347431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: string TYPE char30 VALUE 'ABWI100/200-12-45M-100'.

WHILE string CN '1234567890 '. " there is a space at the end... have all the characters what you want to see the string..
  string+sy-fdpos(1) = space.
ENDWHILE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: string TYPE char30 VALUE '0.00'.

WHILE string CN '1234567890. '.
  string+sy-fdpos(1) = space.
ENDWHILE.
CONDENSE string.
WRITE: string.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 22:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-field-as-numeric-or-amount/m-p/6019748#M1347431</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-08-12T22:43:34Z</dc:date>
    </item>
  </channel>
</rss>

