cancel
Showing results for 
Search instead for 
Did you mean: 

connection closed without message (CM_NO_DATA_RECEIVED), error key: RFC_ER

Former Member
0 Kudos

Hi,

I am calling a RFC from a webdynpro application which saves data to R/3.

I have written code for calling the Save RFC from webdynpro end.

When i test by hitting Save, i am experiencing the following error. I believe this occurs when modelObject.execute() is called.

connection closed without message (CM_NO_DATA_RECEIVED), error key: RFC_ERROR_SYSTEM_FAILURE

If i test the same RFC for Save through SAP GUI, i am able to execute that RFC.

I tried with 2 different set of JCO connections too. I am experiencing same error with both JCO connections.

Do anyone have an idea on why this happens?

Thanks,

Karthik

Accepted Solutions (0)

Answers (2)

Answers (2)

vijayakhanna_raman
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Karthik,

If i m right the Exception you get will be WDDynamicRFCExecuteException.

Give the below code in the catch block and see if the exception threw is WDDynamicRFCExecuteException :

catch(WDDynamicRFCExecuteException e)

{

wdComponentAPI.getMessageManager.reportException("Exception"+e,true);

}

If it is so then below is the solution.

Usually RFC_ERROR_SYSTEM_FAILURE occurs only when there are some changes made to the RFC side ABAP code or any change in the table tructure of the function module.

So reimport ur model in webdynpro.

Restart ur server.Because restarting ur server will remove the metadata cashe problem.

I think the problem is not with the JCO Connection.

Try the above solution.

Hope this helps.

Regards,

Rathna.

deepnain_kundra
Participant
0 Kudos

Hi Rathna,

Can you help in my problem at follows

/thread/161414 [original link is broken]

Regards

Deep