cancel
Showing results for 
Search instead for 
Did you mean: 

Write BAPI, or not?

Former Member
0 Kudos

Hi All,

I did some exercises on WEBDYNPRO with JCO. And I can't found the BAPI in R3 which I wanted.

I have two ideas about this:

<1>. Write the BAPI which I wanted.

<2>. Connect the DataBase direct with JDBC.

which one is better? or any other suggestion?

Best Regards!

Elwin

Accepted Solutions (0)

Answers (2)

Answers (2)

katarzyna_fecht
Explorer
0 Kudos

Hi,

exactly, stay with RFC/BAPI.

It is not allowed to access ABAP database using JDBC

(according to the principle "ABAP database is owned by ABAP stack".)

Regards, Katarzyna

athavanraja
Active Contributor
0 Kudos

Welcome to SDN.

In my opinion writing BAPI /RFC enabled FM on the ABAP server side would be a better option than openning the connection to database.

if you still need to access tables directly you can use standard Fm RFC_READ_TABLE

Regards

Raja