<?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 Short dump when division in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-division/m-p/1868114#M365753</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;Im using a FM CLAF_CLASSIFICATION_OF_OBJECT to get the material classfication view values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table it_out is filled by the FM . now i have to calculate PC per carton, so i have to perform a division.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it_out-ausp1 has got the number, But not all the time, Im also getting values like ?,  '  ', 220F, 55F and so on .  Now if i do a division operation , its throwing me a short dump Unable to interpret ? as a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_out.&lt;/P&gt;&lt;P&gt;if it_out-smbez = 'FIBROUS STICK LENGTH'.&lt;/P&gt;&lt;P&gt;move it_out-ausp1 to ausp11.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if it_out-smbez = 'CARTON QUANTITY'.&lt;/P&gt;&lt;P&gt;move it_out-ausp1 to ausp12.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;it_final-pcpercar = ausp12  / ausp11.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly letme know some possible solution to overcome this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jan 2007 18:09:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-06T18:09:01Z</dc:date>
    <item>
      <title>Short dump when division</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-division/m-p/1868114#M365753</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;Im using a FM CLAF_CLASSIFICATION_OF_OBJECT to get the material classfication view values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table it_out is filled by the FM . now i have to calculate PC per carton, so i have to perform a division.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it_out-ausp1 has got the number, But not all the time, Im also getting values like ?,  '  ', 220F, 55F and so on .  Now if i do a division operation , its throwing me a short dump Unable to interpret ? as a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_out.&lt;/P&gt;&lt;P&gt;if it_out-smbez = 'FIBROUS STICK LENGTH'.&lt;/P&gt;&lt;P&gt;move it_out-ausp1 to ausp11.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if it_out-smbez = 'CARTON QUANTITY'.&lt;/P&gt;&lt;P&gt;move it_out-ausp1 to ausp12.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;it_final-pcpercar = ausp12  / ausp11.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly letme know some possible solution to overcome this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 18:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-division/m-p/1868114#M365753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-06T18:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Short dump when division</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-division/m-p/1868115#M365754</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;use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CATCH SYSTEM-EXCEPTION OTHERS = 7.
  it_final-pcpercar = ausp12 / ausp11.
ENDCATCH.
IF sy-subrc &amp;lt;&amp;gt; 0.
  clear it_final-pcpercar.
ENDIF&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2007 19:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-when-division/m-p/1868115#M365754</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-01-06T19:48:49Z</dc:date>
    </item>
  </channel>
</rss>

