Originally posted by: ICS_User_Shane
Hey Guys,
I'm new to WTX so bear with me.
I have a mapping rule within a functional map:
=FILLRIGHT(ASW_ID, " ", 4) + "-" + FILLRIGHT(IF(MEMBER(EntityIDCd Element:N1 Segment:LoopN1_1:Tran850, {"ST", "BS", "SO"}),
IDCd Element:IDCd MComposite:N1 Segment:LoopN1_1:Tran850,
LOOKUP(IDCd Element:IDCd MComposite:N1 Segment:LoopN1_1:Tran850, EntityIDCd Element:N1 Segment:LoopN1_1:Tran850 = BusRuleVAL)), " ", 30)
If i remove the first part of the rule: FILLRIGHT(ASW_ID, " ", 4) I get that part of the output. If i add in the remainder of the rule, i dont return anything for that portion. if i remove the first part of of the rule, i get the second part. If i change the second part to a literal and remove the LOOKUP, the whole rule works perfectly.
Is there something about WTC that you cant use a LOOKUP and COncatenate within the same rule? I'm on WTX 8.1.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange