Skip to Content
0
Former Member
Apr 25, 2005 at 11:12 AM

[graydom]error:CM_NO_DATA_RECEIVED

69 Views

hi

I am a JCO freshman and come from China.

Now, I can use JCO to connect to the SAP/R3 server,

and I can print some infomation about the server,for example:

//CODE

JCO.Attributes attributes = client.getAttributes();

System.out.println("Connection attributes:\n" +

"----


\n" + attributes);

//CODE END

then a use a BAPI to write some data into the R3 server,

I can get the function , and setValue to the function.

but when I execute the function, I catch a exception:

//EXCEPTION

RFC_ERROR_SYSTEM_FAILURE

com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: connection closed without message (CM_NO_DATA_RECEIVED)

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1217)

at com.sap.mw.jco.JCO$Client.execute(JCO.java:3684)

at com.sap.mw.jco.JCO$Client.execute(JCO.java:3129)

at com.landray.sap.SAPReader.executeBAPI(SAPReader.java:362)

at net.test.TestSAP.<init>(TestSAP.java:51)

at net.test.TestSAP.main(TestSAP.java:88)

//EXCEPTION END

when I use the SAP client to test the BAPI, I need to input some data , then press excute,then it will pop-up

a window to ask me to input another value's range.but in the bapi , it donot need to input the range. Is it the point of the problem that bring on the exception? if not,how can I solve the problem ? I have read some post about it , but I can not fine the answer .

thanks for you help.