Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

Re : Open sql query.

$
0
0

Hi Folks,

 

I am currently listening the open sap videos for the abap on hana week3 .in that i wrote abap query modified with the enhancement of the sql statement

but my statement is showing syntax errors.

 

Please find the below query.

 

 

SELECT carrid

       connid

       fldate

       price

       currency

   FROM sflight

   INTO TABLE lt_sflight.

IF sy-subrc IS INITIAL.

  DESCRIBE TABLE lt_sflight LINES sy-tfill.

  WRITE : / sy-tfill.

ENDIF.

 

 

SELECT carrid,

       connid,

       fldate,

       price,

       currency

   from sflight

   into table @data(lt_sflight).



From the above query i am getting the below error.


"," is not allowed here since it contains an invalid character or it is

a keyword. (It might be possible to escape it using "!"). Or a space is

missing or there is one space too many.

 

I am using EHP7 with sp04 ides server.

 

 

 

Thanks in advance.

 

Regards,

Raghunadh Kodali.


Viewing all articles
Browse latest Browse all 831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>