cancel
Showing results for 
Search instead for 
Did you mean: 

Calling an ABAP function module

Former Member
0 Kudos

Hi friends,

I am developing an application in EP6 SP2 using JSPDynPage from which, want to call an ABAP function module that returns table and show the values from this table in this application.

I went thru various blogs and APIs. I am confused between SAP JCO, JCO client service and connector framework. Do u have any documentation on how to connect to R3 systems and call a function module, retrieve results etc.

Regards,

Nilz

Accepted Solutions (0)

Answers (2)

Answers (2)

holger_stumm2
Active Contributor
0 Kudos

JCo is the point to start. This gives you low level access to all rfc functions. Everything else (accept BSP and Web dynpro) are just layers of encapsulation around the low level JCo function.

The steps are always like this:

call the sap system for rfc login

prepare data areas and call in java

call the rfc in the R/3 system

handle exceptions

logoff and free ressource

continue with data obtained in R/3

There is a lot of material around jco. One book that is fairly ok is :

SAP Interface Programming

A comprehensive reference for RFC, BAPI, and JCo programming

J. Meiners, W. Nüßer

SAP PRESS ISBN 1-59229-034-5

This helps you navigate through the wealth of information also at SDN

gregorw
Active Contributor
0 Kudos

Hi Nilz,

if you have a Backend System > 6.20 you can also add Web Service to the list of possible connectors. I think first you should try the easy way via JCo.

Regards

Gregor