cancel
Showing results for 
Search instead for 
Did you mean: 

Create RFC Function using Java Program

Former Member
0 Kudos

hi

I am trying to create a small utility in java that extracts data from SAP system and loads it to local Db

For extracting data from SAP we have a custom ABAP function (RFC) running on SAP server that is called from Java using JCO3 APIs

Installation of this utility on client side involves -

1. Installing RFC on Clientu2019s SAP instance

2. Installing / Configuring Java code on Clientu2019s machine

Is there a way to install / create a RFC function using java -JCO APIs so that Step-1 can be omitted?

I had browsed through a sample provided in examples installed with JCO3 but its very trivial example can someone point to a exhaustive link or explain how this can be achieved using Java program

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member193379
Active Contributor
0 Kudos

Amit,

What exactly, you are looking for, can you please explain.

Thanks,

Hamendra

former_member193328
Active Participant
0 Kudos

Hi Amit

I am not sure I understand the question. You want to create an RFC in Java? If this is correct why not create a Remote Method in java for example as EJB or Web Service which is more standard than creating an RFC.

On the other hand if you want to create a RFC client in Java (a Program which calls a RFC in SAP ABAP system) you can use JCo APIs (which can be either standalone or on the NW Java server) or JRA (from NW 7.1 onwards).

Regards

Partha

former_member193379
Active Contributor
0 Kudos

Amit,

Please reffer the below link as it discussed step by step.

Link Removed: asset deleted

Thanks,

Hamendra

Edited by: Jason Lax on Feb 1, 2012 11:19 AM