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

Key fields and control record fields

Key fields and control record fields

An IDoc mapplet includes a primary key (GPK) and a foreign key (GFK) in each segment. When you configure a mapping, integration template, or
mapping
task, map the primary key field, foreign key field, and any control record fields.
You can enable control record fields when you import the IDoc metadata.
The Prepare transformation in the SAP IDoc Writer mapplet can have primary key and foreign key fields and other input fields, including control record fields.
The Prepare transformation has the following output fields:
  • IDoc Data. Map this field to an IDoc target.
  • Error IDoc Data. Map this field to see error messages about IDoc syntax/data conversion.
When you import IDoc metadata, you can add fields to an
IDoc Prepare
transformation. In
Mapplet - SAP IDoc
, on the
Control Record
tab, you can add the control record keys as key-value pairs. For example, you can add the following key-value pairs for the sender partner type and the sender partner number:
  • Key: SNDPRT and Value: LS for Logical System
  • Key: SNDPRN and Value ICS
In an inbound mapping, you can pass the sender partner number to SAP. You can pass a value to the CONTROL_SNDPRN port in the control input group of the Prepare transformation. If you do not connect this port to an upstream transformation, the Secure Agent uses the partner number value of SNDPRN key you specify in the
Mapplet - SAP IDoc
asset.

0 COMMENTS

We’d like to hear from you!