ENDSELECT (ABAP Keyword)

ENDSELECT (ABAP Keyword) introduction & syntax details

ENDSELECT

Basic form
ENDSELECT.

Effect
Closes a loop introduced by SELECT .

Note
SELECT is not concluded by ENDSELECT

if it is a SELECT SINGLE command,
if only aggregate functions appear in the INTO clause or
if the INTO clause INTO TABLE itab or APPENDING TABLE itab does not include the addition PACKAGE SIZE .