12-11-2007 5:21 PM
Hi ,
I am using for all entries select statment ,can any one guide me how can i use SUM in the select statment with for all entries .
Regards,
Veera
12-11-2007 5:26 PM
try this
Select vbeln sum(netwr ) into table itab
From vbak
For all entries in itab2
Where vbeln = itab2-vbeln.
12-11-2007 5:33 PM
12-11-2007 5:36 PM
I think you also need to use Group by vbeln at end of the statement.
try it
12-11-2007 5:41 PM
I am sorry, for all entries excludes all aggregate functions except count.
12-11-2007 5:44 PM
Hi,
THis is not possible using for all entries.
Thanks,
Sriram Ponna.
08-31-2015 11:54 AM
you can use range object.
before, you should fill range object from itab after than you can use where condition.