Showing results for 
Search instead for 
Did you mean: 

Call rfc from Java Web application.

Former Member
0 Kudos


I am new to SAP Java programming.

I am developing a java web application on SAP NW SP16.

I need to call a rfc and process the data to be displayed on a jsp page.

I have few questions...

1) Can I use the JCO destination created in thru wed dynpro content administrator, to connect to sap and execute the rfc/bapi?

2) How would I create and access the model (rfc)?

3) Are the required jar and dll(rfc32.dll ... ) files available on the server?

Any help would be greatly appreciated.


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
Active Contributor
0 Kudos

Hi shekar,

I would suggest instead of Adaptive RFC model use SAP Enterprise connector to generate typed proxies. Check


especally Bertram Ganz`s post.

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

Hi Maksim:

Your response is very helpful.

I am developing only J2ee web application, would this class(WDSystemLandscape.getJCOClientConnection(ONE_OF_YOUR_DESTINATION) available for java applications too or just for web dynpro.

I like to use above method or api similar to the above to obtain a jco connection rather creating one by passing those parameters from resource properties file or hard coded variables.

Again thanks for your help!

Former Member
0 Kudos

I am using NWDS SP 16.

Any information on adding the plugins would be greatly appreciated.

Sample programs would be wonderful.