Skip to Content
0
Former Member
Aug 25, 2009 at 11:44 AM

No value returned by Method CL_GUI_FRONTEND_SERVICES=>REGISTRY_GET_VALUE

151 Views

Hi

i am using method CL_GUI_FRONTEND_SERVICES=>REGISTRY_GET_VALUE to read the registry value ;

CALL METHOD cl_gui_frontend_services=>registry_get_value

EXPORTING

root = 1

key = 'SOFTWARE\SAP\SAPGUI FRONT\SAP FRONTEND SERVER\LOCALDATA\'

value = 'DATAPATH'

IMPORTING

reg_value = lw_reg_value

EXCEPTIONS

cntl_error = 1

get_regvalue_failed = 2

OTHERS = 3.

This method returs sy-subrc = 0 but lw_reg_value is blank.

This same method is running successfully on another machine, but not on my machine.

I have checked the registry values in my machine, every thing is ok.

Please suggest where could be the problem

Regards

sukhjinder