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

continue

Former Member
0 Likes
721

hi all,

can anyone tell me the use of Continue statement?

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
693

Hi

It's to skip a certain abap code into a LOOP cycle and go to the beginning of the loop for the next record.

Max

3 REPLIES 3
Read only

Former Member
0 Likes
693
Read only

Former Member
0 Likes
694

Hi

It's to skip a certain abap code into a LOOP cycle and go to the beginning of the loop for the next record.

Max

Read only

Former Member
0 Likes
693

Hi,

If you want the loop to go back and do the next record to do the process, you have to use continue statement.

Ex : If you want to delete a record from the internal if certain condition meet and should not execute other statement after continue.


loop at itab.
  if itab-f1 = '100'.
     delete itab.
     clear itab.
     continue.
  endif.

"few more executable statement.
endloop.

Thanks,

Sriram Ponna.