cancel
Showing results for 
Search instead for 
Did you mean: 

sum in web dynpro

Former Member
0 Kudos

hi,

how can i sum in alv webdynpro i can write code for totalling but i can not see result in my alv report

CALL METHOD L_VALUE->IF_SALV_WD_FIELD_SETTINGS~GET_FIELD

EXPORTING

FIELDNAME = 'PRICE'

RECEIVING

VALUE = l_colsum .

data : agg_sum type ref to CL_SALV_WD_AGGR_RULE.

CALL METHOD l_colsum->IF_SALV_WD_AGGR~CREATE_AGGR_RULE( ).

CALL METHOD l_colsum->IF_SALV_WD_AGGR~GET_AGGR_RULE

RECEIVING

VALUE = agg_sum.

CALL METHOD agg_sum->SET_AGGREGATION_TYPE

EXPORTING

VALUE = IF_SALV_WD_C_AGGREGATION=>AGGRTYPE_TOTAL .

please reply fast it is urgent.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

Just look into the below thread. May be it is useful for u.

Regards,

Gaurav

Former Member
0 Kudos

Hi,

thax for reply....

we have tried all the things, but we cant see total of particular field.. so can we do configure or any setting for this ??... we have used ALV in webdynpro..