Skip to content

select from itab not possible #181

Description

@mem1b

Hello

I'm at the https://exercism.org/tracks/abap/exercises/itab-aggregation and solved it with a select from itab.
But ran into the following error:
image

Code:

  METHOD perform_aggregation.

    SELECT
      FROM @initial_numbers as a
      FIELDS group,
             COUNT( * ) AS count,
             SUM( number ) AS sum,
             MIN( number ) AS min,
             MAX( number ) AS max,
             AVG( number ) AS avg
      GROUP BY group
      ORDER BY group ASCENDING
      INTO TABLE @aggregated_data.

  ENDMETHOD.

Copied the testclass to my local class on a 7.55 Release and there was no issue:
image

Guess at the moment there is no downport for this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions