Explain about Loop termination statements?

Loop termination statements in SAP ABAP.
Ans :- The following statements are used to come out of the loops and continue with the next
loop statements.
EXIT: - This statement is used to come out of the loop statement and continue with the next statement line outside of the loop statements in the program.
STOP: - This statement is used to stop the Loop process along with the next part of the loop statement.
CONTINUE: - This statement is used to stop the current loop process and continue with the next loop process.
CHECK: - This statement is used to check the specified conditions and continue with the next loop process.
CHECK = CONDITION + CONTINUE.
No comments:
Post a Comment