cancel
Showing results for 
Search instead for 
Did you mean: 

How to Call abap functn/program from java layer

Former Member
0 Kudos

Hi all,

I have to develop a program which has to call abap function/program from java side or how to call a abap program through java ..

pls send me related links or explanations.. dont send unrelated answers..

Regards,

Arivarasu S

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

You mean accessing ABAP functions from J2EE perspective, then I think we can do this by using SAP Java Resource Adapter and also through webservices.

SAP Java Resource Adapter (SAP JRA) can be used as an add-on for the SAP JCo SAP JRA enables the implementation of standard interfaces from diverse J2EE servers to the SAP JCo in the SAP Web AS. The SAP JRA thus simplifies

communication with ABAP within heterogeneous J2EE landscapes.

Go through the following links which has Good documentation on how to achieve this

Accessing BAPIs Using the SAP Java Resource Adapter

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4]

Connectivity and Interoperability

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/326d82e5-0601-0010-fca4-9caf27b89c26]

Finally with WebServices. Accessing SAP Business Functions (ABAP) via Web Services

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4]

Regards

Raghu

Former Member
0 Kudos

Hi,

Accessing ABAP Functions in Web Dynpro Java

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b...

Backend Access/ Model

Regards,

ramesh

Edited by: Ramesh Babu V on Oct 31, 2008 5:32 PM

Former Member
0 Kudos

Hi Arivarasu,

I understand that you need to call an ABAP RFC / BAPI from a java class.

For such a requirement you can make use of the [SAP Enterprise Connector|http://help.sap.com/saphelp_nw70/helpdata/EN/ed/897483ea5011d6b2e800508b6b8a93/frameset.htm].

It uses the JCO framework to execute the ABAp function from Java Clients.

A sample tutorial can be found [here|http://help.sap.com/saphelp_nw70/helpdata/EN/b6/55e3952a902447847066a0df27b0d6/content.htm].

Regards,

Alka.

former_member192434
Active Contributor
0 Kudos