on 08-24-2009 12:28 PM
Dear all
I hav created one webdynpro report using alv.. Its working fine... In that ALV how to do
subtotal for the partcular field. If any standard report is there for subtotl in alv
Kindly give some example...
thaks
sri
hi,
Try calling the method create_aggr_rule from the ALV field reference .
call method lr_config->if_salv_wd_field_settings~get_field
exporting
fieldname = 'AMOUNT'
receiving
value = lr_field.
call method lr_field->if_salv_wd_aggr~create_aggr_rule
exporting
aggregation_type = if_salv_wd_c_aggregation=>aggrtype_total
receiving
value = lv_aggr_rule.
Also refer this thread,
Regards,
Runal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sri,
Refer this article [Using Totals and Subtotals Feature of ALV|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4063c42a-2549-2c10-fab6-a8c99d98b9b5&overridelayout=true]
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.