Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error parsing SELECT statement combining literal with aggregate functions (missing ENDSELECT) #165

@PilotFlying

Description

@PilotFlying

Both of these

    SELECT 'MATKL'    AS someliteral,
           COUNT( * ) AS somecount
      FROM mara
     WHERE matnr = '123'
      INTO @DATA(ls).
      
    SELECT FROM mara
      FIELDS 'MATKL'    AS someliteral,
             COUNT( * ) AS somecount
     WHERE matnr = '123'
      INTO @DATA(ls2).

result in

expected ENDSELECT, but found ENDMETHOD. Opening command (line 212): SELECT FROM mara [...]

(Thanks!)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions