04-16-2015 4:33 PM
Servus from Austria!
I have the following problem:
Debugging and static code Analysis cannot answer this question.
So my question to the trace professionals is:
Which of the ABAP tools can produce a trace which shows me:
Who can help?
04-29-2015 6:03 AM
Hi Rudolf,
you can try to use BADI WORKLOAD_STATISTIC for that. See SAP note 931446 and its attachments.
For example we are logging incoming and outgoing RFC function module calls into custom db tables from an implementation of this badi.
Regards,
Klaus
04-16-2015 7:53 PM
Hi Rudolf,
you can activate a SQL Trace in ST01 transaction.
After deactivate, search your table in results and double click for details. You will notice an icon to navigato to source code.
This trace log by user, but its layout is not friendly, so you need to check one by one.
Regards,
Frisoni
04-17-2015 8:33 AM
Thanks, Guilherme, for your answer. But it does not answer my question ...
I already KNOW the location in the ABAP code.
The question is to find the actual callers at runtime, because in the code there are too many.
Kind regards, Rudi
04-29-2015 6:03 AM
Hi Rudolf,
you can try to use BADI WORKLOAD_STATISTIC for that. See SAP note 931446 and its attachments.
For example we are logging incoming and outgoing RFC function module calls into custom db tables from an implementation of this badi.
Regards,
Klaus
05-05-2015 3:39 PM
Servus Klaus!
Sounds interesting, but AFAIK the statistics only record complete dialog steps.
So your RFC logging works.
What I need is to capture every call of a certain function module with the ABAP call stack.
There is a call stack trace option in the ST05 traces. And SAT also shows some info about the callers ...
But either i am not (yet) able to read the SAT trace right or SAT is the wrong tool ...
Kind regards, Rudi
05-07-2015 6:53 AM
Hi Rudi,
neither ST05 nor SAT are the right tools for your issue, and both are performance killers.
The WORKLOAD_STATISTIC BADI offers tons of data in lots of tables, and it might be tricky to get the needed ones, but you can give it a try.
For this sounds interesting; I will sometimes try to create my own fm call statistic table with a new implementation of this BADI, if I will have the time to do this.
At the moment we have two custom implementations:
The workload statistics are available as well for dialogue, batch and rfc,
Regards,
Klaus