Skip to end of metadata
Go to start of metadata

Mapping templates in PI 7.0

Mapping Templates are for extending the reusability of mapping objects in XI. They are created based on data type and can be saved as mapping templates. 

Mapping template can be reused or loaded into other message mapping or mapping templates. 

It is a Standard schema for describing the message structure at runtime. 


Mapping templates can be defined for:

  • Data type
  • Complex type in IDOC & RFC
  • Complex type in external Definition  
  • Mapping template can be in any SWCV.

Mapping Templates  

Select the mapping for which you want to create the mapping template, choose source and target node and choose the mapping and click the Create Template based on mapping.  

Enter the name and description of the Mapping Template and Click the Create Button 

Save and Activate the Mapping Template Created. 

Hence, mapping template has been created. 

Displaying Mapping Templates Used

To display the entire mapping templates used in a particular message mapping, choose Message Mapping -->Mapping Templates Used

Now, in order to use the mapping template that has been created create a mapping and Click on Show suitable Templates. 


Choose the Templates suitable for the mapping between from the Source to Destination Data Types. 


The mapping will be displayed as in the mapping template.   


Mapping templates are data type based; we will make some change in data type and new field in structure to demonstrate the same:   

Also I will make some change in source message mapping (mapping from where we made templates or in template based mapping).


Check the template which was created based on the above message mapping, though there is a change in the message mapping, those changes does not effect Mapping Template. But when we make the changes in the data type that is used in the Message mapping, those changes affect Mapping Template, hence Mapping Templates are based on data types, which are created from Message Mappings. 


Also check the mapping where we used this template, only data type effect will be there. 

  • No labels