I'm working with ABAP and OpenSQL and I think I'm running version 7.5, but I'm not really sure about this.
I try to use ORDER BY
in my SELECT
. My problem is that upper case letters will first shown and than lower case like this:
A B C D E F... a b c d e f
- but of course I want it like this: A a B b C c D d E e F f
...
I've tried to to it with ORDER BY UPPER( column2 )
and ORDER BY LOWER( column2 )
, but I always get following error (same with lower):
Unknown column name "UPPER( column2 )". until runtime, you cannot specify a field list.
Here is my code:
SELECT * FROM <database table>
WHERE column1 = @inputParameter
ORDER BY column2
INTO CORRESPONDING FIELDS OF TABLE @export_structure