<?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: CX_SY_ARITHMETIC_OVERFLOW different data type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730980#M2020451</link>
    <description>&lt;P&gt;Check &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the value of currency code (KOEI1) associated to the original field to get number of decimal, is this '%'&lt;/LI&gt;&lt;LI&gt;Flag Fixed Point Arithmletic of you main object (class, program, function group)&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Tue, 30 May 2023 13:54:48 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2023-05-30T13:54:48Z</dc:date>
    <item>
      <title>CX_SY_ARITHMETIC_OVERFLOW different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730979#M2020450</link>
      <description>&lt;P&gt;Hi I encountered CX_SY_ARITHMETIC_OVERFLOW&lt;/P&gt;
  &lt;P&gt;upon checking the data types vat_percentage is dec and kbetr is curr&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2169373-image.png" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2169374-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2169378-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2169379-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Please help thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 12:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730979#M2020450</guid>
      <dc:creator>calvinkarlo</dc:creator>
      <dc:date>2023-05-30T12:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_ARITHMETIC_OVERFLOW different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730980#M2020451</link>
      <description>&lt;P&gt;Check &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the value of currency code (KOEI1) associated to the original field to get number of decimal, is this '%'&lt;/LI&gt;&lt;LI&gt;Flag Fixed Point Arithmletic of you main object (class, program, function group)&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 30 May 2023 13:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730980#M2020451</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-05-30T13:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_ARITHMETIC_OVERFLOW different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730981#M2020452</link>
      <description>&lt;P&gt;Yes this is for '%'&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 14:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730981#M2020452</guid>
      <dc:creator>calvinkarlo</dc:creator>
      <dc:date>2023-05-30T14:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_ARITHMETIC_OVERFLOW different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730982#M2020453</link>
      <description>&lt;P&gt;Check the error syntax. But even that is not needed.&lt;/P&gt;&lt;P&gt;CX_SY_ARITHMETIC_OVERFLOW means "this value is too large for this variable".&lt;/P&gt;&lt;P&gt;10000 / 10 = 1000&lt;/P&gt;&lt;P&gt;Your variable is defined as DEC 5/2, so it's five positions with two decimal, ergo from -999,99 to 999,99.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 07:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730982#M2020453</guid>
      <dc:creator>VXLozano</dc:creator>
      <dc:date>2023-05-31T07:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: CX_SY_ARITHMETIC_OVERFLOW different data type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730983#M2020454</link>
      <description>&lt;P&gt;Also maybe it's a more complex case if the Fixed Point Arithmetic flag is not selected in the program attributes (means the decimals are ignored), as Raymond suggested. The analysis is different if we ignore the decimals but comes to the same conclusion: the division of 1,000,000 (1 million) by 10 gives 100,000 (1 hundred thousands), which can't be stored as the maximum is 99,999 (1 hundred thousands minus 1).&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 16:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cx-sy-arithmetic-overflow-different-data-type/m-p/12730983#M2020454</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-05-31T16:37:40Z</dc:date>
    </item>
  </channel>
</rss>

