|
Home > Archive > BizTalk Server General > November 2004 > Looping in Map
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I'm working on a map w/ BTS 2004. I'm trying to map data from a flat file to
an EDI schema. The EDI has a G62 segment that I need to pass data to twice,
so I need this to loop passing different data each time. the first pass, I
enter constant data and the second pass, two of the four elements are mapped
from the source document. So far, I am not able to figure out how to force
this loop on the target segment. Any ideas?
thanks, Phil
| |
| Bryan Brouckaert 2004-11-24, 5:52 pm |
| Hello,
Your expenation is rather vague, but did you try the looping functoid?
If I understand it correctly, you need to set a looping functoid, add 2
inputs originating form the 2 different fields and add 1 output to the G62
record. Connect the source fields again with the element of the G62 record
that has to contain the value. The result will be 2 G62 segment that have 2
different values.
Use in combination with value mapping functoid and exists functoid if you
need different constant values. Connect the origine field to the exists
functoid and connect them to 1 or more value mapping functoid. Add a
constant paramters to the value mapping functoid and connect its output to
the element of the G62 record. Do the same for tshe other origine field,
the mapper will store the correct contant in the correct G62 segment.
Hope this helps,
Bryan.
"phil" <phil@discussions.microsoft.com> schreef in bericht
news:FED87B88-EE0A-45E0-BD65-B45D57DE7C4E@microsoft.com...
I'm working on a map w/ BTS 2004. I'm trying to map data from a flat file
to
an EDI schema. The EDI has a G62 segment that I need to pass data to twice,
so I need this to loop passing different data each time. the first pass, I
enter constant data and the second pass, two of the four elements are mapped
from the source document. So far, I am not able to figure out how to force
this loop on the target segment. Any ideas?
thanks, Phil
|
|
|
|
|