Configuring an inbound mapping to write IDocs to SAP
Configuring an inbound mapping to write IDocs to SAP
You can configure an inbound mapping to write IDocs to SAP.
To create a mapping, click
Data Integration
New
Mappings
. Select
Mapping
and click
Create
.
Enter a name and description for the mapping, and click
OK
.
You can use alphanumeric characters and underscores (_) in the mapping name.
To configure a source, on the
Transformation
palette, click
Source
.
In the
Properties
panel, on the
General
tab, enter a name and description.
Click the
Source
tab and configure the source details.
To add an IDoc mapplet transformation, on the
Transformation palette
, click Mapplet.
On the
General
tab, enter a name and description for the mapplet.
Draw a link to connect the previous transformation to the transformation.
On the
Mapplet
tab, click
Select
.
The
Select Mapplet
dialog box appears.
Specify an IDoc mapplet that you imported using the Prepare transformation and click
OK
.
To preview fields, configure the field rules, or rename fields, click
Incoming Fields
.
You must link the DOCNUM port of the mapplet to the source transformation. The DOCNUM port represents a unique number for each IDoc and the SAP system does not accept inbound IDocs without a unique document number.
To add any other transformation, on the
Transformation palette
, click the transformation name. Or, drag the transformation onto the mapping canvas.
On the
General
tab, enter a name and description for the transformation.
Draw a link to connect the previous transformation to the transformation.
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.
To preview fields, configure the field rules, or rename fields, click
Incoming Fields
.
Configure additional transformation properties, as needed.
The properties that you configure vary based on the type of transformation that you create.
To add another transformation, repeat these steps.
To add a Target transformation, on the
Transformation palette
, click
Target
.
On the
General
tab, enter a name and description.
Draw a link to connect the previous transformation to the Target transformation.
Click the
Target
tab and configure SAP target details.
To preview fields, configure the field rules, or rename fields, click
Incoming Fields
.
Click
Field Mapping
and map the fields that you want to write to the target.
To add another Target transformation, repeat these steps.