Skip to Content
1
Dec 04, 2009 at 06:24 AM

Like Condition in Loop at itab

6226 Views

Dear Experts,

I want to use the like condition in loop at itab, It is not possible to use like condition in loop at itab, then how I can accomplish my task?

Example:

*LOOP AT itab where field1 like '5%'.*               " It is not possible
  SELECT 
       --- 
   FROM 
       ---
   INTO CORRESPONDING FIELDS OF itab2
   WHERE 
       ---
    APPEND: itab2.
    CLEAR: itab2.
  ENDSELECT.
ENDLOOP.

Thanks and Regards,

Sohail