I've repeatedly run into the issue where a transaction or a session crashed while a SAT measurement is running. Unfortunately, some measurements take a long time, so a considerable amount of work is lost. But the trace is actually there, and very lik...
The following code runs fine, although LT_ORDER contains a line with a freed itab reference (LR_CHOCOLATE). If however, you uncomment the marked line (so that dangling itab reference is replaced by a valid reference), you get a SYSTEM_DATA_ALREADY_FR...
Instead of passing a where condition, why not pass the individual ranges in some form and use them directly in the query? That would also avoid recompilation of the filter and query plan and might improve performance a little more.Note that applying ...
This now has a better solution using itab joins:select ekpo~ebeln, ekpo~ebelp, max(ekpo~erdat) as erdat, max(ekpo~badat) as badat, max(ekpo~crdat) as crdat from ekpo inner join @itat as it on it~ebeln = ekpo~ebeln ...