cancel
Showing results for 
Search instead for 
Did you mean: 

Error Calling Java process from SAP

knighttommy
Explorer
0 Kudos

Thanks for any support that can be given.

We are creating a java process that connects to SAP. This process will be used to write messages from SAP to a MQ server.

We have the process running in and it is connecting to SAP.

     1. It registers in SAP. We can see it in SMGW --> Logged on Clients

     2. In SM59 the connection test for teh Destination completes successfully.

When we try to write messages from SAP to the registered server process, we are getting a dump. The message is

 

    RFC error text: "RFC_ERROR_SYSTEM_FAILURE"

    CPI-C error text: "Failed to resolve repository reference @ABAP_AS_WITH_POOL

     causes 'Z_RFC_OUTBOUND' could not be created."

I have attached the code as to this message.

Let me know if more information is needed to help resolve the issue.

Thanks for your help.

Tommy.

Accepted Solutions (0)

Answers (1)

Answers (1)

HAL9000
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tommy,

there is something wrong with your repository destination configuration ABAP_AS_WITH_POOL which does not seem to be able to get the required RFC meta data from your AS ABAP back-end system.

Please have a look in to the RFC error log file dev_jco_rfc.trc for getting the full exception stack with the causing exception or create a JCo trace file for getting further info.

Best regards,

Stefan

PS: It is not good idea to publish passwords with your coding. It seems to be a real one.