cancel
Showing results for 
Search instead for 
Did you mean: 

jco connection from a ejb

Former Member
0 Kudos

Can someone tell me how I can make a connection using SSO from a EJB to a R/3 system.

There is already a trusted connection between the portal and the SAP R/3 systems. So we can make connections from the Portal to the R/3 system.

But this seems to be impossible when we want a connection via a EJB.

In the most ideal form I want to map methods of ejb’s to the roles (users) made in the portal and the user must be a known user in the SAP system.

I hope someone can help me

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hello Edward,

Check this, may be you would find some useful info:

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

Thanks Maksim,

But behind that link they describe the solution via Web Dynpro and we are using EJB technologie.

former_member182372
Active Contributor
0 Kudos

Hello Edward,

But as Bhavik said you can use RFC destination in EJB`s too, even in plain java classes. There is nothing "dynpro" specific.

Only thing you need - references on buildtime and runtime to destination service.

Best regards, Maksim Rashchynski.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Edward,

You can use RFC destinations as to take this SAP logon ticket for SSO.

you need to create RFC destination under "destinations" service in visual administrator.

Then, at the time of calling RFC specify this RFC destination.

Regards,

Bhavik