Show TOC

Import DDIC StructureLocate this document in the navigation structure

This document explains you about creating an entity type by importing DDIC structure.

Prerequisites

You must have created a project that comply with OData V4 (the project may or may not be empty).

Context

Follow below steps to create an Entity Type by importing DDIC structure:

Procedure

  1. In the tree view, in context menu of Data Model select DDIC Structure. Wizard step 1 of 3 opens.
  2. In <Name> enter a name for the entity type or complex type.
  3. Select Entity Type or Complex Type as per your requirement.
  4. In <ABAP Structure> enter the structure that you want to import.
  5. Select Create Default Entity Set if you want to create an entity set by default.

    It is recommended to always select this option in case of complex type as ABAP Structure can have Tables in it and for these Tables, Entity Types are created. To create Entity Sets for these Entity Types, this option must be selected.

  6. Select Next.
  7. In Wizard step 2 of 3, under Data Source Parameter select the properties that you want to import.
  8. Select Next
  9. Wizard step 3 of 3 appears. The properties you selected in previous wizard displays here. Select at least one property as Key Property in <Is Key>. You can edit the name of the property in <Property Name>.

    At this point the Property Name is not validated with respect to the parent Entity or Complex Type Name. It is validated at the time of consistency check.

  10. Select Finish.

Results

DDIC structure imported successfully.