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

SAP Java Oracle DB

Hello,

I am an intern and willing to learn alot. What is to your opinion the best way to solve the following problem.

I want to develope an application that will connect to oracle db per JDBC.The same application should connect to SAP.But how? I do not know.Data exchange (update or download of data)b/w SAP and the Oracle db should be in real time. Both of them(SAP and Oracle db) are two different systems.

The application should be able to call BAPI(i am told) from SAP.

But before I call a BAPI I think I need first to access the SAP system(just like I would use jdbc to access the oracle db right?).Could Any one tell me how to do this? Do I use SAP RFC to access the SAP system? where do I get the RFC? (Are these classes to say?)

Is there a sample code some where in the nett which show how a java application access the sap R/3? Also in other to be able to call a BAPI from a Java Application what do I need to learn first? Is it java, BAPI, RFC JCo or what? What's the best approach? A sample code will be highly appreciated. Thanks to all the participant.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 23, 2005 at 05:29 AM

    Hi Rudolph,

    You can find SAPJCO.JAR from the SAP site and this jar file is coming in one zip file with some sample codes to access SAP R/3 from JAVA. This SAPJCO.jar file is required to accomplish this task.

    So, Just download zip file for SAPJCO.jar and you will get sample code also.

    If you can't find this then give me your mail id, I will give it to you.

    Regards,

    Bhavik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 23, 2005 at 04:22 PM

    Hello Bhavik,

    Thank you very much. I got the sapjco.jar file. But there is one more thing I wanna ask. During the installation, where is it approprate to do the installation? Is it on the server where SAP resides OR on my client PC OR on both of them?

    Thanks again.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2005 at 04:31 AM

    Hi Emange,

    Its required only at client side. And you can install it anywhere on client side and make reference in properties of the application --> Java Build path --> Library --> External JAR file.

    Do not forget to reward points 😉

    Regards,

    Bhavik

    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.