SAP ABAP Programming, Functional and Basis Component Reference Books
RFC call to get Server List

How to get the RFC call to get the list of SAP Servers (Different machines)?
Does such a thing exist (From SAPRFC.INI may be?) but the INI file is not a good option as I would need to check
the connection availability.
 

A list of application servers within an R/3 system can be obtained by calling function module 'TH_DISPLAY_SERVER_LIST

For example: 

REPORT ZSERVERLIST.

call function 'TH_DISPLAY_SERVER_LIST'.

*** End of Program
 

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com