Skip to Content

How to build a WDynpro App without JCO destinations in the WAS

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 01:42 PM

    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

    disconnect-method

    Regards

    Pran

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 28, 2004 at 09:20 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.