Show TOC

Setting Up the ProjectLocate this document in the navigation structure

In this step, you perform the initial steps of creating your wizard component project and its parts.

Procedure

  1. Create a Web Dynpro development component.
  2. Set dependencies to the following DCs (SC listed in parentheses):
    • tc/ep/admin/wd/api (EP-ADMIN)
    • tc/ep/admin/api (EP-RUNTIME)
    • tc/ep/pb/wd/api (EP-RUNTIME)
  3. Create a new component.
    A view, window and interface view are automatically created.
  4. Create a new window called IWizard.
  5. Implement the IWizard component interface definition (package com.sap.portal.adminstudio.iwizard) as follows:
    1. Right-click Implemented Interfaces and select Add.
      The Implement Component Interfaces window opens.
    2. Click Add, select the IWizard interface, and click OK.
      IWizard is now displayed as an implemented interface. The component interface view of IWizard is displayed, as well as all the current windows. The IWizard window is automatically set to implement the component interface view.
    3. Click Finish.
      The Implementation Results window is displayed, which shows all the windows, interface views, methods and other objects that are added to the project as a result of implementing IWizard.
      Note After implementing the IWizard component interface definition, the project produces compilation errors until you implement the methods defined in the interface.
  6. Add an IWFContainer component usage, as follows:
    1. Right-click Used Components and select Add Used Component.
      The New Web Dynpro Component Usage dialog opens.
    2. In the Name textbox, enter IWFContainer as the name for the used component.
    3. Next to the Used Web Dynpro Component field, click Browse and select IWFContainer , and then click OK.
    4. Click Finish.
  7. In the window created automatically with your component, embed the IWFContainer interface view, as follows:
    1. Delete the embedded view.
    2. Right-click and select Embed view.
    3. Select Embed Interface View of a Component Interface and click Next.
    4. Select WF_ContainerInterfaceView from the IWFContainer component.
    5. Click Finish.
  8. Create an instance of the IWFContainer component, as follows:
    1. In the window's Properties view, add the IWFContainer component usage and component interface controller as required controllers.
    2. Add the following code to the wdDoInit() method: