Skip to Content
0
Former Member
Jun 02, 2008 at 02:22 PM

Skip loop step

60 Views

Hi,

Is there an instruction to skip a loop step??

My code looks like that:

LOOP AT it_matnr.

 IF it_matnr <> matnr.
   CHECK 1 = 0.  
 ELSE.
* Do something....
 ENDIF.
ENDLOOP.

The instruction CHECK 1 = 0 works but It isn't "elegant"... is there another option?

  • Don't say me that the SKIP step with CHECK 1 = 0 is useless, because that's only a sample code to explain the situation...

Edited by: Marshal Oliveras on Jun 2, 2008 4:23 PM