EXIT FROM SQL.
This statement is not allowed in an ABAP Objects context. See Subroutine call not allowed in EXEC SQL.
Leaves loop processing of the selected lines introduced by
EXEC SQL PERFORMING form. The subroutine form
is completed. Further processing of the block introduced by EXEC SQL and concluded by ENDEXEC is terminated.
Native SQL