Hi,
I would like to configure my webdynpro application so as it can work with several R/3 servers. For this purpose instead of using JCO destinations of the WAS I would like to use JCO clients in the webdynpro code. My question is: how can I make a webdynpro application work without JCO destinations? (knowing that this app should connect to several R/3 systems).
Thanks,
Younes
Hi Younes
Isnt the number of R/3 servers you intend to connect to definite and finite , In which case you can define destinations for all the servers you need to connect to and dynamically get the model at runtime to switch to the required dstinations . check this post to find out how url parameters can help with the switch
Regards
Pran
HI,
Thanks pran for your link it was really helpfull.
I managed to change dynamically modeldata system name using "myModel.setSystemName("myModelDataJCODestination")" function in the webdynpro code. My problem is still not solved because I still need JCO Destinations to make my application works.
Moreover I didnot managed to change metadata and dictinary system name because there are no setters for these attributes in the java class mymodel.java. I have noticed that those fields are final attributes and can be only hard coded.
My two questions are:
+ Is there a way to build an application without specifying at all JCO destinations? Without configuring anything in the wd content administrator.
+ How can I change dynamically metadata and dictionary connection parameters? (Especially changing the language of metadata because in my application it changes from a user to the other)
thanks for answers,
Younes
Add a comment