‎2006 Jun 29 5:41 PM
is there any statement to come completly out of the i f som econdition fails
thanks in advance
‎2006 Jun 29 5:43 PM
Hello Mohan,
U can use Leave Program Stmt.
Or Stop.
If u use stop the control will directly goes to the end of selection.
Hope this will be useful for u.
Don't FOrget to reward points.
Regards,
Vasanth
‎2006 Jun 29 5:43 PM
‎2006 Jun 29 5:43 PM
you can use
<b>EXIT
CONTINUE</b>
Or use the <b>CHECK</b> statement instead of IF Statement
‎2006 Jun 29 5:43 PM
Hello Mohan,
U can use Leave Program Stmt.
Or Stop.
If u use stop the control will directly goes to the end of selection.
Hope this will be useful for u.
Don't FOrget to reward points.
Regards,
Vasanth
‎2006 Jun 29 5:43 PM
hi mohan,
give leave program.
if sy-ucomm = 'BACK'.
leave program.
endif.
‎2006 Jun 29 5:44 PM
You can use the keyword STOP if you are using a report program. It will stop the execution of the program.
Hope this helps.
Sudha
‎2006 Jun 29 5:47 PM
‎2006 Jun 29 5:59 PM