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

Connection closed message by RFC function module.

Former Member
0 Likes
1,829

Hi experts,

I have an RFC function module where I have no own exception defined. I use 'standard' ones.

EXCEPTIONS

communication_failure = 1 MESSAGE ls_proto-message

system_failure = 2 MESSAGE ls_proto-message

Inside this FM I do update of database table using MODIFY dbtab statement.

In some cases I get exception 'Conection closed' as a message.

Does anybody know what this message means?

Could it be temporary connection failure or timeout by table update?

Thanks a lot.

6 REPLIES 6
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,019

Hello Marek,

I think its temporary problem of ur RFC destination not responding & not the Time Out problem.

Br,

Suhas

Read only

Former Member
0 Likes
1,019

Hi,

Connection Closed, message means, that the connection is lost. In case of a timeout error, you would get 'Timeout' error, so i guess this is because of a lost connection only.

Try debugging the code to find, what exactly is triggering the message.

Regards.

Read only

former_member404244
Active Contributor
0 Likes
1,019

Hi,

is it from SAP TO SAP or SAP to NON-SAP..

I feel it is a temporary connection failure .

Regards,

Nagaraj

Read only

0 Likes
1,019

Hi, it is SAP to SAP.

Read only

0 Likes
1,019

What are the " Some " cases in which you are gettin this error...??

Read only

0 Likes
1,019

HI,

then it is a temporary failure ..when u get this message ..what u can do is GOTO SM59->try to do a test connection with the destination logical system(Other Sap system)..see if u r able to login...If u r able to login then the RFC connection is fine otherwise we need to check in detail in which cases we are getting the error..

Regards,

Nagaraj