<?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: error while entering values in table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765916#M906078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to change the datatype to quan but it still does not works.&lt;/P&gt;&lt;P&gt;Please help me with my query.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 09:19:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T09:19:19Z</dc:date>
    <item>
      <title>error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765910#M906072</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;I have a quantity field in table having data type as dec and length as 13 and decimal places as 5.&lt;/P&gt;&lt;P&gt;But when i enter 255 in table,it automatically changes to .255 but it should be 255.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Amanpreet Sehgal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 08:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765910#M906072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T08:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765911#M906073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enter the value as 255.000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 08:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765911#M906073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T08:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765912#M906074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can try this out but if any other person tests it,he may not know that he has to enter 255.00&lt;/P&gt;&lt;P&gt;I have a table vbap.I tried to copy the datatype for quantity from this table.But still the same problem exists.Whatever data I enter it takes it in the decimal form.&lt;/P&gt;&lt;P&gt;If I enter 5555555,it will take it as 5555.555&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 08:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765912#M906074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765913#M906075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried it as 255.00 but it automatically changed to .255&lt;/P&gt;&lt;P&gt;Please help me with some other alternative.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765913#M906075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765914#M906076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only option would be entering the value as &lt;/P&gt;&lt;P&gt;255000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765914#M906076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765915#M906077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the same.This value changes to 25.5000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765915#M906077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765916#M906078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to change the datatype to quan but it still does not works.&lt;/P&gt;&lt;P&gt;Please help me with my query.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Aman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765916#M906078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: error while entering values in table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765917#M906079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;check this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For calculations in business applications, use packed numbers. The program attribute Fixed point arithmetic affects calculations using packed numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the program attribute Fixed point arithmetic is not set, type P fields are interpreted as integers without decimal places. The decimal places that you specify in the DECIMALS addition of the TYPES or DATA statement only affect how the field is formatted in the WRITE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: PACK TYPE P DECIMALS 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PACK = '12345'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE PACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the program attribute Fixed point arithmetic is not set, the output is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123.45&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the program attribute Fixed point arithmetic is set, the output is as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12,345.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Fixed point arithmetic attribute is set, the decimal places are also taken into account in arithmetic operations. Calculations with packed numbers in ABAP use the same arithmetic as a pocket calculator. Intermediate results are calculated using up to 31 digits (before and after the decimal point). You should therefore always set the Fixed point arithmetic attribute when you use type P fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: PACK TYPE P.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PACK = 1 / 3 * 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE PACK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have not set the Fixed point arithmetic attribute, the result is 0, since the calculation is performed using integer accuracy, and the result is therefore rounded internally to 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the program attribute Fixed point arithmetic is set, the result is 1 because the result of the division is stored internally as 0.333333333333333333333333333333 with an accuracy of up to 31 digits.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-entering-values-in-table/m-p/3765917#M906079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:25:02Z</dc:date>
    </item>
  </channel>
</rss>

