cancel
Showing results for 
Search instead for 
Did you mean: 

Users GUI version history log

Former Member
0 Kudos

Does any of you know a way to find a log showing the GUI version of the people that connected to SAP ?

Thanks,

kharlos

Accepted Solutions (0)

Answers (1)

Answers (1)

JPReyes
Active Contributor
0 Kudos

As far as im aware that information is not collected by the system.

You can keep the sapgui version on your environmemt consistent using SAP fronted end installation server.

Regards

Juan

Former Member
0 Kudos

Thanks Juan for the answer.

In SM04, you can see the version of the GUI the end user is using, I want to know if there is a history log for this.

Former Member
0 Kudos

Goto SM04 and place your cursor on GUI information row for any user press F1 and click on Technical Information button.. check for the table and check if possible to switch on table loggin or you ask your developer to make a Ztable and a z program for this.

However it was possible in SAP systems <620

-


=>Logon on desired system (< 620)

=>Run the transaction se24

=>enter the following class name: cl_gui_frontend_services

=>Click the "change" button

=>Add the new method: "Get_Gui_Version" under column 'methods' ( on the

same row) , under 'level' select "static",

under 'visibility', select "public"

=>place the cursor on the newly created method and click the

'parameters' button(upper left)

enter the following parameters as indicated below;

parameter | Type | ....| Reference type|

-


VERSION_TABLE|Changing | | FILETABLE

RC |Changing | | I

=>Click the "exception" button and add the following,

Exception | Description |

-


GET_GUI_VERSION_FAILED | Operation not possible

CANT_WRITE_VERSION_TABLE | Insufficient memory

GUI_NO_VERSION Gui | version not available

=>Click on the 'save' button

=>Click the 'method' button

=>Doubleclick on the newly created method (Get_Gui_version)

=>inbetween 'method GET_GUI_VERSION .' and 'endmethod.', copy and paste

the following source code;

DATA: L_RESULT TYPE FILE_TABLE,

RET_CODE TYPE I.

CLASS CL_GUI_CONTROL DEFINITION LOAD .

*assign dp table to control..........................

CALL FUNCTION 'DP_CONTROL_ASSIGN_TABLE'

EXPORTING

H_CNTL = HANDLE->H_CONTROL

MEDIUM = CNDP_MEDIUM_R3TABLE

PROPERTYNAME = 'R3TABLE'

TABLES

DATA = VERSION_TABLE

EXCEPTIONS

DP_ERROR_CREATE = 1

DP_ERROR_SEND_DATA = 2

DP_ERROR_ASSIGN = 3

DP_ERROR_INVALID_PARAM = 4

DP_ERROR_TABNAME = 5

OTHERS = 6.

IF SY-SUBRC <> 0.

RAISE CANT_WRITE_VERSION_TABLE.

ENDIF.

*call the method......................................

CALL METHOD HANDLE->CALL_METHOD

EXPORTING

METHOD = 'GetGuiVersion'

P_COUNT = 0

QUEUE_ONLY = ' '

IMPORTING

RESULT = RC

EXCEPTIONS

OTHERS = 1.

IF SY-SUBRC <> 0.

RAISE GET_GUI_VERSION_FAILED.

ENDIF.

CALL METHOD CL_GUI_CFW=>FLUSH

EXCEPTIONS

CNTL_SYSTEM_ERROR = 1

CNTL_ERROR = 2

others = 3.

  • IF SY-SUBRC <> 0.

  • RAISE CNTL_ERROR.

  • ENDIF.

*end call.............................................

CALL FUNCTION 'DP_CONTROL_GET_TABLE'

EXPORTING

H_CNTL = HANDLE->H_CONTROL

PROPERTYNAME = 'R3TABLE'

MEDIUM = CNDP_MEDIUM_R3TABLE

TABLES

DATA = VERSION_TABLE

EXCEPTIONS

DP_ERROR_CREATE = 1

DP_ERROR_GET_PROPERTY = 2

DP_ERROR_GET_DATA = 3

DP_ERROR_INVALID_PARAM = 4

OTHERS = 5.

IF SY-SUBRC <> 0.

RAISE CANT_WRITE_VERSION_TABLE.

ENDIF.

IF RC <> 0.

RAISE CANT_WRITE_VERSION_TABLE.

ENDIF.

IF RC <> 0.

RAISE GET_GUI_VERSION_FAILED.

ENDIF.

=>Save, check and Activate the method.

Information on how to test the new functionality could be found in note 654583

Former Member
0 Kudos

Thanks Prateek, is there available for 710 version?

JPReyes
Active Contributor
0 Kudos

In SM04, you can see the version of the GUI the end user is using, I want to know if there is a history log for this.

As I said before, as far as I'm aware that info is not collected by a SAP table or log (by collected mean stored).

Regards

Juan

Former Member
0 Kudos

At ano Kharlos?

Me ganun?

I have the same question. Appreciate all your assistance.

Thank you.

Former Member
0 Kudos

Note 748424 - Evaluation of SAP GUI versions and patches

With the SM04 you can only see the levelpatch of the online users

use the report SAPGUI_VERSION and see the output.

Hope would be helpfull for you

ciao,

Cristian