on 07-28-2010 12:13 AM
Hi Guys,
Can some focus light on this please?
I have got one issue in message mapping as follows
Source Side
-
<Lin>
<Group_ZA> --- 0. Unbound
<DA02_ZA> --- 0.. Unbound
ZA01 --- 0..1
ZA02 --- 0..1
ZA03 --- 0..1
</DA02_ZA>
</Group_ZA>
</Lin>
Target Side
-----------------
<ProductActivity> 1..1
<Item> 1..Unbound
<Inventory> 0..1
UnrestrictedUseQuantity 1..1
QualityInspectionQuantity 0..1
</Inventory>
<SalesTimeSeries>
<Item>
Quantity 1..1
</Item>
</Item>
</ProductActivity>
The source side DA02_ZA tag comes 5 times per one Group_ZA tag. In first value DA02_ZA, ZA01 comes with 'QA', second value DA02_ZA.ZA01 comes 'QD', third value DA02_ZA.ZA01 comes 'QT',fourth value DA02_ZA.ZA01 comes 'QX' and fifth value DA02_ZA.ZA01 comes 'QZ'. If ZA01='QA' then need to pass ZA02 value into ' UnrestrictedUseQuantity'. If ZA01="QD" then need to pass ZA02 value into "QualityInspectionQuantity", if ZA01="QT" then ZA02 pass into "Quantity" field. The similary I need to valid this ZA01 five values and pass ZA02 into Target side with some more tags.
After my mappingp into target side, the first ZA02 value is coming into all target side fields.
How to put condition ZA01 is not equal to 'QD' or not Equla to "QT'.
Please cany any help me to resolve my issue.
Many Thanks in Advance
Regards
San
> After my mappingp into target side, the first ZA02 value is coming into all target side fields.
>
> How to put condition ZA01 is not equal to 'QD' or not Equla to "QT'.
>
use boolean equals function
ZA01---------------------------->
BOOLEAN EQUALS----->NOT(STANDARD FUNCTION_------>TARGET
Constant[QD]------------------->
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Addition to the condition mentioned you need to handle the context..of the tag..put the context to the parent so that it will generate as per the needed...
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
Many thanks for sharing my problem. But I don't know some reason this mapping is not happeing. Please have a look the condition I did
ZA01-->
Text (equalsS) -
>
Constat (QA)-->
AND (function) ****** If (function)
*********************************** Pass ZA02 field value into ----> Target
ZA01-->
Equals(Boolean) --> Not -
>
Constat (QD)-->
With the above condition values are not populating and I have changed ZA02 to Context Header, no use
Any help in this please?
Regards
San
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.