Skip to Content
Whenever we create a Adpative RFC Model in WebDynpro , we need to create corresponding Jco destinations in the Content Administrator.If you re install the WAS then you need to create all your destination again manually!! We can do this by writing simple application so that when ever you want to create destinations just you need run the application !!!

Lets look into the WDSystemLandscape API .We need to pass the basic required parameters like “JCO ClientName”, “MessageServerName”,”SystemName”,”Logon Group” etc etc. The following code will create Jco destination by passing the required parameters.



once you run the above code , you can open the content administrator and you can see the JCoClientName created in the JcoDestionations table !!!
To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. Valery Silaev
    Anilkumar,

    Frankly, I just can’t share your excitement about this single WD API method 🙂

    First of all: “If you re install the WAS then you need to create all your destination again manually!!”

    Well, I know better way then this: export CIM content from SLD on one system then import it on another system. You may substitute “one/another” with “old/new”

    Second, even if I take the route described, I’d externalize arguments of the call to some property file or XML configuration. Or I‘d just mentioned that this will be better.

    Finally, it’s necessary to emphasize that this method is intended for administrative tools rather then end-user applications. And, most importantly, it’s a must to admit the main reason we configure JCo destination via external WD tools rather then from code: to make logical connections used by application totally independent from physical landscape where application deployed.

    VS

    (0) 
    1. Anilkumar Vippagunta Post author
      Hi Valery,

      Thanks for correcting me .First i am not aware of CIM conent export option !!

      I was working on RoadMap example and i have taken JCo destionation creation as an example of Roadmap.At that time i thought of publishing this code just to explain how we can use this API.

      Thanks once again for your comments 🙂

      Regards,Anilkumar

      (0) 
  2. Tomas Burger
    Hi Anilkumar,

    reading this there might be a similar technique how to solve my problem: I need to run my aRFC models without any available J2EE. So, if I would be able to create “ad-hoc” JCo connection and provide it to my aRFC models, perhaps it might work. What do you think?

    Thanks, Tom

    (0) 
  3. Prabhakaran TK
    Hi Anil Kumar,

       When manually creating, we mention the data type(Meta/Application) to be handled by the JCo.
       But while creating through APIs, where do we mention the data type for a JCo?

    Thanks,
    Prabhakar

    (0) 

Leave a Reply