‎2008 Feb 04 7:06 PM
Hey Folks,
I have to fulfill this requirement by using the commnad SUM and exclude the first record by getting summed up but also retain it.
How wud i do this.
charg reser avail
12000 12000
12345 400 500
23456 800 800
i shud be getting the result as
charg reser avail
12000 12000
12345 400 500
23456 800 800
-
1200 1300
How wud i achieve this.
Regards
Rock
Edited by: Alvaro Tejada Galindo on Feb 4, 2008 2:30 PM
‎2008 Feb 04 7:17 PM
I don't understand if you are asking about the SUM function in a SELECT statement or if you problem is in an ALV list. Because using the SUM function without GROUP BY will result in only one line. You should select all the data and then add it yourself.
Regards,
Pablo