# Build the mapping expressions

## Procedure

1. In the map that opens, place the multiple\_record\_input structure from the Data Mapper view in the Input side of the map.
2. Place the multiple\_record\_output structure in the Output side of the map.
3. Under the A\_Record element on the Input side, place the input element Text to the output element Text that is under the AB\_Record element on the Output side.
4. Under the B\_Record element on the Input side, place the input element Text to the output element Text that is under the AC\_Record element on the Output side.
5. Under the B\_Record element on the Input side, place the input element Code to the output element Code\_Text that is under the AC\_Record element on the Output side.
6. Under the C\_Record element on the Input side, place the input element Quantity to the output element Quantity that is under the AC\_Record element on the Output side, and then click Yes when asked if you want to change the output map element looping.
7. Under the Z\_Record element on the Input side, place the input element Text to the output element Text that is under the AZ\_Record element on the Output side.
   ### Example

   ![Example of a map.](https://help.qlik.com/talend/en-US/data-mapper-user-guide/Resources/images/multiple_record_type-map.png)