04-04-2008 6:40 PM
What is the RFM to get the full name of a host computer?
I get host names from RFC_GET_LOCAL_SERVERS, but they are short names. I want to translate them to the long names useby other computers:
MyHost --> MyHost.MyDomain.com
Thanks.
--
Tim
04-04-2008 6:59 PM
04-04-2008 7:07 PM
> Use FM TH_SERVER_LIST
On my system (620), that gives short host names, too.
Thanks.
--
Tim
04-04-2008 7:28 PM
Try with fm
After calling fm THUSRINFO you will get ip
then use that ip with fm
RFC_IP_TO_HOST
a®
04-04-2008 7:40 PM
04-06-2008 6:46 AM
call FM
TH_GET_PLUGIN_INFO
and pass "1" to protocol import parameter
Regards
Raja
04-07-2008 4:04 PM
> TH_GET_PLUGIN_INFO
Short name.
Somewhere there as to be some computer configuration information, maybe for CCMS, that has the long and short host names.
When you define remote destinations in SM59 you supply a long host name in the 'Target host'
--
Tim
04-07-2008 6:11 PM
I may have mislead you guys.
My SAP machines were configured and run in a separate domain. They reference each other with short names; I don't think they even know the long, domain-qualifed names.
I probably need to make an OS call to the get long names.
--
Tim