cancel
Showing results for 
Search instead for 
Did you mean: 

RFC_ERROR_SYSTEM_FAILURE

Former Member
0 Kudos

Try to execute a function (ECATT_EXECUTE) with JCO.

It is okay, when SAP system ist Release 6.40 but on a SAP 7.0 system it fails with:

com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Zugriff über 'NULL' Objektreferenz nicht möglich.

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

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

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

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

the execution of the function was started in SAP without problem, but the error occurs most recently by getting the results.

What can i do ?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member214355
Contributor
0 Kudos

Hi

Please see note 957589

Former Member
0 Kudos

thanks for the hint, but is this also the solution of our problem ?

When Debugging the ECATT_EXECUTE-Function we see, that the problem is after

this Statement (line 800 in ECATT_EXECUTE):

IF e_result_xml IS REQUESTED (seems to be true, how can we set this to false ?)

....

CALL METHOD cl_appl_ecatt_log_to_resrep=>get_log_data (here it crashs, no return from this method, ECATT_EXECUTE doesn't continue)