Skip to Content

Add total to table in web dynpro

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 19, 2016 at 12:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded