Skip to Content
author's profile photo Former Member
Former Member

Create RFC Function using Java Program

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2012 at 03:58 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 06, 2012 at 11:42 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2012 at 08:46 AM

    Amit,

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

    Thanks,

    Hamendra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.