cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing ABAP table data from a simple java program

lokesh_kamana
Active Contributor
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.