Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete Leave 

LEAVE

Short Reference

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

LEAVE.

Effect

The statement LEAVE without additions is context-specific:

  • If a program was called using SUBMIT without the AND RETURN additions, LEAVE functions the same way as in the calling program.


Note

The behavior of the statement LEAVE without additions is particularly unpredictable (statically) when specified in callable units. Therefore, LEAVE should only be used with additions that uniquely control the behavior: