cancel
Showing results for 
Search instead for 
Did you mean: 

SAP JCO + Need Suggestions.....

Former Member
0 Kudos

Hello Friends,

I need to know one thing, and i.e the SAP JCO connection should be done over the server, or every user has to do this locally on his machine ?

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

arun_srinivasan
Contributor
0 Kudos

Hi

Creation of JCo desination in done in web as server.

desination created in http://<servername>:httpport/index.html

then webdynpro>content administrator>create jco desitnation

Creation of jco connection to destination id done for specfic application

http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm

[Removed by the moderator.]

hope this helps,

Regards,

Arun

Former Member
0 Kudos

Hi Arun,

I got this, but I have differnt thing to know ?

The senario is following ......

we have 3 developers who want to extend a web dynpro application. ( right now the web dynpro application is not deployed anywhere ). So we have to start it deploying over the J2EE engine. I want to know that for the SAP JCO connection it would be enough to set/ configure the JCO connection over the server once, or every developer has to do locally in his machine, I think the other is true ?

Seconly right now no DTR is configured, so if only once the SAP JCO connectionn has to be done over the server, do we also require the DTR that, the corresponding users can do check-in and check-out the code.... ( and extend as required ) without taking worries of SAP JCO connection etc ...

Thirdlly, we have 3 R3 system, and is it possible that the developer can sepcify while deploying which SAP JCO destination it should use ?

Regards,

Regards

Former Member
0 Kudos

Hi Shah,

You dont need to create new JCo connection,if u want u can create new one,otherwise u can access already created JCo connection.

While creating JCo u have to give the R/3 System server name,so have to give same server for both J2EE engine and R/3 Systems for deploying an application

Answers (3)

Answers (3)

0 Kudos

Hi Shah,

You must have a JCO in every machine you want to deploy on.

If all 3 programmers deploy on the same machine you need a JCO created and activated on that machine.

If a programmer wants to test the application on his machine he must create a JCO on his own machine.

The essential is that if you want to deploy your application on a machine the JCO should exist on that machine.

Regards,

Constantin

former_member186016
Active Contributor
0 Kudos

If the application is server application then the connection will be done on the server.

If it some simple java application that runs on client side, the connection has to be made on client side by each user.

In your case i guess it is server side driven but for one user there will be minumum one connection.

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Hi Shah,

please go through the below links

similar thread

http://help.sap.com/saphelp_nw2004s/helpdata/en/f8/bdfe80d9a3b048a5fb32a7d149774e/frameset.htm

regards

Anil

reward points if useful.

Former Member
0 Kudos

Hi,

Any one has any suggestion, for my above post ?

Regards,,,

Message was edited by:

Shah H

arun_srinivasan
Contributor
0 Kudos

Hi Shah

1) The Jco destination is created in server during the creation of jco destination creation Maximum number connection should be defined. All developer can use same jco destination to establish the jco connection. Only thing is you have to release the jco connection after you executed the RFC

2) During the import of the model you can define jco destination for the corresponding r3 system

3) The jco creation is independent of NWDI. Only thing you should be assure is JCo destination name should be same in development , production,QA and also that jco destination should point to same R3 system

Please go through this document for better understanding in JCO

How to Configure the JCo Destination Settings

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f...

JCo Quick Summary

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01...

SAP Java Connector

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fcadaf90-0201-0010-4091-bd0bcd7b...

Thanks and Regards,

Arun

arun_srinivasan
Contributor
0 Kudos

Hi Shah

1) The Jco destination is created in server during the creation of jco destination creation Maximum number connection should be defined. All developer can use same jco destination to establish the jco connection. Only thing is you have to release the jco connection after you executed the RFC

2) During the import of the model you can define jco destination for the corresponding r3 system

3) The jco creation is independent of NWDI. Only thing you should be assure is JCo destination name should be same in development , production,QA and also that jco destination should point to same R3 system

Please go through this document for better understanding in JCO

How to Configure the JCo Destination Settings

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f...

JCo Quick Summary

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/85a483cb-0d01-0010-2990-c5168f01...

SAP Java Connector

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fcadaf90-0201-0010-4091-bd0bcd7b...

Thanks and Regards,

Arun

Former Member
0 Kudos

Hello All,

Thanks for your inputs, but i am not sure enough, what I understood is..

Okey, this point i got that, SAP JCO connection at the server would be enough, what I want to know how I can access that SAP JCO connection, ( do I need to write a peice of code to access the connection, or just simply execute the RFC in back-end system.

Seconldyl, how I can test, if my SAP JCO connection is working ( e.g basis team said pls test the connection, do I need to write a peice of code to verify the connection ?

Thirdly, Arun, can you pls explain your point no 2 and 3, I could not really understand your these points ?

Thanks , and kind regards,

former_member186016
Active Contributor
0 Kudos

See this for SAP JCO Programming.

http://help.sap.com/saphelp_nw04/helpdata/en/09/c88442a07b0e53e10000000a155106/content.htm

Regards,

Ashwani Kr Sharma

arun_srinivasan
Contributor
0 Kudos

Hi Shah

what I want to know how I can access that SAP JCO connection, ( do I need to write a peice of code to access the connection, or just simply execute the RFC in back-end system.

<b>In webdynpro you will define the jco desination connection during the import of RFC model</b>

<b>

http://help.sap.com/saphelp_nw04/helpdata/en/d5/1558bfa6aa80499113983e738b1b21/frameset.htm

Execution steps of Rfc No need for creating the jco connection it is taken care by itsellf

http://help.sap.com/saphelp_nw04/helpdata/en/5d/3c96e4c1c3934cbd9c19fb9df49944/frameset.htm</b>

Seconldyl, how I can test, if my SAP JCO connection is working ( e.g basis team said pls test the connection, do I need to write a peice of code to verify the connection ?

<b>To test a jco connection go through the PDF

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1d16e</b>

Seconly right now no DTR is configured, so if only once the SAP JCO connectionn has to be done over the server, do we also require the DTR that, the corresponding users can do check-in and check-out the code.... ( and extend as required ) without taking worries of SAP JCO connection etc ...

<b>Yes User can do check in and check out code irrespective of jco connection</b>

Thirdlly, we have 3 R3 system, and is it possible that the developer can sepcify while deploying which SAP JCO destination it should use ?

<b>During the import of model itself you can give corresponding r3 sytem

for better understanding in this

http://help.sap.com/saphelp_nw04/helpdata/en/d5/1558bfa6aa80499113983e738b1b21/frameset.htm

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1d16e</b>

Thanks and Regards,

Arun Srinivasan

Former Member
0 Kudos

Hi Arun,

Thanks yaar, I will look into details to those docs....and come back to you after a while....

Regards,

Former Member
0 Kudos

Hi,

SAP JCo Functions,Architecture,Applications,Installation,Client & Server Programming :

http://help.sap.com/saphelp_nw70/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm

Creating Jco destination:

http://help.sap.com/saphelp_nw70/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/frameset.htm

Maintaining Jco destination:

http://help.sap.com/saphelp_nw70/helpdata/en/94/3c1b40fcdd8f5ce10000000a155106/frameset.htm

The SAP JCo Repository :

http://help.sap.com/saphelp_nw70/helpdata/en/01/43e13d82fcfb34e10000000a114084/frameset.htm

Dynamic Jco creation Blogs:

/people/anilkumar.vippagunta2/blog/2007/02/06/dynamic-jco-creation

/people/gregor.wolf3/blog/2004/09/23/from-function-module-to-jco-application--part-1-of-3

Former Member
0 Kudos

Hello,

Suppose I have three SAP R3 Systems as follwoings_

R3_1, R3_2 and R3_3

Does it not possible that I have three JCO Destinations name as following:

WD_DATA_CONNECTION_R3_1

WD_DATA_CONNECTION_R3_2

WD_DATA_CONNECTION_R3_3

And in code before deployment, I can speficy which above mentioned destination it should use for BACK-END system ?

Regard,

( I am still on my way to read the docs, links provided by you guys, its much stuff to read