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: 

Regarding RFC connection

Former Member
0 Kudos

Hi ,

I am using a RFC function module to fetch data , i want to check whether the connection i exist before calling the function module so that i can show a message . How is it possible? is there any FM for this?

Regards,

Ratheesh BS

4 REPLIES 4

Former Member
0 Kudos

Hello,

I think SM59 tcode may helps u.

Check it once ...

Thank You,

santhosh

Former Member
0 Kudos

Hi,

You can check whether that particular RFC dest is available in this table RFCDES.

All the possible destinations are stored in the database table RFCDES, whose content is managed using transaction SM59

Rhea.

0 Kudos

Hi,

I have done all the settings in SM59 , still sometimes the connection is not extablished , so my report shows a dump. I want to avoid this, please give me your suggestion.

Regards,

Ratheesh BS

0 Kudos

Hi,

use this FM STFC_CONNECTION to test the RFC Destination.

Execute the function module STFC_CONNECTION using transaction SE37. Specify the above RFC destination in u2018RFC target sysu2019 input box. You can specify any arbitrary input as REQUTEXT. If everything works fine, you should receive the same text as a response.

Hope it helps you.

Rhea.