Multi-Mappings
Use
Multi-mapping is a mapping program that allows you to transform a source (input) message to multiple target (output) messages or multiple source to multiple target messages. In ES Repository, you create a multi-mapping program for the following scenarios:
-
To define a transformation step in an integration process.
-
To split a message and logically route them to multiple systems.
Types of Transformation Supported by Multi-Mapping
|
Type |
Description |
|
N:1 |
Bundles multiple input messages into one output message, for example, individual purchase order items into one purchase order. |
|
1:N |
Splits one input message into multiple output messages, for example, one purchase order into the individual purchase order items. |
|
N:M |
Converts a message type into another message type, for example, a message that is defined by interface A is converted to message that is defined by interface B. |
Like simple mapping programs, you can also group several multi-mapping programs into an operation mapping. Therefore, an operation mapping can contain multiple steps, where each step can be a simple mapping or a multi-mapping program. These steps are executed in a specified sequence. The result of one step is provided as input for the subsequent step. Therefore, in case of a step that contains multi-mapping program with 1:N transformation, it must produce as many messages as the subsequent step expects.