Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Sorting Numeric Characters as numbers

$
0
0

Hey guys,

 

I have an ALV Grid that needs to display a column of numbers with a percent at the end and any negative values in the front.

 

-35.4%

8.7%

13.4%

-100.3%

8732.9%

 

This was done, but while within the ALV, if they click on the sorting buttons, it does not sort correctly.

It is because the system column HAS to be a string to display it like it is, but as a string it sorts differently from how numbers sort.

 

Has anyone come up with a solution to this?


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>