Skip to Content
0
Sep 12, 2007 at 10:44 AM

Performance issue

16 Views

Hi All,

I ahve doubt regarding Where clause in LOOP.

Which one will give better performance.

1. LOOP AT i_tab INTO wa_tab WHERE ......conditions

..Processing.

ENDLOOP.

2. LOOP AT i_tab INTO wa_tab.

IF conditions

..Processing.

ENDIF.

ENDLOOP.

Is it depends on total number of records/no of records that satisfy where clause in any way?

Regards,

Vinod.