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

Sort ME2K

Former Member
0 Likes
917

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.

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
Read only

Former Member
0 Likes
855

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.

Read only

Former Member
0 Likes
855

Id You have in Internal Tabe

TAble: Spflo

select * from Spfli into spfli.

Sort spfli by connid carrid descending

Hope thats helpfull

Chris

Read only

Former Member
0 Likes
855

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.

Read only

0 Likes
855

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

Read only

0 Likes
855

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