Show TOC Start of Content Area

Procedure documentation Defining Header Mappings  Locate the document in its SAP Library structure

Use

You use a header mapping to map the values of the following key fields in the receiver agreement to other values:

      Sender party

      Sender communication component

      Receiver party

      Receiver communication component

The address fields (sender, receiver) are then transformed correspondingly in the header of the outbound message.

The header mapping is particularly important when configuring business-to-business processes in which the business partners want to replace the names of their internal business systems with neutral representatives (party, business component).

More information: Configuring Business-to-Business Processes

You can do the following in the header mapping:

      Specify fixed values

      Define that the conversion of the field values is to be determined dynamically from the message payload

Caution

Header mappings are only supported by the following receiver adapters:

XI adapter

IDoc-Adapter

HTTP adapter

RNIF Adapter 2.0

RNIF Adapter 1.1

CIDX-Adapter

Procedure

To specify the header mapping for an address field, perform the following steps:

...

       1.      Select the relevant field under Header Mapping (for example, Sender Communication Component).

       2.      Enter the target value for the key field.

If you want to specify a fixed target value for parties or communication components, select the relevant party or communication component using input help (This graphic is explained in the accompanying text).

If you want to define that parties or communication components be determined dynamically from the message payload, proceed as follows:

                            a.      Select the arrow beside the input help icon (This graphic is explained in the accompanying text).

                            b.      Choose Advanced.

The party editor or expression editor for communication components is opened.

                            c.      To determine the party or the communication component dynamically, select the Dynamic radio button and enter a context object or an XPath expression.

More information:

Using the Party Editor

Using the Expression Editor

       3.      Choose Apply.

Example

If you want to replace the internal name of a sender business system in the outbound message with a neutral name of a party and communication component, specify the fields for Sender Party and Sender Communication Component in the header mapping.

 

End of Content Area