Creating the Laptop
Application
...
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. Choose Next.
5. The wizard selects the Create New Component option as default. Choose Next.
6. In the Component Properties window, replace the default values with the following:
Field |
Value |
Component Name |
CustomerComp |
Component Package |
com.sap.app.customercomp |
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 Web Dynpro → Components → Views. click CustomerCompview with the secondary mouse button and choose Refactor → Rename.
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 Development → Build.
The build ensures that Java files of the project recognize the newly created classes.