cancel
Showing results for 
Search instead for 
Did you mean: 

call RFC from java (j2ee) / call to j2ee from R/3

Former Member
0 Kudos

hello

i´ve browsed the forum for some time to find how to:

1.) call ejb from r/3 system via rfc

2.) call rfc enabled function modules on r/3 from within an j2ee enviroment

but i didn´t quite get it, because i was a bit confused about all the mentionend techniques

what i found out about

1.) use ejb (session bean) and jndi; configure RFC-Engine Service (we use sap webas)

2.) use jco / jca

(or all rfc enables rfm´s are available as web service, but didn´t find anything about this)

so my question:

are these the preferred techniques to connect j2ee (webAS) <-> r/3; if not are there any others, maybe easier methods?

and last but not least: are there any good online tutorials for this topic?

thanks in advance

franz

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
Active Contributor
0 Kudos

Hello Franz,

i think you should download the JCo from http://service.sap.com/connectors, extract it and look into the examples coming with it.

Regards

Gregor

Answers (1)

Answers (1)

Former Member
0 Kudos

Just as a short partial reply.

The generic Java --> RFC method is JCO (it will work on older versions as well), you can think of it as a JDBC driver where R/3 is the database, it behaves very similar in many ways.

EJB development on SAP WAS is really not any different from EJB development on any other J2EE server. The deploy tool is superb. very easy to use and the JNDI registry, etc. are standard stuff...

ABAP to EJB calls, haven't looked at this in over a year now, but back then we did a Proof Of Concept based on information at http://help.sap.com and it did work indeed. The only thing was back then that you needed to do a few tweaks to get it to work properly.

As mentioned above, look at the JCO examples and then you can ask more specific questions once you get stuck.

Good Luck!

Cheers,

Kalle