cancel
Showing results for 
Search instead for 
Did you mean: 

SLD and adaptive rfc

Former Member
0 Kudos

Hello Experts,

Would like to know how the adaptive rfc calls routed from web dynpro.

Do all these rfc calls happen via the sld or directly from the Web AS.

We are contemplating on the decision to place our Web AS Java close to our R/3 server so as to save the rfc communciation time.But our sld is anyway not close to R3.Sld runs on a different server.

would this help.

Any clarity is much appreciated.

Many Thanks,

Ashok.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I guess this following notes might give you some idea about adaptive RFC and how it works.

When a WD Application wants to access/invoke a ABAP functionality which are located in remote R/3 servers,there "adaptive RFC calls" solve the purpose.

java WD Application can make remote calls to ABAP functionalities of r/3 system by accessing through two layers RFC layer and JCO layer.initially RFC layer was accessible only from C/c++ programs,

to make java programs access remote functions JCO layer was introduced.

An adaptiveRFC can be achieved in WD Program by importing a Adaptive RFC model ,on right click of

"models" node under WD project node.provide details of R/3 system in which you are going to make a

remote call,and import the model.A model import gets all structure fields,some model classes and a

Dictionary is generated.

Now JCo connections have to be created from your server to access R/3 system.for which you need to set the SLD of your local landscape to central SLD,so tht you can access R/3 systems which has those functions.after JCo's are created.

Once you are done with your coding, build and deploy and run your appliocation.If jco's are not created you WD application will build&deploy successfully but Run will fail.

In low level of understanding, adaptive RFC import will make a remote SAP system to send and recieve some data.So some objects are created and imported from RFC layer to JCo layer then to our WD Application.

I think this can give you atleast a brief idea about what is happening behind a RFC call.

Regards,

samatha.

Answers (0)