cancel
Showing results for 
Search instead for 
Did you mean: 

Parameterized Mapping and Value Mpping difference

vijay_b4
Active Contributor
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor

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 -

Hope this help

Harish

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

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.

mounikaravilla
Explorer
0 Kudos

Hi Vijay,

In that case, why cant we map the constant values to those fields which is much easier.
Instead why are we going for parameterized mapping