cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI in WAS

Former Member
0 Kudos

hello everybody,

i have an SAPWAS installed without r/3 database....i have to use some BAPI functions in my java code...

is it possible that without connection to r/3 database, WAS can execute the BAPI functions? or is it compulsory that i have to conenct to external r/3 database this WAS?

if connection has to be established between WAS and r/3 database,wht is the way i can connect them?

is the SAPWAS in developer studio same that of r/3 Applicationserver...?

i would like to get suggestions from u all for the above questions...

thx in advance,

regards,

aj.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ajay,

To connect to R/3 system from WAS you have to set up the SLD (System Landscape Directory) and configure the same.You have to create JCO connections also to connect to R/3.

Please check the following link to know more about SLD and configuring the same.

http://help.sap.com/saphelp_nw04/helpdata/en/31/f0ff69551e4f259fdad799a229363e/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/42/3a420910af11d6999400508b6b8b11/frameset.htm(To configure)

http://help.sap.com/saphelp_nw04/helpdata/en/24/8fa93e08503614e10000000a114084/frameset.htm

To know more about the JCO connectors please go through the link

http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm

Regards,

Vijith

Former Member
0 Kudos

Hi Ajay,

If you have SAP WAS installed,you have to establish a connection to R/3 database, using JCO connections.

one way to connect to R/3 is

http://<server>:port/webdynpro->; logon with valid userID and Password you will be directed toCreate JCO destination and check sldConnection here you can establish connection to R/3.

Hope this info helps you

Regards

RK

Former Member
0 Kudos

Hi Ajay,

If you want to call some BAPIs from your SAP R/3 and that R/3 system is already available then there is no need to install ABAP stack. You can work with only JAVA stack.

You can use RFC model in case of Webdynpro application or you can use JCO connections from any other java applications like JSP. servlets etc.

So, using this facility you can call BAPI on any SAP R/3 system and these R/3 systems are independent of the WAS JAVA stack.

Regards,

Bhavik

athavanraja
Active Contributor
0 Kudos

SAP WAS has two engines, one is java engine and the other is ABAP engine.

For you to write java code you need the java engine, for BAPIs you need the ABAP engine. For connecting from java to ABAP you need Javaconnector.

for more help visit http://help.sap.com

Regards

Raja