2009 Mar 10 9:54 AM
loop at itab.
if <CONDITION>
<EXIT LOOP>
endif
endloop.
this ths condition , pz tel how to exit from loop
loop at itab.
if <CONDITION>
<EXIT LOOP>
endif
endloop.
this ths condition , pz tel how to exit from loop
2009 Mar 10 9:55 AM
2009 Mar 10 9:57 AM
loop at itab into wa_itab.
if sy-tabix = 2.
exit.
endif.
endloop.
this will end loop processing at 2nd record of loop.
2009 Mar 10 9:58 AM
Hi
Loop
statements
...............................................
.....................................................
.........................................................
EXIT
Endloop.
Will comes out of the loop.
Regards,
Sreeram Kumar.Madisetty
2009 Mar 10 9:59 AM
2009 Mar 10 10:00 AM
Hi,
Check the sample code:
Loop at t_itab.
if sy-tabix gt 3.
exit.
endif.
endloop.Regards,
Rajani
2009 Mar 10 10:03 AM
<<don't beg for points>>
I will delete 100 points from you.
Edited by: Vijay Babu Dudla on Mar 10, 2009 6:09 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |