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

Sorting Internal table

Former Member
0 Likes
527

Hi ABAP GURU's

sorting on internal table will increase or decrease performance. suppose it increase performance than i use in my program 10 sorting on internal table for different-2 field the what will be happen.

Regard's

VINEET KUMAR

Moderator message - Moved to the correct forum

Edited by: Rob Burbank on Jul 3, 2009 11:11 AM

1 ACCEPTED SOLUTION
Read only

former_member194416
Contributor
0 Likes
507

For normal operations like loop no it don't improve performance. It only improve if you use read command with binary search addition. If you want to make binary search anyway you have to sort the internal table according to fields that will be read otherwise you'll receive a wrong result.

3 REPLIES 3
Read only

former_member182098
Active Contributor
0 Likes
507

Hello,

You are posting in the wrong forum. This is "SAP Certified Professionals" forum. The certification and related questions can be posted here.

You need to post the technical questions in ABAP forums to get a better reply.

Regards,

Ravi

Read only

Former Member
0 Likes
507

Give it a try - see what happens.

Rob

Read only

former_member194416
Contributor
0 Likes
508

For normal operations like loop no it don't improve performance. It only improve if you use read command with binary search addition. If you want to make binary search anyway you have to sort the internal table according to fields that will be read otherwise you'll receive a wrong result.