Application Development and Automation 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: 
Read only

get current server name and host name

Former Member
0 Likes
22,923

Hello ,

i am using FM TH_SERVER_LIST to get all the server name and host name and there IP in the RFC systems. but the issue is that how to know my current Server name and host name here i am getting more then one server list i want current system information only.

eg. goto the menu system -> status there display only current server name and host name.

please help how to do this.

Thanks,

Abhilash

1 ACCEPTED SOLUTION
Read only

Former Member
8,159

hello madhumahesh,

thanks for u r reply.

but i want this information through RFC. if u can use sy-host it show only log on system only but i need for all systems.

3 REPLIES 3
Read only

koolspy_ultimate
Active Contributor
0 Likes
8,159

Hi,

use sy-host for displaying current user logged host name

i.e

write:/ sy-host,     " Currently logged host name

          sy-sysid.   " Currently logged server name

Regards,

madhumahesh.

Read only

Former Member
8,160

hello madhumahesh,

thanks for u r reply.

but i want this information through RFC. if u can use sy-host it show only log on system only but i need for all systems.

Read only

0 Likes
8,159

Is this the function you are looking for ?

RFC_CLIENT_INFO.