cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a RFC using connection pool

Former Member
0 Kudos

Can I use connection pool to call a RFC from my R3? I'm using SAP Enterprise Connector but I don't want to pass user/password hardcoded.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Am not aware of the Enterprise Connector that you have referred to, but this is the general procedure.

The general methodology followed to have RFC calls in webdynpro/java projects in as follows

1. Create RFC Destinations in 'Webdynpro Content Administrato'

2. Use Destination service to access the Webdynpro Content Administrator properties.

3. create a JCO.Client using the properties fetched in step 2.

4. Execute the RFC.

Regards,

Nagaraj

Former Member
0 Kudos

Thanks Nagaraj, I tried this before and it works. But I read something about SAP JRA (SAP Java Resource Adapter) to call RFCs using JCA (Java Connector Architecture). Using JRA you don't need to use JCO.

Thanks again.

Former Member
0 Kudos

Daniel,

I am trying to use SAP JRA. Did you try using it? If yes, were you successful doing so?

Thanks,

Kiran

Former Member
0 Kudos

Hi Kiran,

Yes I used SAP JRA and it works.

You need JRA deployed and configured on WAS, your basis guy can do it for you. The next step is download this PDF <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4">Accessing BAPIs Using the SAP Java Resource Adapter</a>.

Follow this document, it's very easy to do so.

Former Member
0 Kudos

Hello Daniel,

I was able to test SAP JRA myself too. It works great and so easy compared to JCO, which involves creating client stubs for the BAPI etc. But, since there's less documentation (I've read the one on help.sap.com and the pdf) I wanted to look at the JRA_FlightBooking.zip which is currently un-available (Downloads, but doesn't unzip).

Did you ever get to look at JRA_FlightBooking.zip?

Thanks

Kiran

Former Member
0 Kudos

Hi Kiran, I sent to your mailbox the JRA_FlightBooking.zip file.

If you don't recieve my email, send me an email to dtorres@bbko.com.br, then I reply you.

Answers (0)