Skip to Content

Accessing ABAP table data from a simple java program

Hi all,

I have a doubt .

Can we access abap table data from a java program.

If we can access.

What are the steps we have to follow to access it..

Plaese explain me step by step in Detail.

With a simple example program.

Thanks & regards,

Lokesh.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 01:34 PM

    Hi Lokesh,

    For connecting to the ABAP you need JCO Connection.

    Step by step process check the below links

    http://www.apentia-forum.de/viewtopic.php?t=1962

    /message/5255904#5255904 [original link is broken]

    Thanks

    siva Arikatla

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 09:42 AM

    Hi Lokesh,

    In general, Java components do not access tables stored in the ABAP schema directly, via persistence APIs (for example, JDBC). Analogously, ABAP components cannot manipulate data in the Java schema.

    Of course, Java components can read or modify data in the ABAP schema. But rather than accessing table data directly, they are intended to go around: In the Java code, you apply the application-level APIs (like SAP Java Resource Adapter API, web services, Adaptive RFC for Web Dynpro UIs) and ask the ABAP component to do the work on the database.

    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.