Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFM to get long name of host computer?

Former Member
0 Kudos

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

7 REPLIES 7

Former Member
0 Kudos

Hi!

Use FM TH_SERVER_LIST.

Best!

Jim

0 Kudos

> Use FM TH_SERVER_LIST

On my system (620), that gives short host names, too.

Thanks.

--

Tim

0 Kudos

Try with fm

After calling fm THUSRINFO you will get ip

then use that ip with fm

RFC_IP_TO_HOST

0 Kudos

> RFC_IP_TO_HOST

Short names.

0 Kudos

call FM

TH_GET_PLUGIN_INFO

and pass "1" to protocol import parameter

Regards

Raja

0 Kudos

> 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

Former Member
0 Kudos

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