Skip to Content
Former Member
Aug 30, 2006 at 06:40 PM

merging records in itab...


Hi all,

My dilemma for today is as follows. I have a record set that is keyed on matnr werks pspnr. In addition, each row contains fields for qty1 qty2 qty3 qty4 date week month quarter year. I would like to merge...or sum...those records together by week before display in my ALV grid. In JAVA this would be a complicated process...a series of loops that involved summing the qty fields. Is there a fairly concise way for me to perform this task in ABAP?