cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping problem ( Value Mapping)

Former Member
0 Kudos

Hi Team,

I am facing a small problem while mapping Source fields to Target Fields.

There are 2 sender structures and 1 receiver structure:

Say:

Sender 1:             Sender 2:                         Receiver
=======            ==========                   =========
cust id                 custid                              custid
custname            custcity                           custname 
custtype              custstate                         custtype
                           custzip                            custcity
                                                                  custstate
                                                                  custzip     

Now the problem while Mapping the Source Data: that is sender 1 and Sender 2 to the target Data.

I am left with the custid from Sender 2 to Map..with receiver .and do not know how to Map to the custid in Receiver structure as already the sender 1 custid is mapped to the receiver custif field.

Please do needful as early as possible.

Regards,

Venkat Ramana K

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you could right click and choose "Duplicate Subtree".

Regards

Patrick

Former Member
0 Kudos

Hey Dude,

I am not finding the " Duplicate Subtree when I right click on the Custid filed of the sender 2 message structure.

Could you please be clear on the step...

Regards,

Venkat Ramana K

Former Member
0 Kudos

Hi,

right click on the cust id field of the target structure in message mapping.

Regards

Patrick

Former Member
0 Kudos

Thanks Patrick. But, i am getting two custid's in Receiver which are duplicate entries. How can i avoid this(at receiver end)?. When i test the mapping i get two cust id's in the result.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Venkat,

According to ur requirement there is only one field on receiver side with cust-id..

Is ur requirement something like this..

Comparing the values of cust-id in two data types and if both are equal other fields of same cust-id can be added to the receiver side..

In this case u can use boolean function to compare whether the values of two cust-id's are equal in two fields of the data types which u are using as source mssages...

Regards,

Syed.

Former Member
0 Kudos

Hi,

like mentioned by Syed it depends on your requirements.

If both id's are the same you could only map one of them.

If they are not equal how should your scenario look like?

Regards

Patrick

SudhirT
Active Contributor
0 Kudos

Hi,

Better to ask your functional people, like how tha data will be passed for CUSTID.

Thanks!