2023 May 16 5:48 AM
Hello,
I want to select entries from table adr6 where Upper(smtp_addr) in @s_addr.
This is my code, what modification is needed? How can I use Upper in a select statement from database table?
SELECT addrnumber, persnumber, smtp_addr FROM adr6
FOR ALL ENTRIES IN @lt_adddr
WHERE addrnumber = @lt_adddr-addrnumber
AND smtp_addr IN @s_addr
INTO TABLE @DATA(lt_adr6).
2023 May 16 6:24 AM
Ciao Imen,
maybe you can use CAST to move info to a uppercase data element. SQL Expressions, Cast Expression - ABAP Keyword Documentation (sap.com). Not sure if this works, but it's a try.
Regards Andreas
2023 May 16 7:21 AM
This is the link: sql_cond - IN range_tab for
SELECT ... WHERE ... operand IN ranges_table ...
For operand, the doc says: