<?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: Convert Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660778#M881760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for the replies.&lt;/P&gt;&lt;P&gt;Is there any FM can handle the NUM data to P conversion??&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2008 03:31:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-14T03:31:14Z</dc:date>
    <item>
      <title>Convert Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660775#M881757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  When i put a NUM variable as a denominator,  the system returns  error: CONVT_NO_NUMBER  CX_SY_CONVERSION_NO_NUMBER.  &lt;/P&gt;&lt;P&gt;   The value of the variable is 1,100.  Should convert the variable prior doing the calculation??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 03:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660775#M881757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T03:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660776#M881758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you declared your variable as type N. If then change it to type i or any other number format.&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 03:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660776#M881758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T03:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660777#M881759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For arithmatic opreations system tries to convert all non numeric types to either I F or P type. if conversion fails, error is raised. So it is better to use I F or P type variables for doing arithmatic operations to avoid conversion errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 03:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660777#M881759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T03:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660778#M881760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for the replies.&lt;/P&gt;&lt;P&gt;Is there any FM can handle the NUM data to P conversion??&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 03:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660778#M881760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T03:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660779#M881761</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;do this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report ztemp1.
data: b(10) type n,
      d TYPE p DECIMALS 3.

 b = '0000000300'.
 d = b.

write : / b,
         / d.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can convert NUMC to Integer also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : numcvar type t052-tag1. " here t052-tag1 is of type NUMC
Data: Var type i.

Move numcvar to var.

Write var. " integer value of NUMC value
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward points if useful..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 03:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-error/m-p/3660779#M881761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T03:51:53Z</dc:date>
    </item>
  </channel>
</rss>

