Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function module run statistics

0 Kudos

Hello,

Is there a tool to view function module run statistics?

3 REPLIES 3

michael_piesche
Active Contributor
0 Kudos

What 'statistics' are you looking for?

  • Trx. SAT "Runtime Analysis" gives you statistics about runtime performance for a 'planned run' with various different settings to capture function modules, methods, subroutines, as well as database access and down to read and change statements of internal tables
  • Trx. S_MEMORY_INSPECTOR "Memory Inspector - Memory Use Analysis" lets you compare memory usage of programs, you need to take memory snapshots first either in debugger or from System->Utilities->Memory Analysis->Create Memory Snapshot
  • Trx. SCOV "Coverage Analyzer" - has to be turned on in order to collect data and statistics about the execution of procedures: programs, function groups, and classes, drill down to processing blocks: forms, methods or other processing blocks, drill further down to branch and statement coverage
  • 'Alternatives' to SCOV:
    UPL "Usage and Procedure Logging"
    Trx. SCMON "ABAP Call Monitor"
  • Trx. ST03N "Workload Monitor"

0 Kudos

I'm looking for information about the facts of function module calls. E.g. someone execute any transaction that call function module (by use operator «call function»).

In the end I want to know whether the func.module is used in the system or not.

0 Kudos

andrey_popov, in this case it could be SCOV, UPL, SCMON, ST03N, but also STAD, STATTRACE, ST03G, ST01 and ST05.
Read the SAP documentation and blogs about those and get familiar with the tools in order to pick the right one for you.

  • Most statistics about 'coding that has been executed', are based on transactions or reports, not on function module
  • Some collect aggregated information and others very detailed information
  • Some of those statistics are 'always on' and some have to be activated and will use additional performance for collecting this information, those that have to be activated tend to collect more detailed data

What is your exact usecase for your requirement?
Just 'nice to know'? You must have a reason why you want to know this, and maybe the reason can help us guide you in the right direction.