cancel
Showing results for 
Search instead for 
Did you mean: 

Adaptive RFC for Java

Former Member
0 Kudos

Hello Everyone,

Just like you have Adaptive RFC Model autogenerated JCO stuff for WebDynPro, is there similar for Java/J2EE?

I know that I can use JCO API to do it, but wondering if such a feature is there?

What are my other options?

Thanks,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kiran,

Yes, it is SAP Enterprise Connector.

In NW IDE run "File / New / Other...", select "SAP Connectivity".

VS

Former Member
0 Kudos

Valery,

Thanks for the reply. That's what I really wanted! Two things..

1. I am thinking there is not one place like the WebDynPro Content Admin where you can maintain these connections.. am I right? This means, username/pwd for my R/3 has to be hardcoded. Doesn't seem like a good idea, are there any alternatives?

2. I was able to generate JCO classes for my RFM, but all classes have numerous missing classes like for ex: com.sap.aii.proxy.framework.core.BaseType etc. What is the library that I need to import to resolve them?

Thank you,

Kiran

Former Member
0 Kudos

Kiran,

1. It is quite complex quetion. Obviously, you may not use WDSystemLandscape (in your code) for accessing configured pools. However, you may try functionality of <b>com.sap.lcr</b> and <b>com.sap.lcr.api.cimclinet</b> to get almost the same infromation. (both DCs are defined in <i>SAP-JTECHS</i>). To be fair, I've never tried them myself

2. You need to add references to the following DCs:

from <i>SAP-JTECHS</i>:

<b>com.sap.aii.proxy.framework</b>

<b>com.sap.aii.util.misc</b>

from <i>SAP-J2EE</i>:

<b>com.sap.exception</b>

<b>com.sap.mw.jco</b>

AFAIK, that's all necessary to make SAP Connector work.

Good luck,

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Answers (0)