Skip to Content
Former Member
Feb 12, 2006 at 03:45 PM

loop at internal table


Hi. I am fairly new to ABAP. I have a small doubt which requires your help. I wan to know if the following statement is correct.

loop at g_t_data where matnr in so_matnr.

so_matnr is a select option for mara-matnr.

I want to know if it is correct to use a select option after the where clause. I tried using it, and I didnt get any syntax error. I want to know if it is a right programming practice to do so.