Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to get the information of the users type of logon (type of session)

Hello,

we have created a user within transaction SU01. The user has user type "DIALOG".

We use this user to logon to the system using SAP-GUI (->type of logon = GUI ) and by RFC (->type of logon=RFC).

You can see the type of logon in transaction SM04.

Now we are looking for a way to find out within an ABAP if the user is logged on via GUI or via RFC.

We can not use the information of transaction SM04 because the user maybe is working at the same time as GUI and RFC.

We need the information about the actual session. So we can use sy-uname, sy-mandt,... but there is no field in table SYST which we can use to get the type of logon.

Does anybody know a way to get this information during the active session?

Thanks

Arnfried

Tags:
Not what you were looking for? View more on this topic or Ask a question