‎2006 Oct 03 2:46 PM
Can I determine within an ABAP program the current
version of the Java Runtime Environment of the
client workstation, if any?
I need to determine whether the user has version
1.4 installed, because it is needed to support
attaching a file.
‎2006 Oct 04 2:25 PM
you can read the system registry from ABAP
for example to read the excel class id i use
CALL METHOD cl_gui_frontend_services=>registry_get_value
EXPORTING
root = '0'
key = 'Excel.ApplicationClsid'
* VALUE =
IMPORTING
REG_VALUE = 'here you will get the class id
* EXCEPTIONS
* GET_REGVALUE_FAILED = 1
* CNTL_ERROR = 2
* ERROR_NO_GUI = 3
* NOT_SUPPORTED_BY_GUI = 4
* others = 5
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
similarly you can read the jre version
Regards
Raja
‎2006 Oct 04 2:25 PM
you can read the system registry from ABAP
for example to read the excel class id i use
CALL METHOD cl_gui_frontend_services=>registry_get_value
EXPORTING
root = '0'
key = 'Excel.ApplicationClsid'
* VALUE =
IMPORTING
REG_VALUE = 'here you will get the class id
* EXCEPTIONS
* GET_REGVALUE_FAILED = 1
* CNTL_ERROR = 2
* ERROR_NO_GUI = 3
* NOT_SUPPORTED_BY_GUI = 4
* others = 5
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
similarly you can read the jre version
Regards
Raja