cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Problem

Former Member
0 Kudos

HI I have a scenario in which multiple business partners data come in a single xml file from sender system and get mapped into an imported idoc message type to be sent to target system.

All the fields are mapped correctly but one field email.

All the fields are directly mapped but the email is mapped very deep in structure ..say

bupa_data1

smtp_data1

email1

AS a result of this only the first BP email address is updated where as the remaining BPs in the XML are left blank for the email address.

Please help me with solution.

Thanks in advance.

AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Am,

I assume you are using Message Mapping. In this case, did you try using the Context handling on the source fields?

Contect can be set by right clicking on the source field.

Hope this helps,

Sumant.

VijayKonam
Active Contributor
0 Kudos

Have some test data in the test tab.. and examine the quesus in mapping. This way you would know how many source emails are getting mapped to the targets.. You would come to know then whether to change the context or insert one more level of context..

VJ

Former Member
0 Kudos

Yep,

all the contexts are defined as required .....

but still the email is not updated....

Former Member
0 Kudos

Hi,

can you give us more details informaiton regarding your mapping scenarios.

Regards

Fernand

Former Member
0 Kudos

HI Fernand ,

We have our source sturcuture :

BP_person

address

name

age

city

zip

email

target structure:

address

name

age

structure1

structure2

email

here except email all the other fields are mapped directly,i mean they are not mapped to a structure and then a field in the structure.

Where as the email is mapped to a structure1 and then another structure2 and then a field EMAIL in the structure.

As a result of this when ever multiple BPs are sent in a single XML all the other details are updated where as the email is left blank.Only the first BP email is updated.

When am checking the queue of the email,

It shows

email1(Email of frst BP)

email1

suppress

suppress

email2(Email of second BP)

email2

former_member214364
Active Contributor
0 Kudos

Hi Juvvadi,

Could you please send your source and target structures with proper hierarchy.

Cheers,

Jag