cancel
Showing results for 
Search instead for 
Did you mean: 

Need explanation regarding JCO Destinations

Former Member
0 Kudos

Hello,

At the DynPro Administration console there is an option to maintain and create JCO Destinations.

My question is what is a JCO Destination and when do I need to use it. An example which creates such JCO Destination and a simple code example which uses it could be very helpful as well...

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Roy,

Just go through the link it will answer all your queries

To Understand what Web Dynpro Content Administrator is :

http://help.sap.com/saphelp_erp2004/helpdata/en/77/931440a1c32402e10000000a1550b0/content.htm

You can see there how JCO connections are created and maintained.

It is through JCO's that RFC communicates with Web Dynpro Applications.

Hope this helps you.

Do revert back if you need further help.

Regards,

Vijith

Former Member
0 Kudos

Hi,

No the SQL Server or an Oracle database doen't count as an R/3 and also you don't need a JCo destination set to get the data from such systems.

A JCO destination shows the destination R/3 system.

When you import an RFC from an R/3 you explicitly provide the username and password. When you execute the RFC the username and password has to be provided to pass values to the r/3 system and it during this time that the JCO comes handy.

Regards

Noufal

Former Member
0 Kudos

Hi,

In Web dynpro content administrator when I set up JCO destination, in the first step of creating a new JCO connection, I need to specify a client. I suspect it is a R/3 client where I want to access RFC or BAPI. Then in the second step, I need to specify J2EE cluster name.

So my question is that should the R/3 client related to the J2EE cluster? I mean should the machine hosting R/3 client also runs a J2EE engine?

For the flight example, I get error:

Accessing System ER2 is not possible because RFC Metadata was retrieved using System X01. Please assure you have configured the RFC Connections properly. A Server restart may be necessary!

Here ER2 is R/3 enterprise V4.7, with only ABAP Web AS 6.20, no J2EE engine.

X01 is XI 3.0 with J2EE engine 6.40.

By the way, I test the SLD and JCO destinations. They are all correct.

So I suspect if the R/3 system I want to access must have a J2EE engine running? Otherwise how to explain above error?

Please give me some clues on this error.

Thomas

Former Member
0 Kudos

You normally get this kind of error when you change the client of "JCO Model data connection" to some other client number and the new client number is matching with the client number in meta data jco connection.

In my understanding, J2EE cluster is necessary since the meta data of a particular BAPI will be stored in that particular J2EE cluster instance. When you change the client in the model data connection and you forgot to change the client fo meta data connection, you get an error .

Former Member
0 Kudos

Thanks! after restart the J2EE server, and rebuild the project and re-deploy, the problem is resolved.

Former Member
0 Kudos

hi,

when you are using adaptive rfc model you will have to specify the details of the r/3 server so that the webdynpro application can make use of the rfcs written in ABAP. You can use your own JCO connections or you can use default JCO connections

regards

Rohit

Former Member
0 Kudos

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/how to configure the jco destination settings.pdf

http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/content.htm

If you acceessing any information from R/3 system in a webdynpro application you need to create a JCO destination in comntent administrator.

This will maintain the username,password,SystemName etc and it is repsosible for connecting to the backend machine.

While creating the model in the netweaver stuido you need to specify this JCO destination so that the application will make use of this connection while running the application.

Regards, Anilkumar

Former Member
0 Kudos

Does an LDAP or SQL Server count as an R/3 Systems?