Skip to content

Error: "The INTO/APPENDING clause must be at the end of the SELECT..." #6

@Tino-s

Description

@Tino-s

The
error message: The INTO/APPENDING clause must be at the end of the SELECT. See the long text."
Character String as Message

appears from this statement:
SELECT distinct
 VGBEL ,
 count( VBELN ) as cnt_VBELN ,
 max( NETWR ) as sum1
 FROM 
 vbak
where 
VGBEL is not null and VGBEL <> '' and 
VGBEL like '002%' and
AUDAT >= '20221201' and 
VBELN like '001%'
group by VGBEL
having count( VBELN ) > 1
 .

BR Tino

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions