Control Break statements in SAP ABAP

List of control break statements used in SAP ABAP programming, control the record flow inside loops using control break statements

A+ A-

Control break statements are statements which are used to control the sequence of execution of statements with in LOOP....ENDLOOP..

These statements are executed only with in loop...endloop.

Control break statements are

AT FIRST - This statement is executed/triggered for the first iteration of loop (SY-TABIX = 1 ).

AT LAST - This statement is executed/triggered for the last iteration of loop.

AT NEW - This is executed whenever there is a new value on specified field.

AT END OF - This statement is executed whenever the new value ends on specific field.

ON CHANGE OF - It is same as AT NEW and is obsolete in ECC 6.0.

Learner Questions

No Questions by learners, be first one to ask ..!!

    Please Sign in to ask a question

    Was this lesson helpful to you? Yes No 50 People out of 55 think this lesson helpful

    Lesson Navigation

    Performance Tuning in SAP ABAP← Previous Lesson
    Next Chapter →