cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro ALV custom sorting

Former Member
0 Kudos

Hi,

I'm using WD ABAP ALV to display a table.

Is there any way to use my own sorting function for columns instead of the generic one?

Somehow I'd need to catch that event when the user presses the sort button, and get the parameters ( which column, and direction )

Thanks in advance,

Tamas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

What is your requirement?

you need to use table UI element if you wish to use custom sorting.

The event you want is not avialable with ALV.

Thanks,

Feroz

Former Member
0 Kudos

Hi,

Any one of these events DATACHECK/CELLACTION/ONCLICK should get triggered...when sorting is applied...

please test it out.

Regards,

Lekha.

Former Member
0 Kudos

Hi,

Thanks for the answers. Unfortunatelly none of those events are triggered when sorting. There is an event: ON_STD_FUNCTION_AFTE, but for some reason there is no parameter which column was sorted and which direction. Interesting solution, but thats how it is.

I cannot switch to simple WD table.

no good news again...

Thanks again,

Tamas