Below is documentation, parameters and attributes of ABAP Method REGISTRY_SET_VALUE within SAP class CL_GUI_FRONTEND_SERVICES. There is also a number of example ABAP code snipts to help you implement this method.Class: CL_GUI_FRONTEND_SERVICES Method:
This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name CL_GUI_FRONTEND_SERVICES into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.
REGISTRY_SET_VALUE Method Type:
This is a Static Method so you can call it directlyImporting Parameters:
Below is a list of importing parameters associated with this method, including its name, description and data type
VALUE_NAME " Value Name TYPE STRING
VALUE " Value TYPE STRING
ROOT " Root TYPE I
KEY " Key Name TYPE STRINGExporting Parameters:
RC " Return Code TYPE IExceptions: REGISTRY_ERROR
- Could not access registry CNTL_ERROR
- Control error ERROR_NO_GUI
- No GUI available NOT_SUPPORTED_BY_GUI
- GUI does not support thisExample ABAP coding
ld_VALUE_NAME TYPE STRING ,
ld_VALUE TYPE STRING ,
ld_ROOT TYPE I ,
ld_KEY TYPE STRING ,
ld_RC TYPE I.
" ld_VALUE_NAME = "
" ld_VALUE = "
" ld_ROOT = "
" ld_KEY = "
- CALL METHOD CL_GUI_FRONTEND_SERVICES=>REGISTRY_SET_VALUE(
- VALUE_NAME = ld_VALUE_NAME
- VALUE = ld_VALUE
- ROOT = ld_ROOT
- KEY = ld_KEY
- RC = ld_RC
- REGISTRY_ERROR = 1
- CNTL_ERROR =