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

Regarding RFC connection

Former Member
0 Likes
492

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
Read only

Former Member
0 Likes
452

Hello,

I think SM59 tcode may helps u.

Check it once ...

Thank You,

santhosh

Read only

Former Member
0 Likes
452

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.

Read only

0 Likes
452

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

Read only

0 Likes
452

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.