EXIT: The EXIT command will stop the LOOP passings, exit from the SUBROUTINES..etc.
The behavior of EXIT keyword is depends on where you use it.
- If you use EXIT keyword inside IF .. ENDIF., it will comes out of the program.
- If you use EXIT inside LOOP .. ENDLOOP., it will come out of loop.
- If you use EXIT inside FORM .. ENDFORM., it will comes out of form (subroutine)
Leave Program : LEAVE PROGRAM always leaves the current program - there is never any processing after LEAVE PROGRAM
Serkan AKKAVAK
Computer Engineer BSc
SAP Department Deputy Manager
Contact : serkurumsal@yandex.com
0 Comments