‎2007 Jul 30 6:11 PM
Hi,
Does anyone know how to read system profile parameters like icm/host_name_full using ABAP?
Thanks in advance!
Regards
Erick
‎2007 Jul 30 6:25 PM
You can use the following code to get the values. Really it is just reading a file which is stored on the application server.
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*.
loop at par_usub.
write:/ par_usub-name(30), par_usub-user_wert(20),
par_usub-default_wert(20).
endloop.
Regards,
RIch Heilman
‎2007 Jul 30 6:27 PM
‎2007 Jul 30 6:28 PM
Check with Program : RSPARAM
Table would be TPFYPROPTY
also check with other tables too
if needed see other tables with USR* and AGR_*
see in the table USL* tables
Thanks
Seshu
‎2007 Jul 30 8:08 PM
Hi.. check table :<b>TPFYPROPTY</b>
It contains all parameters and their description..
Reward if useful
regards
Pradeep