Show TOC

Fixing Metadata InconsistenciesLocate this document in the navigation structure

Prerequisites

You have created a Service Component and due to changes in the DOE the metadata has become inconsistent.

More information: Creating Development Components

Context

Introduction

Metadata in the Service Component describes entities of the following main types:

Entity

Content

Data Object (DO)

DO nodes and attributes

Data Structure (DS)

DS attributes

Service

Operations and Operation Parameters

Exception

Exception related configuration

There are many possible associations between these entities stored as metadata.

Sources of metadata inconsistencies

A developer can create entities and associate them. During the development process entities can be deleted. This causes broken associations or "metadata inconsistencies".

Conceptually this is similar to inconsistencies found in Java code. For example, the same User Interface features for Java are used in the Eclipse development environment. This is the so-called "Problems" view which contains Problem markers.

In general inconsistencies can come from:

  • Deletion of a DO, DO node or a DO attribute.

  • Deletion of a Data Structure or deletion of a Data Structure attribute.

  • Deletion of an exception

Procedure


  1. In SAP NetWeaver Developer Studio, choose the Problems tab.

  2. In the context menu of a metadata Problem Marker, choose Quick Fix .

  3. In the Quick Fix dialog select the action of your choice.

    Types of quick fixes are :

    • Delete an entity that references a deleted entity.

    • Delete a reference to a deleted entity.

    • Re-create a deleted entity.

Results

You have resolved metadata inconsistencies. Problem markers have disappeared from the Problems view. Now Java code can be generated and DC can be built.