<?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 PROBLEM WITH  calculation statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043608#M420472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii frnds &lt;/P&gt;&lt;P&gt;when i am executing this line the script is gvng a dump saying cannot interpret 9,999.9 as a number . &lt;/P&gt;&lt;P&gt;WS_DG_VALUE = WS_DG_VALUE + ( LOC_ZUNTUN * LOC_LFIMG *&lt;/P&gt;&lt;P&gt;WS_ZDGFACTOR ) .&lt;/P&gt;&lt;P&gt;loc_lfimg is hvng the number 9,999.9 .&lt;/P&gt;&lt;P&gt;all the variables r declared of type c . &lt;/P&gt;&lt;P&gt;kindly help &lt;/P&gt;&lt;P&gt;thanx &lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 08:29:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-06T08:29:24Z</dc:date>
    <item>
      <title>PROBLEM WITH  calculation statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043608#M420472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii frnds &lt;/P&gt;&lt;P&gt;when i am executing this line the script is gvng a dump saying cannot interpret 9,999.9 as a number . &lt;/P&gt;&lt;P&gt;WS_DG_VALUE = WS_DG_VALUE + ( LOC_ZUNTUN * LOC_LFIMG *&lt;/P&gt;&lt;P&gt;WS_ZDGFACTOR ) .&lt;/P&gt;&lt;P&gt;loc_lfimg is hvng the number 9,999.9 .&lt;/P&gt;&lt;P&gt;all the variables r declared of type c . &lt;/P&gt;&lt;P&gt;kindly help &lt;/P&gt;&lt;P&gt;thanx &lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043608#M420472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH  calculation statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043609#M420473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need to declare those variables as numeric ones.&lt;/P&gt;&lt;P&gt;either float or packed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043609#M420473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH  calculation statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043610#M420474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You cannot perform calculations on fields of type  C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Declare variables of type p decimals 2 and perform the calculations&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043610#M420474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH  calculation statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043611#M420475</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;&lt;/P&gt;&lt;P&gt;i think this variable LOC_ZUNTUN  you have declared as char just go through the code what you have writtem according to that you haev to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;madan mohan.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:48:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043611#M420475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH  calculation statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043612#M420476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt; u declare the variables as &lt;/P&gt;&lt;P&gt;type p decimals 2&lt;/P&gt;&lt;P&gt;and continue the calculation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043612#M420476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM WITH  calculation statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043613#M420477</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 all teh variables as TYPE P with decimals.&lt;/P&gt;&lt;P&gt;Then after doing teh calaculation teh values will be there in ws_dg_value.&lt;/P&gt;&lt;P&gt;Declare one more variable with max length needed of type C.&lt;/P&gt;&lt;P&gt;Then &amp;lt;b&amp;gt;v_var = ws_dg_value&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then&amp;lt;b&amp;gt; print v_var&amp;lt;/b&amp;gt;. This will solve ur problem&lt;/P&gt;&lt;P&gt;Reward if thsi helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-calculation-statement/m-p/2043613#M420477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:56:06Z</dc:date>
    </item>
  </channel>
</rss>

