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

Configuring IDoc mapplets

You can configure IDoc mapplets using the
Mapplet - SAP IDoc
asset from
Data Integration
. You can use IDoc mapplets to the inbound or outbound mappings.
  1. In
    Data Integration
    , click
    New
    Mapplets
    Mapplet - SAP IDoc
    , and then click
    Create
    .
  2. Enter a unique name for the mapplet.
  3. Specify the location where you save the mapplet.
  4. Optionally, enter a description for the mapplet.
  5. Select the transformation type. You can select one of the following options:
    • Select
      IDoc Interpreter
      to generate outbound mappings to read IDocs from the SAP system.
    • Select
      IDoc Prepare
      to generate inbound mappings to write IDocs to the SAP system.
  6. Select the source by which you fetch the IDoc. You can select one of the following options:
    • Select
      Connection
      to fetch the IDoc with an SAP Table Connector connection using the
      Saprfc.ini Path
      and
      Destination
      advanced properties.
      Ensure that you add the following entries in the
      sapnwrfc.ini
      file when you create the SAP Table connection:
      DEST=PRD ASHOST=sapr3 SYSNR=01
      The SAP Table connection information is available in the SAP Table Connector documentation. For more information about the SAP Table connection, see the
      SAP Table Connector
      documentation.
    • Select
      Local File
      to fetch the IDoc using a file from your local drive.
  7. Select the scope of the transformation. You can select one of the following options:
    • Select
      Transaction
      to apply the transformation logic to all rows in a transaction. Select
      Transaction
      when the results of the transformation depend on all rows in the same transaction, but not on rows in other transactions. When you select
      Transaction
      , associated mappings can run in real time. For outbound mappings, select
      Transaction
      .
    • Select
      All Input
      to apply the transformation logic to all incoming data, and to drop the incoming transaction boundaries. Select
      All Input
      when the results of the transformation depend on all rows of data in the source.
  8. Enter the message type and the basic IDoc type, and then click
    Fetch IDoc
    .
    The segment details of the IDoc appears.
  9. On the
    IDoc Document
    tab, in the
    Select IDoc Segments
    section, select the segments you want to include in the mapplet.
  10. Optionally, in an inbound mapping, to add a control record field to the mapplet, on the
    Control Record
    tab, select the checkbox for the field you want to add. This enables you to map the selected control record fields when you configure a mapping, integration template, or
    mapping
    task.
  11. Click
    Save
    .

0 COMMENTS

We’d like to hear from you!