cancel
Showing results for 
Search instead for 
Did you mean: 

Call a WD application

Sesh_Sreenivas
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I have created a WD application, which calls a RFC on an action. Depending on the result of the RFC, another WD application should be called (embedded in the same explorer which was already open).

I had formed the absolute URL and tried calling the 2nd application using the method cl_gui_frontend_services=>execute, but i get an exception "not_supported_by_gui". Is there any other way to call the WD application?

Regards,

Seshadri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Assume you have a button & on its click you want to close your current application & start the new WebDynpro application. You need to declare a Exit Plug in your window with parameter URL of type STRING

Try using following code when the EXIT plug is fired


Data: my_url TYPE string.

*Get the URL of the Application

CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
    application_name = 'ZWDRC_NEW_APP'
IMPORTING
   out_absolute_url = my_url.

/* here fire navigation to exit plug   */
/* passing my_url as parameter */

check link on exit plug

[http://help.sap.com/SAPHELP_NW04S/helpdata/EN/45/19bf8c16f25d7ae10000000a11466f/frameset.htm]

Greetings

Prashant

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Please see these:

[Calling a Web Dynpro Application from Another Web Dynpro Application|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2064719b-8851-2b10-a399-b356d91ca4ba]

[Snipppets Web Dynpro ABAP- How to use Outbound Plug of a Window |https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/snipppets%252b%252bweb%252bdynpro%252babap-%252bhow%252bto%252buse%252boutbound%252bplug%252bof%252ba%252bwindow].

Regards.