<?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: command DIV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683210#M1945829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felipe, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the Command DIV by bar (/) and the correct answer is appear..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 May 2016 15:12:26 GMT</pubDate>
    <dc:creator>paulo_caiana</dc:creator>
    <dc:date>2016-05-04T15:12:26Z</dc:date>
    <item>
      <title>command DIV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683208#M1945827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam using the command DIV, but my result is wrong. The result should be 0.001898, but the result is 0.000.&lt;/P&gt;&lt;P&gt;See the code bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L1S52"&gt;DATA&lt;/SPAN&gt;: wa_bseg_dmbtr &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; bseg-dmbtr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_dmbtr_t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; bseg-dmbtr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l_valor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;TYPE&lt;/SPAN&gt; bseg-dmbtr.&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; wa_bseg_dmbtr = &lt;SPAN class="L1S33"&gt;'9939.74'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt; l_dmbtr_t = &lt;SPAN class="L1S33"&gt;'18.87'&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; l_valor =&amp;nbsp; l_dmbtr_t &lt;SPAN class="L1S52"&gt;DIV&lt;/SPAN&gt; wa_bseg_dmbtr.&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S31"&gt;*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L1S52"&gt;WRITE&lt;/SPAN&gt; l_valor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paulo...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 14:36:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683208#M1945827</guid>
      <dc:creator>paulo_caiana</dc:creator>
      <dc:date>2016-05-04T14:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: command DIV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683209#M1945828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hi Paulo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Statement DIV returns only the integer part of the division, while MOD returns the reminder of the division.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;You can learn more here: &lt;A class="jive-link-external-small" href="http://help.sap.com/erp2005_ehp_04/helpdata/en/fc/eb32e2358411d1829f0000e829fbfe/content.htm" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; background: transparent;"&gt;Arithmetic Calculations - ABAP Programming (BC-ABA) - SAP Library&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;In your case, using a bar for the division would be the best solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="margin: 10px 20px; padding-left: 10px; font-size: 12px; font-family: arial, helvetica, sans-serif; color: #333333; background-position: initial;"&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt; l_valor =&amp;nbsp; l_dmbtr_t &lt;SPAN class="L1S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;/&lt;/SPAN&gt; wa_bseg_dmbtr.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 14:59:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683209#M1945828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-04T14:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: command DIV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683210#M1945829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felipe, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the Command DIV by bar (/) and the correct answer is appear..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 15:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683210#M1945829</guid>
      <dc:creator>paulo_caiana</dc:creator>
      <dc:date>2016-05-04T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: command DIV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683211#M1945830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is great, Paulo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark the answer as correct so this thread will be defined as answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 14:44:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/command-div/m-p/11683211#M1945830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-05T14:44:14Z</dc:date>
    </item>
  </channel>
</rss>

