2008 Sep 18 6:46 PM
How could I read out a profile parameter such as zcsa/installed_languages in ABAP?
Is the a function I could use?
regards HT
2008 Sep 18 7:00 PM
Here is one way...
REPORT zrich_0001.
types: begin of tpar,
status type sy-index,
name(60) type c,
user_wert(60) type c,
default_wert(60) type c,
end of tpar.
data: par_usub type table of tpar with HEADER LINE.
data: par_sub type table of tpar with header line.
call 'C_SAPGALLPARAM' id 'PAR_USUB' field par_usub-*sys*
id 'PAR_SUB' field par_sub-*sys*.
read table par_usub with key name = 'zcsa/installed_languages'.
if sy-subrc = 0.
write:/ par_usub-name(30), par_usub-user_wert(20),
par_usub-default_wert(20).
endif.REgards,
Rich Heilman
How could I read out a profile parameter such as zcsa/installed_languages in ABAP?
Is the a function I could use?
regards HT
2008 Sep 18 6:58 PM
You can check in the funciton group SPFL.
FM PFL_GET_PARAMETER_VALUES might be helpful.
Table TPFYPROPTY will store all the parameters.
Reards,
Naimesh Patel
2008 Sep 18 7:00 PM
Here is one way...
REPORT zrich_0001.
types: begin of tpar,
status type sy-index,
name(60) type c,
user_wert(60) type c,
default_wert(60) type c,
end of tpar.
data: par_usub type table of tpar with HEADER LINE.
data: par_sub type table of tpar with header line.
call 'C_SAPGALLPARAM' id 'PAR_USUB' field par_usub-*sys*
id 'PAR_SUB' field par_sub-*sys*.
read table par_usub with key name = 'zcsa/installed_languages'.
if sy-subrc = 0.
write:/ par_usub-name(30), par_usub-user_wert(20),
par_usub-default_wert(20).
endif.REgards,
Rich Heilman
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |