cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with sender RFC

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

<b><i>>>JCO_ERROR_FUNCTION_NOT_FOUND: JCO.Server could not find server function TheRFCFunction'</i></b>

According to help.sap this exception occurs

<i>"

<b>Description</b>:A function interface or one of the data structures could not completely be retrieved from the repository.

<b>Possible Actions:</b>get the function module name from the exception text; if the meta data repository was implemented in the JAVA application (there is no call to the SAP system to get the meta data), check the JAVA application, otherwise check and try to execute the function module in the SAP system.

"</i>

Plz try to execute <b>TheRFCFunction</b> in SAP..whether it is correct or not.

Regards

Arpit Seth

Former Member
0 Kudos

@Arpit

Plz try to execute TheRFCFunction in SAP..whether it is correct or not.

I couldn't try the RFC Function in R/3 because the function has no code there. I just defined a function with the tables parameter in the R/3 to import it to the XI

Former Member
0 Kudos

Hi Thomas

In the Visual Admin go to

Services -> Jco RFC Provider

check that there is a definition for TheRFCFunction and that the unicode checkbox for this is NOT enabled.

cheers

sameer

Former Member
0 Kudos

Hi Sameer,

the Service is set to Non Unicode. So that's correct.

Yours,

Thomas

Former Member
0 Kudos

hello..

this wud help u...

Check these links

regards...

vishal

udo_martens
Active Contributor
0 Kudos

Hi Thomas,

call it versalia: CALL FUNCTION 'THERFCFUNCTION'

Regards, Udo

Former Member
0 Kudos

Hi Udo,

I the function and the call are in capital letters. THERFCFUNCTION is not the real function name.

Regards,

Thomas