Skip to Content

Parameterized Mapping and Value Mpping difference

Hi,

I want to know the difference between parameterized mapping and value mapping.

the mappings are done in different way but for both the mappings, we will pass the value at runtime only.

Then whats the exact difference?I searched in sdn before posting this question,but did not get exact answer.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 28, 2015 at 01:28 PM

    Hi Vijay,

    The purpose of Value mapping is transform source value to the target value. The functionality of value mapping is limited to transformation of values.

    While Parameterized mapping is used to pass parameters at run time from configuration. It support adapter type parameter which is used to call communication channels (JDFC, RFC) for various lookups. It can also export the values from mapping.

    refer the blog to understand in detail - SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings

    Hope this help

    Harish

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 28, 2015 at 01:35 PM

    Hi Vijay,

    They seems similar but there are important differences, at least inside a functional purpose.

    For example for value mapping you have in your sender your companies with one codification, however in your receiver side you have a different codification, then you use the value mapping. With parametrized mapping you should use so much parameters as companies, bad idea.

    For parametrized mapping you have for example the name of file repository to be used with dynamic configuration and it depends of your environment DEV, QUA, etc. You can parametrized this value on the ID, however it has no sense to use a value mapping because the value depends of your environment and it will be always one, not a set of values, the a value mapping is a bad idea, you can use it but it better to use a parametrized mapping.

    Finally is not the same to traduce a set of values on another set of values, that to use one parameter that it will can change on different environment but it will be always the same.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded