Skip to Content

Mapping reuse with minor changes

Mar 24, 2017 at 08:51 PM


avatar image
Former Member

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:




10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Harish Mistri 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.



10 |10000 characters needed characters left characters exceeded