Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Grouping a column on display in ALV

Hi All,

Could some one help me on how to group similar values in an alv column when it is displayed for the first time itself, i know we can set/reset this functionality on sort by using the ~set_grouping_allowed method of the interface if_salv_wd_sort but i would like to group on first display itself.

I Apologise if the question was already posted.

Thanks In Advance,

Chaitanya.

Former Member
replied

Hi Chaitanya,

For grouping to happen, we have to sort the column and for that we have to create the sort rule. Even if we don't pass the sort _order in the code, the column will get sorted in ascending order by default.

Regards

Arjun

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question