Message Mapping editor Source pane

The following example shows the Message Mapping editor. The pane that is labelled as 1 in the example is the Source pane:
The Source pane of the Message Mapping editor
The following list describes the elements that are present in the Source pane:
  • A source message is identified by $source.
  • A source database is identified by $db:select.
  • A mapped entry is indicated by a blue triangle alongside the element.
  • Square brackets contain minimum and maximum occurrences of an element.
  • An optional field is indicated by [0,1].
  • A repeating field is indicated by [minoccurs, maxoccurs].
  • A choice field is indicated by a choice line; under the choice line are the possible choices.
  • The type of each element is indicated in round brackets after the element name.
  • If the message schema uses namespaces, the namespace prefix is shown before the element name, separated by a colon.

Use the Source pane to invoke a number of actions, a list of which is displayed when you right-click within the Source pane. The following table describes the available actions.

Action Description Related tasks
Undo Undo previous action  
Redo Redo previous action  
Revert Discard  
Open Declaration (message) Display the element definition from the message set.

For this action to be available, select any source message element except LocalEnvironment or Headers.

 
Open Declaration (database) Display the element definition from the database.

For this action to be available, select any source database object.

 
Add Sources and Targets Add a message definition or a database table to a source.

For this action to be available, select any source object.

Adding a message to the source or target, Adding a database to the source
Go To

For this action to be available, select any source object.

 
Delete (message) Remove a message and any existing maps from the source.

For this action to be available, select the source message root ($source).

 
Delete (database) Remove a database and any existing maps from the source.

For this action to be available, select the source database root ($db:select).

 
Map from Source Create a map between the focus source element and the focus target element.

For this action to be available, select compatible source and target elements.

Mapping a target element from source message elements
Accumulate If the source and target fields contain numeric data types, this action maps all occurrences of a repeating source field to a non-repeating target, resulting in the sum of all the source elements.

For this action to be available, select the source and target element.

Configuring a repeating source and a non-repeating target
Create New Submap

For this action to be available, select source and target elements that are either elements of complex types or wildcard elements.

 
Call Existing Submap Call an existing submap  
Call ESQL Routine Call an ESQL routine  
Save Save the .msgmap file  
Related concepts
Message Mapping editor
Related tasks
Developing message mappings
Configuring a repeating source and a non-repeating target
Mapping a target element from source message elements
Adding a message to the source or target
Adding a database to the source
Related reference
Message Mapping editor Target pane
Message Mapping editor Edit pane
Message Mapping editor Spreadsheet pane