Read application server parameters

Problem: you want to read value of a parameter set on application server.

Solution: unfortunately there is no Function Module for this task.

There is however a C function which you can call directly from your source code. To do this please refer to the code presented below.

DATA:
  lv_sys_param_value type c length 30.
 
CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'sys_param_name'
                   ID 'VALUE' FIELD lv_sys_param_value.
DATA:
  lv_sys_param_value type c length 30.

CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'sys_param_name'
                   ID 'VALUE' FIELD lv_sys_param_value.

Komentowanie jest zakończone.