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

Internal table sort

Former Member
0 Likes
351

Dear All,

I am facing sort problem in internal table . Table type is standard.

When program executed in fore-ground sort happened properly where same program while executed in background sorting is not happening which I observed in spool.

Internal table has around 80,000 records with 6 column.

Below is the code

SORT int_s711_a BY gross_p DESCENDING umsmng DESCENDING.

Both gross_p & umsmng are of CURR field 19 length 2 decimal

Thanks for your help.

Joseph

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
323

Use.....SORT int_s711_a BY gross_p umsmng DESCENDING

Also, while sorting currency fields sometimes it happens that sort might not be proper. But it will work...If possible try to use some other key field also.

1 REPLY 1
Read only

Former Member
0 Likes
324

Use.....SORT int_s711_a BY gross_p umsmng DESCENDING

Also, while sorting currency fields sometimes it happens that sort might not be proper. But it will work...If possible try to use some other key field also.