SAP Connector > Part VI: Data Integration Using IDocs > Mapping and mapping tasks using IDocs > Configuring an outbound mapping to read IDocs from SAP
  

Configuring an outbound mapping to read IDocs from SAP

    1. To create a mapping, click Data Integration > New > Mappings. Select Mapping and click Create.
    2. Enter a name and description for the mapping, and click OK.
    You can use alphanumeric characters and underscores (_) in the mapping name.
    3. To configure an SAP source, on the Transformation palette, click Source.
    4. In the Properties panel, on the General tab, enter a name and description.
    5. Click the Source tab and select an SAP IDoc Reader connection.
    When you select an SAP IDoc Reader as connection, the source type is a single object and source object is the IDoc Reader Object.
    6. If required, configure the advanced source properties.
    7. To add an IDoc mapplet transformation, on the Transformation palette, click Mapplet.
    1. a. On the General tab, enter a name and description for the mapplet.
    2. b. Draw a link to connect the previous transformation to the transformation.
    3. c. On the Mapplet tab, click Select.
    4. The Select Mapplet dialog box appears.
    5. d. Specify an IDoc mapplet that you imported using the Interpreter transformation and click OK.
    8. To add any other transformation, on the Transformation palette, click the transformation name. Or, drag the transformation onto the mapping canvas.
    1. a. On the General tab, enter a name and description for the transformation.
    2. b. Draw a link to connect the previous transformation to the transformation.
    3. When you link transformations, the downstream transformation inherits the incoming fields from the previous transformation.
      For a Joiner transformation, draw a master link and a detail link.
    4. c. To preview fields, configure the field rules, or rename fields, click Incoming Fields.
    5. d. Configure additional transformation properties, as needed.
    6. The properties that you configure vary based on the type of transformation that you create.
    7. e. To add another transformation, repeat these steps.
    9. To add a Target transformation, on the Transformation palette, click Target.
    1. a. On the General tab, enter a name and description.
    2. b. Draw a link to connect the previous transformation to the Target transformation.
    3. c. Click the Target tab and configure target details. If required, configure the advanced target properties.
    4. Target details and advanced target properties appear based on the connection type.
    5. d. To preview fields, configure the field rules, or rename fields, click Incoming Fields.
    6. e. Click Field Mapping and map the fields that you want to write to the target.
    7. f. To add another Target transformation, repeat these steps.
    10. Save and run the mapping. or save and create a mapping task.
For information about the source and target transformations, see Transformations.