Show TOC

Creating Development ComponentsLocate this document in the navigation structure

Context

In your application, you create two Development Components (DCs) - one for the models, and the other for the application logic (views and controllers).

Procedure


  1. In the SAP NetWeaver Developer Studio, c hoose Start of the navigation path File Next navigation step New  Next navigation step  Project End of the navigation path.

  2. Select Development Component , and choose Next .

    The New Development Component ( Project) wizard starts.

  3. Select Mobile Applications for Laptop type, and choose Next .

  4. Expand Local Development node. Select the software component demo.sap.com, and choose Next .

    The DC is assigned to the software component that you selected.

  5. Enter the following details for the project:

    Project for the models

    Field name

    Value

    Vendor

    sap.com.app.model

    Name

    storage

    Caption

    ServOrd

  6. Choose Next .

    The next wizard window appears, displaying the name and the storage location of the project.

  7. Choose Next .

  8. Enter the following properties for the mobile component:

    Mobile Component for models

    Field name

    Value

    Name

    ServiceOrd

    Version

    1

    Description

    It stores the models

    Note

    You can keep the Link on Client Home Page option selected. When you test the application by deploying it directly to the mobile client, a link appears on the home page of the client.

  9. Choose Finish .

  10. Similarly, create a DC for the application logic with the following project and mobile component details.

    Project for application logic

    Field name

    Value

    Vendor

    sap.com.app.logic

    Name

    servapp

    Caption

    Service Order

    Mobile component for application logic

    Field name

    Value

    Name

    Serviceapp

    Version

    1

    Description

    It is the logic for the application.