on 07-10-2008 9:42 AM
Hello all together,
i am interest to kow the following informating using the user exit (EXIT_SAPLSUSF_001) Customer-Specific Check After Every User Logon
SAPGUIVersion
Compilation
. PatchLevel
BuildNumber
what is SAP standard table which stores above fields? if standard table not existed then, what is length and type of each field?
I use code like the following.
DATA: t_file_table TYPE STANDARD TABLE OF file_table.
DATA: return_code TYPE i.
FIELD-SYMBOLS: <gui_info>.
* Call Method GET_GUI_VERSION of class CL_GUI_FRONTEND_SERVICES
* (returns: version, compilation, patchlevel, and build)
CALL METHOD cl_gui_frontend_services=>get_gui_version
CHANGING
version_table = t_file_table
rc = return_code
EXCEPTIONS
get_gui_version_failed = 1
cant_write_version_table = 2
gui_no_version = 3
cntl_error = 4
error_no_gui = 5
not_supported_by_gui = 6
OTHERS = 7.
IF sy-subrc NE 0.
WRITE: /
'Call to the method cl_gui_frontend_services=>get_gui_version',
'returned SY-SUBRC =', sy-subrc.
ENDIF.
LOOP AT t_file_table ASSIGNING <gui_info>.
CASE sy-tabix.
WHEN 1.
version = <gui_info>.
WHEN 2.
compilation = <gui_info>.
WHEN 3.
patch = <gui_info>.
WHEN 4.
build = <gui_info>.
ENDCASE.
ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.