Hi ,
Currently I am looking into open sql statement in abap for hana
I wrote the below query but in debugging the values are populated as below
SELECT carrid,
CASE carrid
WHEN 'AC' THEN 'Canada Airlines'
WHEN 'LH' THEN 'Lufthansa Airlines'
ELSE carrid
END AS carrier_name_long,
SUM( sflight~price ) AS total_price
FROM sflight
GROUP BY carrid
intotable @DATA(lt_result).
IF lt_result[] IS NOT INITIAL.
DESCRIBE TABLE lt_result LINES sy-tfill.
WRITE : /sy-tfill.
ENDIF.
Please find the attached screen shot
Thanks in advance.
Regards,
Raghunadh Kodali.