[ABAP] OpenSQL: Verwendung von SQL Expressions – CASE, inline declarations

* ab NW 7.40 SP08
SELECT carrid, connid, cityfrom, airpfrom, cityto, airpto, deptime, arrtime, fltime,
  CASE
    WHEN fltime > 10000 THEN 'long'
    ELSE 'short'
  END AS time
  FROM spfli
  INTO TABLE @DATA(it_spfli).

IF sy-subrc = 0.
  cl_demo_output=>display( it_spfli ).
ENDIF.