Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Introduction to SAP Connector
  3. Connections for SAP
  4. Data integration using BAPI/RFC functions
  5. Data integration using IDocs
  6. SAP data type reference

SAP Connector

SAP Connector

Step 2: Configuring an inbound mapping with the MATMAS IDoc

Step 2: Configuring an inbound mapping with the MATMAS IDoc

Configure an inbound mapping that uses the IDoc mapplet to write the MATMAS IDoc 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
    .
  3. To configure a flat file 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 flat file connection.
  6. Add separate flat file sources for the control_input group and segments in the MATMAS IDoc.
  7. To add an IDoc Mapplet transformation, on the
    Transformation palette
    , click Mapplet.
  8. On the
    General
    tab, enter a name and description for the mapplet.
  9. On the
    Mapplet
    tab, click
    Select
    .
    The
    Select Mapplet
    dialog box appears.
  10. Specify an IDoc mapplet that you imported using the Prepare transformation and click
    OK
    .
  11. Draw a link to connect the Source transformations to the Mapplet transformation. For example, connect the Control_Input source object to the Control_Input_Group for the MATMAS IDoc.
  12. To preview the incoming fields, click
    Incoming Fields
    .
    The following image shows the incoming fields:
    The configured incoming fields is displayed.
  13. Click
    Field Mappings
    to map the incoming fields with the mapplet input fields.
    The following image shows the field mapping in the mapplet:
    The Incoming Fields is mapped with the mapplet input fields to configure an inbound mapping.
  14. To add a Target transformation for writing to SAP, on the
    Transformation palette
    , click
    Target
    .
    1. On the
      General
      tab, enter a name and description.
    2. Click the
      Target
      tab and configure SAP target details.
    You can also parameterize the SAP target details.
  15. To add a flat file Target transformation for the error output, on the
    Transformation palette
    , click
    Target
    .
    1. On the
      General
      tab, enter a name and description.
    2. Click the
      Target
      tab and configure flat file target details.
  16. Draw a link to connect the
    IDoc_Prepare_Output_Group_For_MATMAS03
    to the IDocWriter object. Draw another link to connect the
    IDoc_Prepare_Error_Output_Group_For_MATMAS03
    to the Error_Output flat file object.
    The following image shows the mapping for the inbound mapping for the MATMAS IDoc:
     Configured inbound mapping with the MATMAS IDoc.
  17. Save and run the mapping.

0 COMMENTS

We’d like to hear from you!