Application Development 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: 

Sort ME2K

Former Member
0 Kudos

Hi,

I want give a user possibilité for sorting the simple list (T.code 'ZME2K' copie of 'ME2K') by differents fields.

How can i do?

Thanks.

5 REPLIES 5

Former Member
0 Kudos

I think Me2k displays classical list. So here u can provide the same functionality like ALV. Define a sort button on the application toolbar and whenever user put the cursor on a column and press this button in at user-command event findout the field name where the cursor is on and then based on this field sort ur final table.

Former Member
0 Kudos

Id You have in Internal Tabe

TAble: Spflo

select * from Spfli into spfli.

Sort spfli by connid carrid descending

Hope thats helpfull

Chris

Former Member
0 Kudos

I think Me2k displays classical list. So here u can provide the same functionality like ALV. Define a sort button on the application toolbar and whenever user put the cursor on a column and press this button in at user-command event findout the field name where the cursor is on and then based on this field sort ur final table.

0 Kudos

Yes its classical list with a logical database. I tried to put a button in bar list but when i clic nothing happens

0 Kudos

And list is editing with 'WRITE' syntaxs. Just write.......