on 12-23-2007 4:25 PM
Hello all
We want to disconnect our webdynpro projects from the current R/3 backend and connect them to other R/3 backend (new version with different massage server name). What is the correct and simplest way to modify the backend connection (JCO)?
Thanks in advance
Hi,
As Ayyapparaj has said, it is the simple way .... as there is no need to touch the code ....
i) configure SSO to new System , create a logical system....
2) CA --> web dynrp --> jco connections .....
maintain jco .... edit the properties ....
give the logical system name correctly that you have connected to the new system.
check, client , user id ....
Thanks,...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create JCO Destination in the Content Administration , access this in your WD.
So that if you switch from one system to other you dont have to make changes in the code .
One thing to remember here is all your backend systems should be compatible with the models you are using,
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Yoel,
What do u mean disconnect from curretn R/3 System?
do u want to connect to multiple SAP System from web dynpro application,u can do that using Dynamic JCO pooling.if we want to chage SAp Ssytem at design time,u can do that by chaing the web dynpro project properties.
With Regards
Naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this:
JCO.Client client = JCO.createClient("client","user","password","language","server","systemnumber");
client.connect();//to connect
client.disconnect();//to disconnect
For this, you need to add the following jar files
<projectname>>properties>Java Build Path>Add Variable> ECLIPSE_HOME>Extend>plugins
1. com.sap.ide.jcb.core/lib/aii_proxy_rt.jar,aii_util_misc.jar,aii_proxy_gen.jar
2. com.sap.mdi/lib/SAPmdi.jar
3. com.sap.mw.jco/lib/sapjco.jar
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.