<?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: Variable to be declared when calculating ratio. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303439#M1223071</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;surely you want the ration value to be in decimal as the two variables can be in decimals so bettre to declare the variable as P with decimal 2 to capture the decimal part also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2009 05:56:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-18T05:56:27Z</dc:date>
    <item>
      <title>Variable to be declared when calculating ratio.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303435#M1223067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate ratio of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lv_Ratio = lv_var1 / lv_var2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: TYPE of lv_var1 and lv_var2  = Currency, Length 13, Dec 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know, what 'TYPE' should the variable lv_ratio be declared?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;TM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:42:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303435#M1223067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T05:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to be declared when calculating ratio.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303436#M1223068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use type &lt;STRONG&gt;P&lt;/STRONG&gt; with DECIMALS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303436#M1223068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T05:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to be declared when calculating ratio.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303437#M1223069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;data: lv_ratio type p decimals 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303437#M1223069</guid>
      <dc:creator>former_member222860</dc:creator>
      <dc:date>2009-03-18T05:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to be declared when calculating ratio.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303438#M1223070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this:&lt;/P&gt;&lt;P&gt;data: l1 type glt0-tslvt,&lt;/P&gt;&lt;P&gt;      l2 type glt0-tslvt,&lt;/P&gt;&lt;P&gt;      l3 type glt0-tslvt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l1 = '19.02'.&lt;/P&gt;&lt;P&gt;l2 = '12.05'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l3 = l1 / l2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303438#M1223070</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-03-18T05:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to be declared when calculating ratio.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303439#M1223071</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;surely you want the ration value to be in decimal as the two variables can be in decimals so bettre to declare the variable as P with decimal 2 to capture the decimal part also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303439#M1223071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T05:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to be declared when calculating ratio.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303440#M1223072</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;Declare data like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lv_ratio type p decimals 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jyothi CH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303440#M1223072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T05:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to be declared when calculating ratio.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303441#M1223073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the feedback. It'll be Type p Decimals 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2009 06:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-be-declared-when-calculating-ratio/m-p/5303441#M1223073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-18T06:04:16Z</dc:date>
    </item>
  </channel>
</rss>

