cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Problem

Former Member
0 Kudos

Hi everybody,

my source structure is like this:

<LEVEL_1>

<LEVEL2>

__<LEVEL_3>

___<LEVEL_4>

____<ELEMENT_1>

My target is like this

<LEVEL_1>

<LEVEL2> 1..1

__<ELEMENT_1> 1..1

Target Element <ELEMENT_1> should only be mapped if the value of source <ELEMENT_1> = XXX

I get an error. I guess it is because of the contexts.

What do I have to do?

Thanks Regards Mario

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi, solved it on my own:

first: splitByvalue

then: remove Context

Thank you all

Regards Mario

Former Member
0 Kudos

Hi

Use the "Display queue" option in the context menu to fix problems related to context

Can provide more help if you feed us what context error you are getting and when you are getting?

regards

krishna

Shabarish_Nair
Active Contributor
0 Kudos

play around with the context - /people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

Former Member
0 Kudos

Hi, to be more detailled

My source is:

<LEVEL_1>

<LEVEL2>

__<LEVEL_3>

___<LEVEL_4>

____<ELEMENT_1>SSS

<LEVEL_1>

<LEVEL2>

__<LEVEL_3>

___<LEVEL_4>

____<ELEMENT_1>XXX

<LEVEL_1>

<LEVEL2>

__<LEVEL_3>

___<LEVEL_4>

____<ELEMENT_1>SSS

I get the error target field <ELEMENT_1> could not be created.

Regards Mario

Former Member
0 Kudos

Mario

Do the following .

After testing your mapping.

Goto the mapping flow editor

On the target structure, double click on <ELEMENT _1>

1. In the editor, right click on the <Element_1> node. and select "Display Queue" and observe the values. You will find "Suppress" entries.

2. Now move from right to left in the mapping and check the "Display Queue" for other nodes to identify which node causes the value to get suppressed

regards

krishna