‎2008 Apr 16 7:41 AM
hi,
will EXIT command work in case i dont include START-OF-SELECTION event in my code?
In my requirement i have to use an EXIT command after select stmt but as i am writing the code inside an include program i can not use START-OF-SELECTION event.
‎2008 Apr 16 7:44 AM
AFAIK, EXIT also works within an include, as it EXITs from the currently processed block. In my opinion, the ABAP runtime "adds" an implicit "START-OF-SELECTION" in your case. In case the Include is included in a FM, EXIT will do an EXIT from the FM.
‎2008 Apr 16 7:46 AM
Hi,
Exit will work even if you do not have explicit start-of-selection in your program.
This event start after selection screen is executed even if you have not entered the line in the code.
Exit will ebd the event and proceed to next event.
‎2008 Apr 16 7:51 AM
If there is anyother eventslike at selection-screen or at selection-screnn output , then you have to write strat-of-selection to work the EXIT command. Otherwise it will work without explicit strat-of-selection .