on 10-30-2012 9:04 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can use use mapwithdefault just after HPEAN and then check ur conditions.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Laxmi,
Please try the following mapping -
IF <HPEAN> EqualS X AND < EAN11> exists then map it to target element.
Use IF without else amd keep the context of <EAN11> & <HPEAN> as <E1WBB04>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.