Hello,
I am searching how obtain the exact name of servername in the url execute by my user.
example : http://myserver.mydomain.com:8000/sap(bD2nciZjPTAzMB==)/public/bsp/sap/system/login.htm
I want obtain in a field : [myserver.mydomain.com].
on a client windows, I have addon in the host file one entry like that :
10.10.0.1 myserver2.mydomain.com
I execute this code :
cl_bsp_runtime=>construct_bsp_url(
exporting in_protocol = 'https'
in_application = 'system'
importing out_protocol = l_protocol
out_host = l_host
out_port = l_port ).
I call the page :
http://myserver2.mydomain.com:8000/sap(bD2nciZjPTAzMB==)/public/bsp/sap/system/login.htm
But the field "l_host" give me myserver.mydomain.com and not myserver2.mydomain.com
It is the value "icm/host_name_full" return.
Can you help me ?
Thanks.
Edited by: Rodolphe ATL on Apr 21, 2009 4:53 PM