AppDynamics CAAA study materials
AppDynamics CAAA study resources

SAP GUI Response Time Dispute

AppDynamics CAAA · Put your knowledge to work in context.

All case studies

SAP GUI Response Time Dispute

A company runs SAP ECC with a central ABAP application server and a separate database server, monitored with the SAP solutions agent. Users in a regional office complain that a specific transaction (a custom report) is 'unbearably slow' in the morning. The Basis team points at the database; the DBA points back at ABAP. AppDynamics shows the SAP application server's CPU is moderate and the database host is healthy. The custom report runs a long-running ABAP loop that calls a remote function module, and the regional users connect over a WAN link that is congested between 08:00 and 10:00. Average end-to-end time for the report is 14 s in the morning vs. 3 s in the afternoon.

1. How would you use SAP-level monitoring to separate ABAP execution time, database time, and network/front-end time for this report?

Read the worked answer

Break the transaction into layers rather than trusting host CPU. In the SAP agent's transaction/ABAP analysis, look at the response-time decomposition: CPU time, DB time (database request time), and wait/other time for the report's transaction code. If DB request time is low and CPU time is moderate, the DB is not the culprit. Then examine the remote function call (RFC) segments - the ABAP loop calling a remote function module adds RFC round-trips whose duration depends on network latency. A WAN-congestion pattern (slow only 08:00-10:00, matching the link's busy window) with normal DB and CPU time points to network/RFC wait. Compare morning vs. afternoon snapshots of the same transaction to see which segment grows.

2. The morning slowdown tracks the WAN congestion window exactly. What does that imply about where the time is spent, and how does the long ABAP loop make it worse?

Read the worked answer

If the only variable that changes between morning and afternoon is the WAN link, and DB time and CPU time are flat, the extra ~11 s is being spent in communication/wait segments, not computation. The long ABAP loop is an amplifier: each iteration that makes a remote call pays a network round-trip, so high latency multiplies across many calls (chatty design). Fewer, batched calls would shrink the penalty.

Implication: the fix is not 'tune the database' or 'add ABAP CPU.' It's reduce round-trips (batch the RFC calls, move the loop server-side, cache results) and/or address the WAN path (QoS, scheduling the report outside the congested window). Confirm by checking that RFC/communication wait time scales with the number of calls and with link latency.

3. How would you settle the Basis-vs-DBA dispute with evidence rather than opinion?

Read the worked answer

Present the time decomposition for the same transaction in both windows: ABAP CPU time, DB request time, and communication/RFC wait time. If DB request time is essentially unchanged morning vs. afternoon while communication wait grows by the same ~11 s as the total, the database is exonerated and the ABAP/RFC design plus WAN latency is implicated. Host CPU being 'moderate' and the DB host being 'healthy' are consistent with this. The decisive evidence is that the delta between morning and afternoon appears in the communication segment, not the DB segment - and that it correlates with the known 08:00-10:00 congestion window.