I have a database table I want to select data from using a text field in the where clause that contains both upper and lower case alphas. However, the comparison field in the where clause may contain only upper case or only lower case values.
Is there any way to do this type of selection and have the where clause match without regard to case? Perhaps with a native SQL select statement?
To do this in ABAP, you must in some way copy the target records, so the mixed case field is converted to, e.g. upper case. Then you can do the match from your comparison field. Perhaps an interim internal table could be used to achieve this. If native SQL has a solution, it would depends on your database.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
A SearchSAP.com reader wants to know if it's possible to write an SAP ABAP program that will read source code and then create an SAP ABAP function ... Continue Reading