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: 

ALV sort-table limits

Former Member
0 Kudos
207

Hi,

When using the internal table it_sort to set the sort criteria for first display for an ALV using the FM REUSE_ALV_GRID_DISPLAY, is there any limit on the number of rows in the table, that is, on the number of fields to be sorted on?

Likewise, is there any limit to the number of fields that the user can sort on in Change Layout?

I have a report in which the user can select the fields to report in the selection screen, and when a large number of fields is selected, the above sorts fail (the rows appear in the wrong order), but there's no problem with the same report for a small number of fields.

Thanks,

John

3 REPLIES 3

Former Member
0 Kudos
91

Hi John,

How is the response time of program when you use maximum number of fields and max. rows. Doest it slows-down considerably?

Darshan.

Former Member
0 Kudos
91

Darshan,

When reporting hundreds of columns, it does not run much slower.

John

Former Member
0 Kudos
91

The answer is simply that the field SPOS in the table IT_SORT is long enough only for values up to 99.

By the way, if you try the idea of having spos = 99 for every column after spos = 98, then that does not work.

John