cancel
Showing results for 
Search instead for 
Did you mean: 

Message mapping error

Former Member
0 Kudos

Hi,

In my XI scenario, i have to map one of the sub-structures which is given below to different target fields.

<I2_Product_CategoryAttributes>

<Attribute name="Band Type" value="Min Band" remoteKey=""/>

<Attribute name="Carton Size [Nom]" value="12" remoteKey=""/>

<Attribute name="Conv [Nom]" value="35" remoteKey=""/>

<Attribute name="Excise [Nom]" value="77" remoteKey=""/>

<Attribute name="LOC/IMP Ind" value="L" remoteKey=""/>

<Attribute name="MRP [Nom]" value="67" remoteKey=""/>

<Attribute name="PMC [Nom]" value="99" remoteKey=""/>

<Attribute <b>name="RMC [Nom]" value="2"</b> remoteKey=""/>

<Attribute name="SKU Class" value="2" remoteKey=""/>

</I2_Product_CategoryAttributes>

As can be seen in the source structure, if <b>name = RMC [Nom]</b>, the value in <b>attribute value (i.e 2 here )</b> has to go in a target field called RMC...

Similarly for others...

I tried using the ifelse function available in message mapping tool, but it is not putting any value in the target fields

Can someone suggest what could be the problem?

Thanks in advance..

Regards,

Karen Pereira

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

The issue has been resolved. I changed the context of the source nodes to the message and it worked..

Regards,

Karen Pereira

bhavesh_kantilal
Active Contributor
0 Kudos

Karen,

This is a standard requirement.

The RMZ in the target should be mapped as follows,

NAME -


>

CONSTANT = RMZ -


> EQUALS -> IFWITHOUTELSE> VALUE -->RMZ ( Target Field ) and so on.

regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

This is what i have already done...

I have checked whether the name = RMC, If yes, the value field is mapped to the target Field RMC.

But this is not working.

Karen

bhavesh_kantilal
Active Contributor
0 Kudos

Karen,

Which Equals are you using?

Go to the Text Function and use the Equals under Text Functions.

I guess you must be using the Equals function under Boolean, do not use this.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

I am using the equalsS available in the text functions.

Karen

Former Member
0 Kudos

Hi;

Check in the queue of the if then else block in your mapping .

Mudit

Former Member
0 Kudos

Hi Mudit,

I am not able to view the queue of the IF THEN block..

Karen

Former Member
0 Kudos

Hi;

It might be because you have a target mandatory node still to be mapped.

Mudit

Former Member
0 Kudos

Hi Mudit,

I have mapped all the nodes of target.

Regards,

Karen

Former Member
0 Kudos

Hi,

Can you plz explain us abt ur scenario, the source & target systems and what you are trying to achieve?

regards