In ABAP SQL can I ignore the case when comparing fields in the WHERE clause of a SELECT?
SELECT *
FROM some_table
WHERE field1 = variable1.
How can I compare field1 to variable1 ignoring different case?
Open SQL can do this with the function UPPER starting ABAP 7.51.
Example:
SELECT *
FROM some_table
WHERE UPPER( field1 ) = @variable1
INTO TABLE @DATA(internal_table).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With