# SAP GUI User sessions

**URL:** <https://community.dynatrace.com/t/sap-gui-user-sessions/20447>\
**Category:** Real User Monitoring\
**Tags:** sap, gui, user-sessions\
**Created:** [October 2, 2020, 9:19am UTC](https://community.dynatrace.com/t/sap-gui-user-sessions/20447 "2020-10-02T09:19:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iim-dt-trial](https://avatars.discourse-cdn.com/v4/letter/i/e95f7d/32.png) [@iim-dt-trial](https://community.dynatrace.com/u/iim-dt-trial)\
**Post date:** [October 2, 2020, 9:19am UTC](https://community.dynatrace.com/t/sap-gui-user-sessions/20447/1 "2020-10-02T09:19:16Z")

</div>

I have a question about SAP GUI User sessions.

As attached, I understand that Dynatrace is able to measure the response time (time spent on CPU processing, in the database, in queues, on the network…) per T-code.

What logs does Dynatrace see and calculate in the SAP offering?

In particular, I would like to know how Dynatrace is isolating Client, Network and Server.

For example, is Dynatrace using data that can be retrieved using ST03N?

 ![キャフチャ.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/71428e5f92181841c82fd6dd22ed4a91d7c396b0.png)

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [October 2, 2020, 9:21am UTC](https://community.dynatrace.com/t/sap-gui-user-sessions/20447/2 "2020-10-02T09:21:54Z")

</div>

Hi,

ST03 is (almost) exactly how we do it, just via an RFC call instead of the tcode. There is a performance clinic about SAP and Citrix that goes into some of the under the hood methods:

[![](https://global.discourse-cdn.com/dynatrace/original/3X/b/c/bcc721079809fda251ac689fc538e6c0508a8e55.jpeg "SAP and Citrix Enterprise Application Monitoring with Dynatrace") ](https://www.youtube.com/watch?v=Cb-stTvw130)

Mike

---

<div class="post-metadata">

**Author:** ![apm\_license](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@apm\_license](https://community.dynatrace.com/u/apm_license)\
**Post date:** [October 4, 2020, 11:57pm UTC](https://community.dynatrace.com/t/sap-gui-user-sessions/20447/3 "2020-10-04T23:57:06Z")

</div>

Hi Mike

Thank you for your answer.

However, I didn’t understand the video very well.

Could you please briefly explain the main points?

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [October 5, 2020, 7:56am UTC](https://community.dynatrace.com/t/sap-gui-user-sessions/20447/4 "2020-10-05T07:56:19Z")

</div>

The ActiveGate extension uses RFC to connect to the SAP application servers. Once connected it executes a few functions (the functions are documented here: [Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/technology-support/application-software/other-technologies/dynatrace-extension-required/sap/)).

The main function which returns most of the data used for user sessions is SWNC\_GET\_WORKLOAD\_SNAPSHOT.

Mike
