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: 

How to get host id of sap server?

Former Member
0 Kudos

hi all,

I want to pass hostname parameter to function module PROFILE_FROM_PAHI using third party language,is there any one who can tell me how do i get hostname outside sap.

Thanks,

John.

5 REPLIES 5

Former Member
0 Kudos

You can use function RFC_GET_SYSTEM_INFO .

Run this is SE37 with destination "NONE" and see the output parameters .

You can call it from outside SAP as it is RFC enabled.

Cheers.

Sanjay

Former Member
0 Kudos

thanks sanjay,

we have small query regarding availability of this function module across all sap version, i.e. it is present in 4.7 but not in 4.5 and 4.6c,is there any other function module which we can use in 4.5 & 4.6c.

regards,

john.

0 Kudos

Hi,

I'm on 4.7 but RFC_SYSTEM_INFO might be ok on 4.5 ???

Regards,

Erwan.

0 Kudos

RFC_SYSTEM_INFO FOR lower releases. It has same output.

Cheers.

Sanjay

0 Kudos

I'm not sure exactly what info you are getting from the other function module. But RFC_SYSTEM_INFO exists in my 46c system, try that one instead. Maybe it is almost the same as RFC_GET_SYSTEM_INFO

Regards,

Rich Heilman