Show TOC

Creating the Laptop ApplicationLocate this document in the navigation structure

Procedure


  1. In the Laptop UI explorer, expand the servapp development component.

  2. Expand the Web Dynpro node. Click Applications node with the secondary mouse button and choose Create Application .

  3. Enter the following details:

    Field

    Value

    Name

    CustomerService

    Package

    com.sap.app .customerservice

  4. In the Component Properties window, replace the default values with the following:

    Field

    Value

    Component Name

    CustomerComp

    Component Package

    com.sap.app. customer comp

  5. Choose Next .

  6. The wizard selects the Create New Component option as default . Choose Next.

  7. Choose Next.

  8. To create the Order Details view, choose Add.

  9. Enter OrderDetails as the name for the view.

  10. Choose Finish .

  11. To rename the default view ( CustomerCompview ), in the Laptop UI explorer, expand the servapp development component, and then the nodes Start of the navigation path Web Dynpro  Next navigation step  Components  Next navigation step  Views.  End of the navigation path click CustomerComp view with the secondary mouse button and choose Start of the navigation path Refactor  Next navigation step Rename. End of the navigation path

  12. Enter CustomerDetails as the new name .

  13. In the Laptop UI explorer, click the servapp development component with the secondary mouse button, and choose Start of the navigation path Development  Next navigation step Build End of the navigation path.

    The build ensures that Java files of the project recognize the newly created classes.