<?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 arithmetic expression error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450139#M1249316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following arithmetic expression gets me error...pls help me ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*wa_bseg-dmbtr = ( wa_konv-kwert * 11.33 ) / 100 )  - wa_bseg-dmbtr.*  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR is: incomplete  arithmetic expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2009 06:48:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-31T06:48:36Z</dc:date>
    <item>
      <title>arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450139#M1249316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following arithmetic expression gets me error...pls help me ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*wa_bseg-dmbtr = ( wa_konv-kwert * 11.33 ) / 100 )  - wa_bseg-dmbtr.*  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR is: incomplete  arithmetic expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450139#M1249316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450140#M1249317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;11.33 must in brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:50:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450140#M1249317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450141#M1249318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_bseg-dmbtr = ( ( wa_konv-kwert * 11.33 ) / 100 ) - wa_bseg-dmbtr&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450141#M1249318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450142#M1249319</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_bseg-dmbtr = ( ( wa_konv-kwert * 11.33  )  / 100 ) - wa_bseg-dmbtr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450142#M1249319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450143#M1249320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi:&lt;/P&gt;&lt;P&gt;Do like this&lt;/P&gt;&lt;P&gt;data lv_dmbtr  type bseg-dmbtr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_dmbtr =  *wa_bseg-dmbtr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_dmbtr =  ( ( wa_konv-kwert * 11.33 ) / 100 ) - lv_dmbtr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450143#M1249320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450144#M1249321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think U missed one '('&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;wa_bseg-dmbtr = ( ( wa_konv-kwert * 11.33 ) / 100 ) - wa_bseg-dmbtr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450144#M1249321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450145#M1249322</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;*wa_bseg-dmbtr = ( wa_konv-kwert * 11.33 ) / 100 ) - wa_bseg-dmbtr.* &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change it to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lv_data type p decimals 2 value '11.33'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_bseg-dmbtr = ( ( ( wa_konv-kwert * lv_data ) / 100 ) - wa_bseg-dmbtr ).&lt;/P&gt;&lt;P&gt;just copy and paste then check for syntax check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450145#M1249322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450146#M1249323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all ....i tried the way ...but STIL THE SAME ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;treid all combinations below&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(  ( wa_konv-kwert *  11.33  ) / 100 )  -  ( wa_bseg-dmbtr  )&lt;/P&gt;&lt;P&gt;(  ( wa_konv-kwert *  11.33  ) / 100 ) -  wa_bseg-dmbtr&lt;/P&gt;&lt;P&gt;(  ( wa_konv-kwert *  ( 11.33  ) / 100 ) ) - ( wa_bseg-dmbtr )&lt;/P&gt;&lt;P&gt;(  ( wa_konv-kwert *  11.33  ) / 100 ) -  wa_bseg-dmbtr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incomplete arithmetic expression: ")" missing at end of statement.&lt;/P&gt;&lt;P&gt;Statement "33" is not defined. Check your spelling.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 06:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450146#M1249323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T06:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450147#M1249324</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;try my logic, it works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450147#M1249324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450148#M1249325</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;write it this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(  wa_konv-kwert * '11.33' / 100 ) - wa_bseg-dmbtr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works and its tested....&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;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:02:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450148#M1249325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450149#M1249326</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;Try this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_bseg-dmbtr = ( ( wa_konv-kwert * 1133 ) / 10000 ) - ( wa_bseg-dmbtr ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cant provide numbers with decimal places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450149#M1249326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450150#M1249327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi subash thanks problem is solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450150#M1249327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450151#M1249328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shailaja ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who said that numbers cant be provided with decimals, just try giving the number with decimals in single quotes and then tell if it works or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450151#M1249328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450152#M1249329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; Just declare a variable of packed decimal type containing the value '11.33'. And then use the variable in the arithmetic expression instead of putting the value directly into the expression.Please ensure that the number of opening brackets  matches  the number of closing brackets.&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450152#M1249329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450153#M1249330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your given problem is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_bseg-dmbtr = ( wa_konv-kwert * 11.33 ) / 100 ) - wa_bseg-dmbtr.* &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First problem in your expression is: 1 bracket is missing here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second problem in your expression is: you need to declare 11.33 as packed decimal. &lt;/P&gt;&lt;P&gt;Do the following declaration.&lt;/P&gt;&lt;P&gt;data : v_val type p decimals 2 value '11.33'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use v_val in your expression.The expression will sure work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.N. : I just tried in sap editor and found error until and unless i declared 11.33 as packed decimal.So declare it as a packed decimal and use it in your expression as a variable. It'll work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450153#M1249330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: arithmetic expression error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450154#M1249331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siddarth,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Numbers with decimals can be provided as variables. But what I meant was, we cant give the numbers with decimals as it is because the system takes the decimal point as period. So the part after the decimal point.... it takes as a next line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 07:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arithmetic-expression-error/m-p/5450154#M1249331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-31T07:10:29Z</dc:date>
    </item>
  </channel>
</rss>

