I Use
CALL METHOD cl_http_server=>if_http_server~get_location
* EXPORTING
* protocol = 'http'
* APPLICATION =
* FOR_DOMAIN =
* server = lv_server
IMPORTING
host = lv_host
port = lv_port
out_protocol = lv_protocol.
to get full host name
We have 3 app server, when i run it, the host return me full name(with domain) on 2 App servers, return only name(with out domain) on one app server. I checked with RZ11, the icm/host_name_full parameter is correct.
Can anyone let me know how to fix it?