2023 Aug 18 2:49 PM
How to add condition in where clause of select query? like
Select *
from table
where field1 = cond #( when flag = x then '111'
else '123')
into it_table.
2023 Aug 18 3:40 PM
You probably mean ABAP SQL CASE?
https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abensql_case.htm
2023 Aug 18 4:17 PM
Unclear question. What is FLAG? What is X? Variable? Column?
The answers depend on that.