Loop...Where & Loop...Check in ABAP/4
Loop...Where
LOOP AT itab where key = pa1.
...
...
...
ENDLOOP.
Loop...Check
In above logic, Loop...Where is better than Loop...Check because Loop...Where verifys the specified condition internally.LOOP AT itab.
CHECK itab-key = pa1.
...
...
...
ENDLOOP.
- thitima's blog
- 5306 reads
Post new comment