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

custom table sort

Former Member
0 Likes
615

There is a custom table in that table can i display the table contents sorted by one particular field.

4 REPLIES 4
Read only

Former Member
0 Likes
553

hi,

u can have it like this, if filed is key field. then system must take care of it.

Read only

Former Member
0 Likes
553

Eshwar,

If you are seeing the contents using SE16, its a ALV grid, so you can sort by whatever field you want.

If you see the contents programmatically, get the data, and use the SORT command.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

Former Member
0 Likes
553

Hi ,

It's a table with plant and date fields as key fields .

Now if i want to sort the table by date only is that possible .

At present it is sorting the table by plant.

Read only

0 Likes
553

hi,

if plant and date together make the primary key, then at present it must be sorted by by the primary key for example -

plant date

5610 12.10.2006

5610 18.12.2006

8510 10.12.2006

8510 17.12.2006

is it not Ok with you ?