Hi, I provide training in SAP UI5. Also feel free to checkout my new web page https://saptechblog.com

Control Break Statement


Break statements exits the control out of the closing brackets.



The for loop breaks after the count becomes 3. Break keyword is similar to that of Exit keyword in ABAP and it terminates the loop pass unconditionally. The remaining execution of the loop are not continued further after triggering break keyword. In above example the loop pass us not carried out the fourth and fifth time.


Continue keyword is similar to that of continue keyword in ABAP and it terminates the loop pass only for the satisfied condition. The remaining execution of loop continues further.


Using labels to control the flow:

We can specify labels in the program and control the sequence of execution. This concept is not there in the ABAP.

We create a label by specifying the name before the loop pass starting and then control the execution back to the point where the label is created. This is specifically used when there is a loop inside a loop.



About Arun


  1. Excellent…Amazing…. I’m satisfied to find so many helpful information here within the put up,for latest php jobs in hyderabad. we want work out extra strategies in this regard, thanks for sharing.

  2. Wow its a very good post. The information provided by you is really very good and helpful for me. Keep sharing good information.


Powered by Blogger.