We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

Re: [sap-dev] How to sum the rows of an internal table?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Thilanka Niroshana
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
__.____._

Copyright © 2009 CEB Toolbox, Inc. and message author.

Toolbox.com
4343 N. Scottsdale Road
Suite 280
Scottsdale, AZ 85251

0 comments:

Post a Comment

T r a n s l a t e to your language