Skip to Content
0

Can not use the new ABAP Features

Aug 08, 2017 at 10:25 PM

56

avatar image
Former Member

Hi All

We are running on Kernel 745 and HANA SPS 12, I still can not use any of the code pushdown features and keep running into errors, I have tried some sample codes in Eclipse as well as SE80, for instance the following code (which semantically might not make sense but should be syntactically correct) - throws me the following error - '(' was expected here

report zsatest001.
data: t_bseg type table of bkpf.


select belnr, gjahr, awkey,
       cast (awkey as fltp )
       from bkpf
       into CORRESPONDING FIELDS OF table @t_bseg
       order by gjahr DESCENDING.
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Mike Pokraka Aug 08, 2017 at 10:35 PM
2

SQL expressions are like functions, your spaces are in the wrong place. Try

cast( awkey as fltp )
Share
10 |10000 characters needed characters left characters exceeded