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

RFC connection test function but for TYPE G

Former Member
0 Likes
4,271

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

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
2,185

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

2 REPLIES 2
Read only

Former Member
0 Likes
2,185

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

Read only

mvoros
Active Contributor
0 Likes
2,186

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