Skip to Content

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

Personalization sorting is not working for values attribute in sap crm web ui


I added one value attribute in result list for displaying purpose and written logic in the get method of the attribute for displaying values.

for sorting, I had written logic in get_p method to enable sort options(sort ascending, sort descending) and in sort method (which is called in the do_prepare_output method), I written actual sort logic by calling collection_wrapper sort method like this

me->typed_context->result->collection_wrapper->sort( ........).

This manual sorting is working. but my problem is, In result list view personalization, have one sort option is there, there I gave 'sort by' is my value attribute and select any one of the sort option radio button (ascending, descending). this time sorting is not working. for the standard fields its working. only my value attribute this sorting is not working.

Please refer below screen shot for your reference.....

Former Member
Not what you were looking for? View more on this topic or Ask a question