cancel
Showing results for 
Search instead for 
Did you mean: 

Calling external Java from ABAP using JCo?

Former Member
0 Kudos

Does anyone know if one can use JCo to write a server application that can be called from ABAP.

We are presently using JCo to communicate from Java to SAP.

But we need to call an external Java program from within ABAP.

Is this possible?

Thanks for any input.

Fred

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
Active Contributor
0 Kudos

Hello Fred,

you can. Have a look at my Weblog <a href="/people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection">Setup and test SAP Java Connector outbound connection</a>.

Regards Gregor

Former Member
0 Kudos

Hi Gregor,

Thank you so much.

This was what I was looking for. You Weblog was very helpful.

Thanks again.

Fred

gregorw
Active Contributor
0 Kudos

Hello Fred,

thank you for the flowers :-). You can also mark my answer as a solution. So others would see it and I will get 10 Points :-).

Regards

Gregor

Former Member
0 Kudos

Hi,Gregor

why I can't enter you weblog? the URL you provided above is invalid...

gregorw
Active Contributor
0 Kudos

Hello Leslie,

please try also:

/people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection

Regards

Gregor

Former Member
0 Kudos

Hi Gregor,

I was hoping you would reply to this -- these posted messages had been here for quite sometime now.

Anyway, here's the case. Our Basis team is installing the JCo in our SAP development server. This is our first time to implement this technology, so no one has a clue at all.

Got a couple of questions for you...

1. What do we need the JDK for? Is it mainly for editing, running, and compiling java files (e.g. Example5.java)?

2. Does the JDK need to be installed at the SAP server as well? Or it doesn't matter, as long as the java files will be accessible from where it was installed at?

Thanks for any response!

Former Member
0 Kudos

Mariel,

I shall try to answer you question since you have not heard back from Gregor.

1) The JDK is required for exactly what you said... editing, running and compiling java files.

2) YOu don't need to install the JDK on the SAP server but you will need the JRE (javar runtime environment). The JRE is required inorder for the java files to be executed on the machine its on.

Hope this helps.

Fred

Answers (0)