Show TOC

Defining Data Objects and DistributionLocate this document in the navigation structure

Prerequisites

  • You have authorization rights of a DOE developer.

  • Your administrator has created your user ID on the DOE.

  • Your administrator has created a test device on the DOE.

Context

Either you or a developer on the Data Orchestration Engine (DOE) must define the data objects and their distribution for the tutorial application. You perform these activities on the Data Orchestration Engine Workbench.

Note

The data objects and the distribution models defined for this tutorial is based on the sample project that is documented in the developer's guide for Defining Data Objects and Distribution for Mobile Applications . You can refer to the sample project to create the data objects and their distribution.In this procedure, we have listed the general steps on the DOE and the attributes required for the data objects in this tutorial.

You can find more information on developing the data objects and the distribution models for the tutorial at the following link: help.sap. Start of the navigation path com  Next navigation step  SAP NetWeaver 7.1  Next navigation step  SAP NetWeaver Mobile Library  Next navigation step  Developer's Guide  Next navigation step  Developing Mobile Applications  Next navigation step  Defining Data Objects and Distribution for Mobile Applications  Next navigation step  Tutorial: Defining Data Objects and Distribution for a Service Order Application End of the navigation path.

Procedure


  1. Create an SWCV called ServiceOrderManagement .

  2. In the ServiceOrderManagement SWCV, create the standard data objects: Customers and ServiceOrders .

    The Customer data object must have the following attributes:

    • CUSTOMERID

    • CUSTOMERNAME

    • STREET

    • ZIPCODE

    • TOWN

    • REGION

    The ServiceOrders data object must have the following attributes:

    • CUSTID

    • ORDERID

    • EQUIPTYPE

    • DESCRIPTION

    • PERC_DONE

    • HOURS_SPENT

    • MATERIAL

  3. Create back-end adapters for the data objects.

  4. Create associations between the two data objects: the CUSTOMERID attribute of the Customer data object must have as association with the CUSTID attribute of the ServiceOrder data object.

  5. Activate the data objects and the back-end adapters in the DOE.

  6. Create a distribution model for the data objects and activate them.

  7. Assign this distribution model to your test device.