cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP report Query

Former Member
0 Kudos

in an internal table(I_VEPO) i have two reocords with fields SDABW , TKNUM, VBELN, ERDAT , and TOT_VALUE(hardcoded). these reocords are having same data except TOT_VALUE so i want to make it single records by adding their TOT_VALUE, please giv me the soution how to work on this.

1 PS2 13108970 202.50

2 PS2 13108970 11,988.00

must be

PS2(SDABW) 13108970(TKNUM) 12,190.50(TOT_VALUE)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved

Edited by: sam johny on Dec 2, 2009 8:13 AM

Former Member
0 Kudos

resolved

Former Member
0 Kudos

Hello,

Try the collect keyword (F1 on it), or do it manually using loop & add.

Ash Thomas

http://www.ashthomas.com

Sap Abap Developer & Sap Abap Programmer

Former Member
0 Kudos

Ps. Or, try looping & adding then putting the values into a new internal table. You can create an identical one in one line:

data: t_new like t_old occurs 0 with header line.

Kind regards

Ash Thomas

<a href=http://www.ashthomas.com>Sap Abap CV & Sap Abap Resume</a>

<a href=http://www.ashthomas.com>www.ashthomas.com</a>