Entering content frame

Procedure documentation Portal Integration of the Web Dynpro Application Locate the document in its SAP Library structure

SAP Enterprise Portal provides a number of functions that you can use to develop your Web Dynpro applications. Among other things, this includes handling portal events or navigating between Web Dynpro applications in an SAP Enterprise Portal, or even between a Web Dynpro application and a non-Web Dynpro application.

When you integrate the Web Dynpro application, you have to define a system in the portal first of all and subsequently create an iView as a logical container for the Web Dynpro application.

Procedure

Creating a Folder and Determining a System

The following information describes how you determine a system on which the Web Dynpro application should run:

       1.      In the portal, choose System Administration ® System Configuration ® System Landscape.

       2.      In the Portal Catalog, navigate to the folder in which you want to create the system. If an appropriate folder does not already exist, create a new one.

       3.      In the context menu for this folder, choose New ® System. The wizard is started.

       4.      On the Template selection screen, choose R/3 System with Load Balancing and then choose Next.

       5.      Assign a system name, system ID and prefix to your system:

                            a.      System name, such as WD <mySystemName>

                            b.      System ID, such as WD_<mySystemID>

                            c.      System ID prefix, such as com.sap

Also select the master language for your application.

       6.      Choose Next. The next window displays an overview of all entries that you have made. This enables you to change your entries again before you finish the process. If you want to make changes, choose Back to return to the relevant wizard input form.

       7.      Choose Finish.

Defining an Alias for the System

To create an alias for the system, ensure first of all that the new system is open in the System Landscape Editor. Proceed as follows:

...

       1.      From the Display dropdown list box, choose System Aliases.

       2.      Determine a name for the system alias, such as MySystem. Add the alias by choosing Add.

       3.      Choose Save to save your changes.

Defining Web Application Server-Specific Properties

...

       1.      Open the system in the System Landscape Editor.

       2.      In the Property Category dropdown list box, choose Web Application Server (WAS).

       3.      Maintain the following properties:

                            a.      WAS Host Name = <Host name>.<domain name>:<port number>
(this corresponds to the Web Dynpro server location, such as iwdf9406.wdf.sap.corp:50000)

                            b.      WAS Protocol = http

Note:

Check whether the SAP Web Application Server’s J2EE Engine is configured to use HTTPS.

       4.      Save the changes.

Creating a Web Dynpro iView

...

       1.      In the portal, navigate to Content Administration ® Portal Content. The Portal Content Studio opens.

       2.      In the Portal Catalog, go to the folder where you want to create your new Web Dynpro iView.

       3.      In the context menu for this folder, choose New ® iView. The iView wizard appears on the right-hand side. Choose the standard iView template SAP Web Dynpro iView. Choose Next.

       4.      On the next screen, define the iView Name and iView ID. The name of the iView is used as the title of the iView. The key consists of the technical name and iView ID prefix. You can use it to determine a separate namespace. Choose Next.

       5.      To specify the application variant, choose ABAP or JAVA.

       6.      On the next screen you have to define the Web Dynpro-specific properties:

                            a.      System

Select the system alias from the dropdown list box that you want to use for your Web Dynpro application. For each J2EE Engine you have to create a system alias first of all (as already described) before you can have a Web Dynpro application run on it.

                            b.      WebDynproNamespace

You have to define the development module that your Web Dynpro application contains. If you are working locally without a Design Time Repository (DTR), you have to define your Web Dynpro project as described above. Ensure that both the development module as well as the Web Dynpro project contain the provider name. The following values are possible, for example: sap.com/tc~wd~tools for a development module or local/MyWebDynproProject for a Web Dynpro project. In the “Create a simple Web Dynpro application” project, it is local/WebDynpro_Basics, for example.

Note

The specific name of the development module is the same as the one in the SAP Management Console under the LIST_APP command. You will also find the name in the URL address of the Web Dynpro application after “URL“.

                            c.      ApplicationName

The application name is the same as the one for the Web Dynpro application, such as WelcomeApplication.

                            d.      ApplicationParameters

If your Web Dynpro application contains call parameters, you can determine specific values for the iView. Note that there are two parameters:

parameter1 and parameter2

In this case, you can determine the following application parameter string:

parameter1=value1&parameter2=value2.

       7.      After defining the Web Dynpro-specific properties, another wizard dialog box opens where you can define other iView properties. Choose Finish.

       8.      To display a preview of your iView, choose Preview from the context menu.

Result

You have created a separate system and a Web Dynpro iView and you can now integrate this iView in pages, worksets and roles.

 

Leaving content frame