Skip to Content
author's profile photo Former Member
Former Member

Mapping reuse with minor changes

Hello all,

I have done the following graphical message mapping in SAP PI. Most of the mapping remains the same for other target elements except for a few differences as shown below:


For e.g. only the constant value and target value marked in the screenshot would change. Is there a way the below mapping can be re-used with only the required changes in them?

Input structure is as follows:

<Attribute name="VENDOR_ACCOUNT_NUMBER">
<Attribute name="VENDOR_ACCOUNT_GROUP">
<Attribute name="LEGAL_ENTITY">
<Attribute name="NAME1">
<Value>PC Store STA EOOD</Value>

Output structure is as follows:




Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Mar 31, 2017 at 12:42 AM

    Hi Mustafa,

    One of the possible options is to create mapping template and apply the template to reuse the mapping. After applying the template you can change the constant or mapping of few fields which are scenario specific.

    If you really want to reuse the same mapping object across interface then use the value mapping instead of constant in fields. But then you need the identifier of different scenarios from the source message.



    Add comment
    10|10000 characters needed characters exceeded