Show TOC

Procedure documentationImporting Data Objects from the DOE Locate this document in the navigation structure

 

In this procedure, you import data objects as model classes in the mobile project. You import the models in the storage development component. You use these model classes for context binding. After you import the data objects as model classes for the application, you must make them public so that it can be used in the s ervappdevelopment component.

Prerequisites

Procedure

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

  2. Expand Web Dynpro node. Click the Modelsnode with the secondary mouse button, and choose Create Model.

  3. Select Data Object Model, and choose Next.

  4. Enter details as specified in the table below:

    Field name

    Description

    Model Name

    ServiceModels

    Model Package

    com.sap.models

  5. With Create Model with Data Objects from DOE as the type of operation, choose Next.

  6. In the Software Component section, select the ServiceOrderSCV.

    The IDE displays all data objects of the selected SCV.

  7. In the data object section, select the data objects Customers and ServiceOrders.

  8. Choose Finish.