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 a mapping with the bapi_salesorder_createfromdat1 mapplet

Step 2: Configuring a mapping with the bapi_salesorder_createfromdat1 mapplet

  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 the 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 configure the source details.
    1. Select a flat file connection.
    2. Select Single Object as the
      Source Type
      .
    3. Click
      Select
      to specify a flat file that contains the source fields.
      The following image shows the flat file source details:
       The configured source details are displayed.
  6. Add order header, order items, and order partners as flat file source objects for the mapping.
  7. To add a BAPI/RFC mapplet transformation, on the
    Transformation palette
    , click Mapplet.
    1. On the
      General
      tab, enter a name and description for the mapplet.
    2. Draw a link to connect the flat file Source transformation to the Mapplet transformation.
    3. On the
      Mapplet
      tab, click
      Select
      .
      The
      Select Mapplet
      dialog box appears.
    4. Select the
      bapi_salesorder_createfromdat1
      mapplet and click
      OK
      .
    5. Click
      Connection
      to specify an SAP RFC/BAPI Interface connection.
      The following image shows the bapi_salesorder_createfromdat1 mapplet details:
      The details of the bapi_salesorder_createfromdat1 mapplet are displayed.
    6. To preview fields, configure the field rules, or rename fields, click
      Incoming Fields
      .
    7. Click
      Field Mapping
      and map the incoming source fields with the appropriate mapplet input fields.
      The following image shows the field mapping of the incoming source fields with the mapplet input fields:
      The Incoming Fields is mapped with the mapplet input fields to configure a mapping with the bapi_salesorder_createfromdat1 mapplet.
  8. To add a flat file target, on the
    Transformation palette
    , click
    Target
    .
  9. On the
    General
    tab, enter a name and description for the target.
  10. Click the
    Target
    tab and configure target details.
    1. Select a flat file connection for the target.
    2. Select Single Object as the
      Source Type
      .
    3. Click
      Select
      to specify the target object.
      The
      Target Object
      dialog box appears.
    4. Select the flat file object, and click
      OK
      .
    5. Optionally, you can choose to forward rejected rows in the Advanced Target options.
    6. Repeat the above steps to add all the flat file target objects.
      The following image shows the target transformation details:
      The configured target details for a flat file.
  11. Draw a link to connect the output ports in the Mapplet transformation to the flat file Target transformation.
    The following image shows the mapping configured for the bapi_salesorder_createfromdat1 mapplet:
    The configured mapping for the bapi_salesorder_createfromdat1 mapplet.
  12. Save and run the mapping.

0 COMMENTS

We’d like to hear from you!