cancel
Showing results for 
Search instead for 
Did you mean: 

Add total to table in web dynpro

former_member221372
Participant
0 Kudos

Hello All,

I have a requirement where need to display sum for a particular field only in table UI element.

Col1 Col2 Col3 Col4

So here assume 4 fields and in that col3 & col4 are qty types, now I need to display sum for col3 filed only but it is showing for col4 also which is not required.

So please assist me.

Cheers,

Bharat

Accepted Solutions (0)

Answers (1)

Answers (1)

amy_king
Active Contributor
0 Kudos

Hi Bharat,

CL_SALV_WD_FIELD has a method IF_SALV_WD_AGGR~SET_AGGREGATION_ALLOWED. Using this, you can allow or disallow aggregation on specific fields of the table.

See this discussion for an example.

Cheers,

Amy