Re: [sap-dev] How to sum the rows of an internal table?
Posted by
Admin at
Share this post:
|
on 07/05/2009 10:11:00 AM
Hi,
First you should sort and then delete the duplicates from the internal
table.
Then loop the internal table and use the *at* keyword inside the loop to
identify a set of purchase vendors.
then use *sum* keyword to add them up.
On Sat, Jul 4, 2009 at 12:42 AM, Rohan Rana via sap-dev <
sap-dev@groups.ittoolbox.com> wrote:
>
>
> hI,
> I have an internal table with data like vendor,Item,Purchase value,purchase
> quantity.
> Now i want to add Purchase Value and Quantity for a particular Vendor
> accordance to material bought from it and show in a report the total.
> Is there any way to do it in internal tables so that i can show the output
> as desired because i am getting records for zero value too and the records
> are repeating too.
> please help __.____._
Toolbox.com
4343 N. Scottsdale Road
Suite 280
Scottsdale, AZ 85251
In the Spotlight