Skip to Content
avatar image
Former Member

Calling a Webdynpro Application in using WDURLGenerator.getApplicationURL

Hi,

I have to call a webdynpro application in an external window using the application name. Please note that no iViews are created out of the application which i am going to call.

I have DC1 and DC2 and from the Comp Controlller of DC1 , i need to invoke the application in DC2.

String depObjectName =wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();

WDDeployableObjectPart depObjectpart=WDDeployableObject.getDeployableObjectPart(depObjectName,"TestApp",WDDeployableObjectPartType.APPLICATION);

String url = WDURLGenerator.getApplicationURL(depObjectpart) ;

* *

window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"Test View");

* *

window.show();

Is this the correct API to get getDeployableObjectName which is in the different DC.

Please let me know the correct API which i can use to get the getDeployableObjectName and the subsequently the Application which is availbale in the different DC.

Thanks and Regards,

Sekar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 22, 2008 at 08:55 PM

    Sekar,

    You are using the correct API to get deployed applciation details. But i would rather use following code to get the deployableobject.

    WDDeployableObjectPart objectPart = WDDeployableObject.getDeployableObjectPart("sap.com/ of second DC>"," ",

    WDDeployableObjectPartType.APPLICATION));

    Chintan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Thanks for your reply.

      Please let me know if there is a way to check whether the Deployed Application is Started or not.

      Based on the output perfom the operation.

      Appreciate your response.

      Thanks and Regards,

      Sekar