<?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 Calculating total in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-total/m-p/3426571#M822885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sdns..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is calculating total in bank transactions using global class builder. I declared total as I type in attributes. When the method deposit is called the amount deposited is added to the total,thats fine. When the withdraw method is called balance checking should be done. But the problem is total is showing zero for me.And i want to display my total available balance also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried using static(class-data) didnt get the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Feb 2008 06:03:14 GMT</pubDate>
    <dc:creator>former_member576008</dc:creator>
    <dc:date>2008-02-16T06:03:14Z</dc:date>
    <item>
      <title>Calculating total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-total/m-p/3426571#M822885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sdns..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is calculating total in bank transactions using global class builder. I declared total as I type in attributes. When the method deposit is called the amount deposited is added to the total,thats fine. When the withdraw method is called balance checking should be done. But the problem is total is showing zero for me.And i want to display my total available balance also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried using static(class-data) didnt get the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Feb 2008 06:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-total/m-p/3426571#M822885</guid>
      <dc:creator>former_member576008</dc:creator>
      <dc:date>2008-02-16T06:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-total/m-p/3426572#M822886</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;Are you calling the method in the same instance? If it is the same instance, then the total will display the correct value that has been added before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Teddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2008 07:25:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-total/m-p/3426572#M822886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-18T07:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating total</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-total/m-p/3426573#M822887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Teddy ..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yeah i called it in the same instance but didnt get the answer.In my class builder i have the following &lt;/P&gt;&lt;P&gt;methods:&lt;/P&gt;&lt;P&gt;deposit ( parameter deposit ),&lt;/P&gt;&lt;P&gt;withdraw (parameter withdraw),&lt;/P&gt;&lt;P&gt;display (parameter date- should display transaction details based on date).&lt;/P&gt;&lt;P&gt;attributes:&lt;/P&gt;&lt;P&gt;total as class-data.&lt;/P&gt;&lt;P&gt;In the deposit implementation&lt;/P&gt;&lt;P&gt;total = deposit.&lt;/P&gt;&lt;P&gt;upto this fine.&lt;/P&gt;&lt;P&gt;When calling withdraw the total amount is showing zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What to do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2008 05:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-total/m-p/3426573#M822887</guid>
      <dc:creator>former_member576008</dc:creator>
      <dc:date>2008-02-19T05:16:43Z</dc:date>
    </item>
  </channel>
</rss>

