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 information on how to change the password on several SAP user accounts from a central location.continue reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.