<?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: Overflow error. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417467#M200699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My requirement is 3digits plus 2 decimals.&lt;/P&gt;&lt;P&gt;at database level i maintained Quan 5,2.&lt;/P&gt;&lt;P&gt;Value i am not assisgning it is coming at run time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2006 11:14:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-27T11:14:39Z</dc:date>
    <item>
      <title>Overflow error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417464#M200696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI evryone,&lt;/P&gt;&lt;P&gt;my table field is as follows&lt;/P&gt;&lt;P&gt;filedname   type &lt;/P&gt;&lt;P&gt;PER         QUAN length 3 decimal 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am assigning a value to this in program. it may be possible value to assign will be 1000.91. that time overflow dump is coming.&lt;/P&gt;&lt;P&gt;please help how to handle the error in program.&lt;/P&gt;&lt;P&gt;my code is as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign component g_index of structure g_t_mspupld to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;move : g_t_excel_data-value to &amp;lt;fs&amp;gt;. " this statement is giving error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417464#M200696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Overflow error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417465#M200697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here lenght should be atleast 7.&lt;/P&gt;&lt;P&gt;the 'length' specification refers tothe total length and not the length beofre the decimals.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417465#M200697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Overflow error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417466#M200698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;length 3 decimal 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and  u   assign e 1000.91(6  decimal 2) deffinatly  it   gives  eror...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417466#M200698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Overflow error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417467#M200699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My requirement is 3digits plus 2 decimals.&lt;/P&gt;&lt;P&gt;at database level i maintained Quan 5,2.&lt;/P&gt;&lt;P&gt;Value i am not assisgning it is coming at run time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:14:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417467#M200699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Overflow error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417468#M200700</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;The way what you have declared and moving to the varibale is not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your question the destination is smaller than the source. So it will give error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417468#M200700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Overflow error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417469#M200701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just  defind  field  as 13 decimal  2.&lt;/P&gt;&lt;P&gt;or like stsndared data element (vbrk-netwr) of quantity field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:16:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417469#M200701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Overflow error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417470#M200702</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 try with the Catch , here you can handle that error.&lt;/P&gt;&lt;P&gt;what is the exact (exception)error you got in the dump.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_OVERFLOW_CATCH    message-id ZZ  .
DATA : a type i .
data: b type i,d type menge.

data: c type i.
CATCH SYSTEM-EXCEPTIONS COMPUTE_INT_TIMES_OVERFLOW  = 1.
a = 1000000.
b = 9000000.
c = a * b.
ENDCATCH.
IF sy-subrc = 1.
  Message i000 with 'Overflow Error' .
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you don't handle CATCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_without_CATCH    message-id ZZ  .
DATA : a type i .
data: b type i,d type menge.

data: c type i.

a = 1000000.
b = 9000000.
c = a * b.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just test these in your system (just copy paste it and see).&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overflow-error/m-p/1417470#M200702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:19:19Z</dc:date>
    </item>
  </channel>
</rss>

