You can use the command monitor to analyze long-running SQL statements and identify bottlenecks.
The command monitor is part of the CCMS in SAP systems.
SQL performance analysis is part of the Database Studio.
Database Administration in CCMS, Command Monitor
Database Studio,
Configuring and Starting SQL Performance Monitoring
Analyzing SQL Performance Bottlenecks