Powered By

Free XML Skins for Blogger

Powered by Blogger

Saturday, August 9, 2008

Assigning a Field in SAP XI Message Mappings

Use

Using the structure overview and the data-flow editor you can map source fields of the source structure to a target field.

Features

You can:

Use drag and drop to select a source field in the structure overview and map it to a target field, or the other way around. The mapping editor displays this simple assignment in the data-flow editor.

Drag a target field and one or more source fields from the structure overview to the data-flow editor. The data-flow editor automatically assigns the first source/target field pair. If a target field has already been mapped, then the mapping is displayed in the data-flow editor.

Select a source and target field from the structure view by double-clicking. Note that you always transfer source fields to the data-flow editor by double-clicking. However, this is only possible for target fields if they have not already been assigned a source field. When you double click a target field that has already been assigned, the system navigates to the corresponding mapping.

In the data-flow editor you can then connect source fields with standard functions or with your own functions (see: Functions in the Data-Flow Editor). In the simplest instance, assign a source field to a target field. The value of the source field is then transferred to the target field at runtime.

A source field can also be mapped to multiple target fields. Simply define multiple target field mappings in which the source field is assigned to the respective target field.

Status Display

Icon Types

Icon

Description

This graphic is explained in the accompanying text

Attribute

This graphic is explained in the accompanying text

Element

This graphic is explained in the accompanying text

Element with maxOccurs = unbounded

Icon Colors

Color

Description

White

Attribute or element not assigned

red

Attribute or element must be assigned to complete the mapping

yellow

Attribute or element has already been assigned but the corresponding mapping in the data-flow editor is not complete

green

Mapping to target field complete

Furthermore, collapsed target field names in the mapping editor are displayed in red if target field mappings for subnodes of the marked field name are still missing.

The colors used for the data-flow objects in the data-flow editor have the same meanings as those used above.

No comments:

Archives