Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Editable fields in ALV with sort

Former Member
0 Likes
1,785

I have a working alv using sort to remove repeated values, but when I add gt_fieldcat-edit = 'X' to a column, it shows all the values (sort stops working).

Is it possible to have both things? Sort and editable field?

Regards

I have a working alv using sort to remove repeated values, but when I add gt_fieldcat-edit = 'X' to a column, it shows all the values (sort stops working).

Is it possible to have both things? Sort and editable field?

Regards

4 REPLIES 4
Read only

matt
Active Contributor
1,346

When you sort, it doesn't not show repeated values, rather it merges cells with the same key component. With an editable ALV this isn't possible, so you get each cell displayed individually.

Read only

Former Member
0 Likes
1,346

It makes sense on the editable column, but why having an editable column makes the rest of columns un-sortable with the merge thing?

Regards

Read only

matt
Active Contributor
0 Likes
1,346

You'd have to ask the guy who developed it.

Read only

Former Member
0 Likes
1,346

I found a thread with the same problem, it seems that it's not possible according to SAP.

https://answers.sap.com/questions/9083236/oo-alv-cell-merge-problem-when-editable-fields.html