Skip to Content
0
Jun 05, 2013 at 04:28 PM

Differnce in term of performance

19 Views

Hi ABAP experts,

Let's take the follwing logic:

LOOP at IT into WA

IF condition 1

IF condition 2

Treatment

ENDIF.

ENDIF.

ENDLOOP

If I add an exit statement into it as follwing:

LOOP at IT into WA

IF condition 1

IF condition 2

Treatment

EXIT.

ENDIF.

ENDIF.

ENDLOOP

Do you think that it will be more performant than the first version?

I am making some tests, I cant' really see a big difference between the 2 versions, may be because of few data volume for instant...

Thanks.

Amine