Skip to Content
0
Former Member
Oct 30, 2012 at 09:04 AM

Mapping issues

118 Views

Hi All,

We have the mapping issue .


Issue: IF the segment E1WBB04 does not have a field HPEAN, then the mapping pick the wrong segment.


<E1WBB04 SEGMENT="1">

<EAN11>5088517000237</EAN11>

<EANTP>HE</EANTP>

</E1WBB04>

<E1WBB04 SEGMENT="1">

<EAN11>885170002371</EAN11>

<EANTP>UC</EANTP>

<HPEAN>X</HPEAN>

</E1WBB04>


Mapping Condition : When HPEAN = X and EAN11 are in same segment then we have to map EAN11 to target.


But the result is 5088517000237 instead of 885170002371. which is not HPEAN= X.


Please suggest the mapping or UDF for the same.

Thanks

Laxmi Bhushan