Hi
I am trying to capture all users gui version and patch levels in the system. This is working fine for all windows SAP GUI users through user exit SUSR0001.
However HTML SAP GUI users are receiving short dumps when I flush the methods.
* Store User SAP GUI level in custom table (ISR040911)
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_GUI_VERSION
CHANGING
VERSION_TABLE = GUI_VER
RC = RC.
IF RC = 0.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_COMPUTER_NAME
CHANGING
COMPUTER_NAME = V_PCNAM.
CL_GUI_CFW=>FLUSH( ).
The CNTL_ERROR is raised.
*-check if valid GUI is available----
IF IS_VALID_HANDLE( ) NE 0 AND cl_gui_control=>www_active IS INITIAL.
RAISE CNTL_ERROR.
ENDIF.
Is there anyway I can skip calling these methods if the user is a HTML SAP GUI user? Where can I find this identifier?