Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi

Former Member
0 Likes
682

hi abaper's

how to connect the sap with java. ? via bapi interfaces?

this is my spec given below

1.) input is given in the java environment say. vendors no using servlets

2.) the details of the corresponding vendors no is stored in sap.

3.) i want to access the details from sap. by using java.

thx in advance

regards

suren.s

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
659

SAP’s new Java middleware, the SAP Java Connector (JCO) allows customers and partners to easily build SAP-enabled components in Java. JCO supports both inbound (Java calls ABAP) and outbound (ABAP calls Java) calls in desktop and server applications.

you basically require a connector to connect SAP & JAVA.

then you can use your BAPI for data retrival

reward if useful

5 REPLIES 5
Read only

Former Member
0 Likes
660

SAP’s new Java middleware, the SAP Java Connector (JCO) allows customers and partners to easily build SAP-enabled components in Java. JCO supports both inbound (Java calls ABAP) and outbound (ABAP calls Java) calls in desktop and server applications.

you basically require a connector to connect SAP & JAVA.

then you can use your BAPI for data retrival

reward if useful

Read only

0 Likes
659

hai

first thx for your base idea.

if you dont mine give me in the detail pattern.

Read only

Former Member
0 Likes
659

Hi,

Required files in \WINNT\system32:librfc32.dll (at least 46D, build 263), jRFC11.dll (JDK 1.1), jRFC12.dll (JDK 1.2 and 1.3)Required files in Java class path:jCO.jar

Front End: Java Servlets (Web Application)

Web Server: Apache Tomcat

The Servlet takes Vendor number and passes it to the BAPI which in turn fetches the Vendor information from the LFA1 table and returns it in BAPIRET2 format to the servlet, the servlet fetches the data from return structure and displays it.

Regards

Kannaiah

Read only

Former Member
0 Likes
659
Read only

Former Member
0 Likes
659