<?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 quantity field in print program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-problem-with-quantity-field-in-print-program/m-p/2479978#M558598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi iam getting output as 7.3 6.4 in quantity field. i want output as 6 if it is less than 6.5 7 if it is more than 6.5 . i want to change in print program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2007 05:45:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-21T05:45:36Z</dc:date>
    <item>
      <title>Re: problem with quantity field in print program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-problem-with-quantity-field-in-print-program/m-p/2479978#M558598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi iam getting output as 7.3 6.4 in quantity field. i want output as 6 if it is less than 6.5 7 if it is more than 6.5 . i want to change in print program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-problem-with-quantity-field-in-print-program/m-p/2479978#M558598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: problem with quantity field in print program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-problem-with-quantity-field-in-print-program/m-p/2479979#M558599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In the print program use the following one of the Maths functions to make that Qty field, and move it to a TYPE I field&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;abs&amp;lt;/b&amp;gt; -Absolute value of the argument arg &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;sign&amp;lt;/b&amp;gt;- Plus/minus sign of the argument arg: -1, if the value of arg is negative; 0 if the value of arg is 0; 1 if the value of arg is positive. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ceil&amp;lt;/b&amp;gt; -Smallest integer number that is not smaller than the value of the argument arg. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;floor-&amp;lt;/b&amp;gt; Largest integer number that is not larger than the value of the argument arg. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;trunc&amp;lt;/b&amp;gt;- Value of the integer part of the argument arg &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;frac-&amp;lt;/b&amp;gt; Value of the decimal places of the argument arg &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-problem-with-quantity-field-in-print-program/m-p/2479979#M558599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re: problem with quantity field in print program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-problem-with-quantity-field-in-print-program/m-p/2479980#M558600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check your prev thread also there i have already replied just check it whether it work or not&lt;/P&gt;&lt;P&gt;then do it like this...&lt;/P&gt;&lt;P&gt;declare a new field with type i in your itab.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-new = abs( itab-old )."itab-old contains the decimal value...&lt;/P&gt;&lt;P&gt;modify itab." or here you can use the write form also. with the itab-new value in layout &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 05:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-problem-with-quantity-field-in-print-program/m-p/2479980#M558600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-21T05:58:41Z</dc:date>
    </item>
  </channel>
</rss>

