I’m using SAP Lumira desktop and "Query with SQL (Freehand SQL)", connected to SAP ECC. I try to extend the query with a case statement but run into errors as below:
SELECT "VBUK-UVALS",
CASE ("VBUK-UVALS") WHEN 'A' THEN 'Closed'
WHEN 'B' THEN 'Open'
ELSE 'Other'
END AS "ColumnA"
FROM "Local"."INFOSET"."ZCA_TESTAR"
Syntax error in SQL query:
[line 2:31 missing FROM at 'WHEN'][line 2:36 missing EOF at "A"]
It would be very appreciated if any could guide me through this