on 12-24-2007 12:33 PM
Hello,
how do I do value mapping using properties file?
i mean fixed value maping with a properties file so that if the source and target key is to be changed, I can directly change in properties file rather than editing the mesage mapping
The requirement is ... there is one source field and one destination field
based on key, key value must be determined and sent to the destination structure like...
key1 .......keyvalue1
key2......keyvalue2
key3......keyvalue3
etc in such a way that ....
source and destination fields are mapped in the MM and in the properties file i put key and the corresponding key value
tell me how do i do it?
thanks in advance
nikhil.
Hi,
Maintain the key value pair in the Integration directory ie tools-->value mapping and u can directly access these values during runtime in your MM. While mapping use Value mapping standard function and define ur source and target values. So you can update values directly in ID for any changes.
For more info refer to this blog:
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sumit,
yes its requirement from customer
this is because if the constant value changes in future, he dont want me to edit mapping all the time to change the constants
If I use properties file, I can easily update the same in the properties file rather than editing MM
Please post me the java code if anyone has done it previously to use value mapping using properties file
thanks
Nikhil.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.