Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Less execution time when setting up a break-point !

Hi all,

I'm testing performance in some ABAP code (in a Web dynpro component), I encountered a strange behavior:

I have the following simplified code:

" Many select statements


loop at lt_str assigning <lfs_str>.

     " Some simple operations

     authority-check object 'AUTH_OBJ'

              id 'GRP' field lv_group

              id 'ACTVT' field '03'.


endloop.


Execution time is about 8 seconds normally, but when I place a break-point just before the loop statement and I continue execution rapidly, the same code is executed in about 5 seconds! I'm talking about the execution of the loop statement only.


I tried replacing the break-point by a WAIT UP TO '0.5' SECONDS statement, but it doesn't have the same effect.

Maybe something is related to a database commit...


For information, the loop is executed about 11000 times.

What did this break-point changes? Something related to ABAP runtime or Web dynpro framework maybe?


Any help is welcome.

Thanks and kind regards,

Amine Abida.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question