on 01-23-2008 12:17 PM
Hi,
I need to know if there is any way we can summate the values of two attributes of the adjacent columns and put the added values in the third column row.
e.g
Column1 Column2 Column3
Value_1.1 Value_2.1 Value_1.1 + Value_2.1
Value_1.2 Value_2.2 Value_1.2 Value_2.2
A code snippet will really help or an alternate suggestion how to proceed with it.
Best Regards
Sid
hi Siddharth,
loop at itab into wa.
wa-column3 = wa-column1 + wa-column2.
modify itab from wa.
endloop.
now bind this itab to the node which u binded to the node.
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siddharth Chowdhury ,
you can loop the itab before binding to the node thats binded to the alv and sum the adjescent fields.
i think its difficult to do this summation at alv level in wda.
Regards
Sarath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.