Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Invoke Web Dynpro ABAP from a SAPGUI Transaction Code

We intend to deliver our WD-ABAP app to other customers. Since the URL for the WD app is composed in part of that target system's server address (which we will not know), we cannot provide explicit instructions on how to start our app as a URL.

Short of having the customer's administrator get into SE80 to note its URL and then inform the staff there of that system's URL for our app, is it possible to create a mechanism which will start up the WD app for any target system it is imported into using a SAPGUI Transaction Code (or another means)?

(Our implementation is SAP_BASIS 700 level 0006.)

replied

Sure - there is a very simple way. First of all there is the class CL_WD_UTILITIES with the method CONSTRUCT_WD_URL. This allows you to construct a complete URL from just the protocol (http/https) and Web Dynpro Application name.

However there is also function module WDY_EXECUTE_IN_PLACE (which has a demo program - DEMO_START_WD_IN_PLACE1 and DEMO_START_WD_IN_PLACE2) which show how you can use the HTML Control for Single Sign On into the Web Dynpro Application as well.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question