2023 Nov 02 10:35 AM
Hello community,
we have performed an ABAP trace on a long running batch process. We suspect that a certain loop is responsible for the poor performance. According to the red marked line in the screenshot is it possible that this loop is really called over a billion times? Or does the value in the column 'Number' say something else in this time split view?
2023 Nov 02 11:04 AM
for me it is the number of LOOP
it could be possible if you have huge quantity of data and if the LOOP is inside others LOOP
2023 Nov 02 11:04 AM
Hello,
your assumption is right, this is the amount of executions during the trace recording.
Kind regards
Jan
2023 Nov 02 12:41 PM
That's the number of records read in the loop (if the loop is called multiple times with non optimized filter critera, wrong where clause ot itab type, that can be more than actual number of records)
Use the navigation options to reach the related code.
2023 Nov 02 12:47 PM
~1.5 billion of internal table iterations is logical compared to more than 10 millions of CALL METHOD !!! Now, the question remains: what is the source data/ABAP code/non-ABAP code/other reason of so many loops and calls?
2023 Nov 03 11:54 AM
@Sandra Rossi,
it is a about data transformation in a BW data transfer process.