cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC-Engine Service

Former Member
0 Likes
2,111

Hi,

in Web AS there is a RFC-Engine service that enables ABAP programmers using session beans via RFC.

I´v found some information how to use this feature writing a Enterprise Portal service.

Is there also a description how to publish a "normal" session bean (not a portal service) as RFC method?

Thanks in advance

Helmut

View Entire Topic
Former Member
0 Likes

Hi Stefan,

We are trying to use the JCO RFC provide service to get ABAP call from SAP web AS (solution manager). And get the the similar problem which talked by you.

I create a destination named “acc”, and register a destination using sm59 on Solution Manager with the same programid, sapgateway, and gateway system number. I write and deploy a stateless EJB with the JNDI name same as the function name. But when I call this function from solution manager, it always raises exception

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

at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:1947)

at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1507)

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

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

at java.lang.Thread.run(Thread.java:534)

(The function name “ACI_READ_SLD_DATA”) And in JNDI registry I can see the name “ACI_READ_SLD_DATA”.

It seems that the JCO server can not found the function in repository. But I don’t know how to add the function module the repository of this JCO Server.

And I do not know what should be set in the repository of the RFC destination in VA . Currently the repository set in the RFC Destination is some information about the WAS (Solution Manager).

I searched for more document for this issue, but did not get right information.

So I beg for you help. I will really appreciate if you can give us some help.

Thanks in advance.

Regards, Jackie Ju