|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
very starange problem with gentran extended rule

Hi
I have DTM segment in 850 map which is repating 10 times.
I have to map it to two different segment in IDOC based on some qualifier.
E2EDK03 had Date element and Z2EDK03 has Date element .
So I creare two temporary segment on Input side.
TempE2EDK03 with Temp Q1,TempE2EDK03Date (of datatype string has IDOC had
datatype string)
and TempZ2EDK03 with aTempZ2EDK03Date(of datatype string has IDOC had datatype
string)
I wrote simple extend rule like.
If Qualifier = "001" Then
Begin
TempQ1 = "090";
strdate(#Date,"%Y%m%d",$TempE2EDK03.#TempE2EDK03Date);
end
else if qualifier ="002"
begin
TempQ2 = "091";
strdate(Date,"%Y%m%d", $TempZ2EDK03.#TempZ2EDK03Date);
end
I wrote above rule ON End of DTM .
It rwturns only one record (for qualifier 090).
If I map directly it return three records each.
I am not able to where is mistake.
I am using Gentran Integration Suite 3.0.
Please let me know if any body aware abt soln of this problem.
Thanks,
Danny
---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
[Non-text portions of this message have been removed]
|
|
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|