cancel
Showing results for 
Search instead for 
Did you mean: 

JCo and SSO- Differences and similarities...

Former Member
0 Kudos

Hi all,

Can someone explain me if there is any relationship between SSO and JCo ?

Do we need to have JCo to connect to backend from java webdynpro even though if we have already configured SSO..

What are the characteristics, similarities or relationship of these JCo and SSO ? Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

SSO:

SSO is to access multiple applications with single login. You need to configure to access the applications running in different severs in the same portal.

JCO Destiations:

You need to configure these destinations to connect to SAP R/3 backend system from WebDynpro using Adaptive RFC model.

There are two types of JCO destinations:

1. Metadata destination:

This is to get the latest meta data of the backend RFC. This is not for sending/receiving the user speicific data. So here SSO is not required. You can use userid/password mapping logon sso method.

2. Modeldata destination: This is to get the process data (user specific) during the RFC execution from WebDynpro. So here you need to configure the SSO as it is user specific application data.

Regards,

Charan

Former Member
0 Kudos

Thanks for all your replies. Can you please explain me the brief steps for creating JCo ?

We have an application designed on webdynpro java which needs to communicate with R3 backend.

what are all the steps i need to do ? do i need an RFC or Just creating a technical system in SLD and create JCo ? Please suggest..

Former Member
0 Kudos

You can read about the steps in the help pages. For example. http://help.sap.com/saphelp_nw04s/helpdata/EN/3a/3b1b40fcdd8f5ce10000000a155106/content.htm has some details.

The Java developers are the ones who decide what names you need to create. You should talk to them for that side of things.

Former Member
0 Kudos

Hi,

Go through the below document for step by step process with screen shots:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f...

Function module to get the message server host name and port in R/3.

SLDAG_GET_MESSAGE_SERVER_INFO

Regards,

Charan

Former Member
0 Kudos

> do i need an RFC or Just creating a technical system in SLD and create JCo ? Please suggest..

In webdynpro console, how do we get the ABAP source details for creating JCo's ? ( SM59 ? )

And, Is it the same if we click on " create " or " Create JCo Destination " in WD Console...?

> Function module to get the message server host name and port in R/3.

> SLDAG_GET_MESSAGE_SERVER_INFO

Can you please explain this ?

Former Member
0 Kudos

In the WD content administrator tool, you create and modify JCo destinations for ABAP technical systems from the SLD. The ABAP technical system details should have been published from the ABAP system using transaction RZ70. That is the recommended way and is best practice.

If your ABAP system doesn't exist in the SLD, then you can set it up manually. I think the reference to the FM SLDAG_GET_MESSAGE_SERVER_INFO was to help get the message server details for an ABAP system.

Former Member
0 Kudos

Hi,

You need to create the technical system for R/3 in SLD. To create this system you need to know the message server host and port information. So you can use this function module "SLDAG_GET_MESSAGE_SERVER_INFO" to get this information required to configure the R/3 technical system in SLD.

Anfter configuring this technical system you need to configure the JCO destinations in WebDynpor content administartor.

Go through the below document for step by step procedure.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f...

Regards,

Charan

Former Member
0 Kudos

Thanks for all your useful replies..Closing the thread.

Answers (4)

Answers (4)

Former Member
0 Kudos

Have a look at link below.

[http://help.sap.com/saphelp_nwmobile71/helpdata/en/6a/82343ecc7f892ee10000000a114084/content.htm]

Former Member
0 Kudos

The JCO destinations tell the Web Dynpro run time where your ABAP system is and how to get there when doing RFC calls. At run time, it can use the user's SSO cookie to do the actual data access..

Former Member
0 Kudos

Addy,

Jcos enable the Java stack to talk to the ABAP stack where as SSO is a concept which ensures you dont enter your password multiple times.As such there are no similarities that I can think of between these two things.And yes, you require the Jcos inspite having the SSO done. You might want to look at help.sap.com for Jcos, there is ample information available in there.

Hope this helps.

Cheers!

Sandeep Tudumu

Former Member
0 Kudos

Hi Addy,

JCO connection will work even if SSO has been established or not.

If SSO has not been established you have to provide the username / password while configuring JCO.

If you have established SSO, then you don't have to provide the username / password while configuring JCO. You have to simply write the name of SSO method.

It is always recommeded that you first create SSO. After that you create JCO and provide the name of SSO method.

Otherwise you won't get correct output especially if you are using ESS / MSS.

Regards,

Gary