Show TOC

Creating a Web Dynpro ApplicationLocate this document in the navigation structure

Prerequisites

You have created a Mobile UI Component.

Context

The Web Dynpro (WD) application in Mobile Applications for Handhelds is an application that can be called from the application launcher of a mobile device. The WD application is linked to an interface view of a WD component by an inbound plug declared as a startup plug. Therefore, the WD application contains no information about the elements of the corresponding component or components behind the interface view.

More information: Web Dynpro Application

Create the WD Application (Mandatory)

To set the icon:

To set the application name:

Specify Window Properties (Optional)

Define Used Models (Optional)

Specify an Application Icon and Name (Optional)

On the application launcher of the Mobile Client for Handhelds, applications are represented by an icon and a name. A default icon is shown, if no other icon is specified by the application. If no application name is specified, the technical name of the WD application is displayed below the icon.

Note

The Authentication checkbox is not supported. Marking it has no effect.

Note

Both GIF and JPG graphic formats are supported for a standard icon size (32 x 32 pixels).

Procedure


  1. In the UI Explorer , open the context menu of the Application node and choose Create Application .

  2. In the New Application dialog box, enter the application Name and Package .

  3. In the Choose Referenced WD Component dialog box, choose to create a new component if you have not yet created a WD component.

  4. In the Specify Component dialog box, enter the Component Name and Component Package .

  5. Select the additional capabilities of the new component.

    The options are:

    • Default Window and Views

      This option determines whether the component uses the default window and views.

    • Used Models

      This option determines whether the component uses existing WD models.

      Check this option if you have created a WD model already.

      More information: Creating a Web Dynpro Model

    • Implemented Interfaces

      Check this option if you are using WD component interfaces for cross-component communication.

  6. In the Specify Window Properties dialog box, enter the Window Name and the Interface View .

  7. Select Create Startup Plug (optional).

  8. Embed all the views you require and select the default view.

    You can Add and Remove views from the list.

  9. In the Define Used Models dialog box, choose Add to add an existing WD model as a used model.

  10. Select a Web Dynpro Model from the list.

  11. Choose OK .

  12. In the Handhelds UI Explorer, select your application component, expand the Resources node and select Start of the navigation path Resources Next navigation step src Next navigation step  mimes Next navigation step  Applications Next navigation step <name of application> End of the navigation path.

  13. In the context menu, choose Import resources from file system .

  14. In the Import dialog box, find the From directory containing your icon and select it (for example <MyIcon.gif> ) from the tree.

  15. Confirm the default Into folder field, set any desired options, and choose Finish .

  16. In the UI Explorer, select Start of the navigation path Web Dynpro Next navigation step Applications  Next navigation step <name of your application> End of the navigation path and double-click it.

  17. On the Application Property tab, choose New .

  18. In the Define Application Properties dialog box, choose as User Defined , enter the icon Name , as Value the name of your icon, for example MyIcon.gif , and choose Finish .

  19. In the UI Explorer, select Start of the navigation path Web Dynpro  Next navigation step Applications  Next navigation step  <name of your application> End of the navigation path and double-click it.

  20. On the Application Property tab, choose New .

  21. In the Define Application Properties dialog box, choose as User Defined , enter the title Name , as Value the name of your application, for example, My Mobile Application , and choose Finish .