on 07-28-2010 5:46 PM
Does any of you know a way to find a log showing the GUI version of the people that connected to SAP ?
Thanks,
kharlos
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.