Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Program using control break statement

Former Member
0 Likes
238

Hi,

I am always fearing to write a program using CONTROL BREAK STATEMENT.

Frnds can anyone help me how to understand it easily and make use of it whenver required.

regards,

satish

1 REPLY 1
Read only

Former Member
0 Likes
217

Hi Satish,

What makes you fear using the Control Break Statement ? Is that the break point you are talking about. You can use BREAK-POINT to halt a program before a particular statement. For eg:

Have a look at the following program :

DATA : a type i,

b TYPE i,

res TYPE i.

a = 5.

b = 3.

BREAK-POINT.

res = a + b.

write : / ' Result is ', res.

Now in the above program, When i put a BREAK-POINT in the above program the program will halt before the statement

res = a + b.

Now when i click on a, i would come to know that a is holding 5 . This is a simple example that i have used to make you understand. Usually we use when we need to check whether the tables are getting populated or not. You can see the Actual execution of the program line by line.

Please let me know if you need more info

Regards,

Sai