cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a Java Program thru an ABAP Program

Former Member
0 Kudos

Hi,

Can we cann a Java Program thru an ABAP Program, if so how?

What is the platform requirements for the same, how is the link established?

Thank You,

Arpita Arora

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Another option is to expose your Java program as a web service. Then, do a standard web service call from your ABAP system, assuming you ar en AS ABAP 6.40 or later.

Here are instructions for SAP NetWever 2004

http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/content.htm

or

NW 7.0

http://help.sap.com/saphelp_nw70/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm

O.

jpenninkhof
Product and Topic Expert
Product and Topic Expert
0 Kudos

This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.

Implement an RFC server in 7.0:

http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm

Implement an RFC server in 7.1 or higher:

http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm

Cheers,

Jan

Former Member
0 Kudos

Hi,

You can use EJB on Java Side and call it using JCo RFC Provider Service

http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/content.htm

This link is very complete: /people/thorsten.franz3/blog/2008/11/21/abap-calls-java-via-rfc-1-introduction

Best regards