‎2009 Mar 22 3:24 PM
I want to test namely ping a rfc destination type G to see whether it is working or not
I found some function but none of them works for type G .
they give the error says that "illegal destination type G" or "Communication Failure" but when I try it from SM59 by testing connection it is ok..
Is there another function apart from following to test RFC destinatinon for type G
Report : RSRFCPIN
FM . RFC_PING
Thanks
‎2009 Mar 22 10:04 PM
Hi,
SAP uses program RSHTTPPIN to test connection of RFC destination with type G. Have a look at this program. It creates only HTTP connection using inteface if_http_client.
Cheers
‎2009 Mar 22 10:02 PM
HTTP and SAP RFC are different things. What type G is doing in SM59 is anyway one of the wonders of the world...
SM59 is using FM RFC_SYSTEM_INFO, which will "ping" at the network layer, and return anything meaningfull which it is permitted to (including the physical connectivity test).
Cheers,
Julius
‎2009 Mar 22 10:04 PM
Hi,
SAP uses program RSHTTPPIN to test connection of RFC destination with type G. Have a look at this program. It creates only HTTP connection using inteface if_http_client.
Cheers