Skip to Content
0
Former Member
Oct 20, 2005 at 06:58 AM

Problems with sender RFC

61 Views

Hi,

I have a scenario where a R/3 (4.6 C) should send mails via the XI. My problem is, that I am not able to send an asynchronious RFC to the XI. I got the following error in the R/3 SM58: JCO.Server could not find server function 'TheRFCFunction'

In the Visual Admin of the XI I got the following error

com.sap.mw.jco.JCO$Exception: (123) JCO_ERROR_FUNCTION_NOT_FOUND: JCO.Server could not find server function TheRFCFunction'

at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java(Compiled Code))

at com.sap.mw.jco.MiddlewareJRfc$Server.executePlayback(MiddlewareJRfc.java:1939)

at com.sap.mw.jco.MiddlewareJRfc$Server.playbackTRfc(MiddlewareJRfc.java:1761)

at com.sap.mw.jco.MiddlewareJRfc$Server.handletRfcRequest(MiddlewareJRfc.java:1655)

at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java(Compiled Code))

at com.sap.mw.jco.JCO$Server.listen(JCO.java:7093)

at com.sap.mw.jco.JCO$Server.run(JCO.java:7022)

at java.lang.Thread.run(Thread.java(Compiled Code))

Well, this sound like the RFC Function (TheRFCFunction) is not configured in the XI, but it is! I set up the communication channel, sender agreement, receiver determination,...

The RFC Function Call in R3 is the following...

CALL FUNCTION 'TheRFCFunction'

IN BACKGROUND TASK

DESTINATION 'RFC_ADAPTER'

TABLES

invoice_file_rh = lr_invoice.

COMMIT WORK.

What's wrong with this scenario?

Thank you for your help

Thomas

PS: If it is important, we use SP14