<?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: Character to Numeric in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124765#M1364224</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;For the conversion between the Character and a Numeric Value, the source field must contain numeric values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the Application help which states &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The source field must contain a number in mathematical or commercial notation. Exception: A source field that contains only blank characters is interpreted as the number zero. Scientific notation is not allowed, unless it can be interpreted as mathematical notation. Decimal places are rounded to whole-numbered values. If the number lies within the value range of data types i, b or s, it is converted into the corresponding internal representation of an integral number, otherwise the treatable exception CX_SY_CONVERSION_OVERFLOW occurs." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the other conversion rules which will suit your need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Samantak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2009 05:50:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-04T05:50:56Z</dc:date>
    <item>
      <title>Character to Numeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124762#M1364221</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;      I have a field in an Itab which is of Character Data Type and it has been used to Upload the Data using BDC. and the Problem is, while using that character field for relational operator check, it troughs an DUMP error CONVERTION_ERROR at Background but the report executes fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wk_char type c. or wk_cahr type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I have tried using the Data Type N. but then to the same DUMP error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     How to solve this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    is it right to assign the character field to Interger field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; wk_char type c. or wk_cahr type n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wk_int type i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wk_int = wk_char. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will it works to solve the above error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Kv&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wk_char type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 04:41:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124762#M1364221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-04T04:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Character to Numeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124763#M1364222</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;This Dump occurs because of type conversion.&lt;/P&gt;&lt;P&gt;instead of giving &lt;/P&gt;&lt;P&gt;wk_int type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you declare it as &lt;/P&gt;&lt;P&gt;wk_int type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then pass the values&lt;/P&gt;&lt;P&gt;wk_int = wk_char. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the dump will not occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinu.R.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 05:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124763#M1364222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-04T05:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Character to Numeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124764#M1364223</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;You can use a FM for your problem as : &lt;STRONG&gt;MOVE_CHAR_TO_NUM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Declare one more variable to pass this value as numeric for comparison.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just declare the field as type c and before using for comparison, use this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 05:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124764#M1364223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-04T05:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Character to Numeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124765#M1364224</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;For the conversion between the Character and a Numeric Value, the source field must contain numeric values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the Application help which states &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The source field must contain a number in mathematical or commercial notation. Exception: A source field that contains only blank characters is interpreted as the number zero. Scientific notation is not allowed, unless it can be interpreted as mathematical notation. Decimal places are rounded to whole-numbered values. If the number lies within the value range of data types i, b or s, it is converted into the corresponding internal representation of an integral number, otherwise the treatable exception CX_SY_CONVERSION_OVERFLOW occurs." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the other conversion rules which will suit your need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Samantak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 05:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124765#M1364224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-04T05:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Character to Numeric</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124766#M1364225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Fun mod:  'MOVE_CHAR_TO_NUM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2009 07:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/character-to-numeric/m-p/6124766#M1364225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-04T07:39:17Z</dc:date>
    </item>
  </channel>
</rss>

