on 09-12-2006 9:18 PM
We have an application developed in JAVA, running on WebAS J2EE engine, and want to be able to read (not write to) existing tables that are used by apps in the ABAP engine. What is the recommended approach (e.g. what Java classes to use) for this ? If anybody can provide sample code to help us with this, we would be very grateful.
Thanks,
Tim
JCo is simply the RFC API encapsulated in a Java library so that standard RFC functions can be called from Java, and vice versa. When you make JCo calls to read data from the ABAP stack, you're really making RFC calls under the covers.
Sample JCo code can be found here: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/content.htm</a>
Rich
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tim,
The Answer is Java Connectors.
For more information on Java Connectors,
Please look at the below links...
http://www.erpgenie.com/interfaces/javaconnector.htm
Search for Java Connectors(JCo) in SDN. You will get more information on this topic.
Hope it helps.
Regards,
Maheswaran.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thankyou for the information given so far.
I just want some further clarification. Is JCo only usable if the ABAP engine is on same WebAS instance, or can J2EE code on one instance read tables which are on an ABAP system on another instance somewhere else in the SAP landscape ?
Also, I heard SAP rfc might be useful. When is JCo better than rfc, and when is rfc better than JCo ? Are these the only two options available ?
Thanks again,
Tim
RFC_READ_TABLE
make this function module webservice(if ecc 5 or higher)
or make it JCo enabled
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.