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 table

Former Member
0 Likes
325

Hi everyone,

                      I have a table on which i have to perform sort.There is only one field in the table.The statement i used is 'Sort lt_itab by (lt_sort_tab)'.

The problem is the result is not same on my system and the customer system. I have 2 entries in the table which start with '#'.These 2 come up to the beginging

when i perform sort on my system(the correct result).Where as on the customer system they dont show up in the starting of the table.Are there any settings that have to be done to get the result??

Thanks in advance,

Dushyanth

1 REPLY 1
Read only

alex_campbell
Contributor
0 Likes
300

Do the entries actually start with #, or is the debugger only showing # because the character is non-displayable? For example, carriage returns or command keys cannot be shown on the screen, so instead SAP displays a '#' character. It's possible that the values could look the same in the two different systems but actually they could be different non-displayable characters.

It's also possible that if only one of the systems is a UNICODE system, you could be getting different results for the same characters. Or if the systems are using different code pages, you could be getting different results as well.