<?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: Problem with decimal conversion in Unicode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925815#M384163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sudheer,&lt;/P&gt;&lt;P&gt;            Thanks for your reply but my questions are regarding decimal points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The questions are -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Are decimal numbers not supported by Unicode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If they are supported, then how should I change my code to handle them ( Do they have to be converted to Char type ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Feb 2007 18:03:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-16T18:03:03Z</dc:date>
    <item>
      <title>Problem with decimal conversion in Unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925813#M384161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;        I am working on ECC 6.0, SAP ABAP/BASIS ver 7.0.&lt;/P&gt;&lt;P&gt;I have got a problem in table maintenance.&lt;/P&gt;&lt;P&gt;I am trying to use the event 01 of table generator.&lt;/P&gt;&lt;P&gt;My table has got a decimal field.&lt;/P&gt;&lt;P&gt;There I am writing this code snippet.&lt;/P&gt;&lt;P&gt;It is given in SAP help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM abc.&lt;/P&gt;&lt;P&gt;DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found&lt;/P&gt;&lt;P&gt;LOOP AT TOTAL.&lt;/P&gt;&lt;P&gt;IF &amp;lt;ACTION&amp;gt; = 'N'.&lt;/P&gt;&lt;P&gt;READ TABLE EXTRACT WITH KEY &amp;lt;vim_xtotal_key&amp;gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;F_INDEX = SY-TABIX.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;CLEAR F_INDX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;*******(make desired changes to the line TOTAL)&lt;/P&gt;&lt;P&gt;*#############Code written by me##############&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE total TO ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE name1 FROM kna1 INTO ztable-name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE kunnr = ztable-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE ztable TO total.&lt;/P&gt;&lt;P&gt;*#############end of my code############&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY TOTAL.&lt;/P&gt;&lt;P&gt;CHECK F_INDX GT 0.&lt;/P&gt;&lt;P&gt;EXTRACT = TOTAL.&lt;/P&gt;&lt;P&gt;MODIFY EXTRACT INDEX F_INDX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now on execution of this code I am getting a dump on line.&lt;/P&gt;&lt;P&gt;MOVE total TO ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump message is "UC_OBJECTS_NOT_CONVERTIBLE"&lt;/P&gt;&lt;P&gt;Now when I am changing the field in the table from decimal to Numc type it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two questions-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Are decimal numbers not supported by Unicode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If they are supported, then how should I change my code to handle them ( Do they have to be converted to Char type ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 17:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925813#M384161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T17:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with decimal conversion in Unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925814#M384162</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 you write the MOVE statment, that should be Charecter type or Numeric in Unicode ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 17:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925814#M384162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T17:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with decimal conversion in Unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925815#M384163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sudheer,&lt;/P&gt;&lt;P&gt;            Thanks for your reply but my questions are regarding decimal points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The questions are -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Are decimal numbers not supported by Unicode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If they are supported, then how should I change my code to handle them ( Do they have to be converted to Char type ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 18:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925815#M384163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T18:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with decimal conversion in Unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925816#M384164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per my knowledge,&lt;/P&gt;&lt;P&gt;1) you can use the MOVE statment to Decimals in Unicode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You need to convert it to Char type before moving that field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 18:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925816#M384164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T18:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with decimal conversion in Unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925817#M384165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sudheer,&lt;/P&gt;&lt;P&gt;             While moving the values, I am capturing DEC field in CHAR.&lt;/P&gt;&lt;P&gt;Now it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mayank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 18:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-decimal-conversion-in-unicode/m-p/1925817#M384165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T18:31:36Z</dc:date>
    </item>
  </channel>
</rss>

