on 02-07-2012 7:55 AM
Hi,
This is my source structure
ZMODEL (0:40)
---ZICP(0:1000)
And my target xml structure is
Models(0:1)
--Model(0:40)
---ICPS(0:1)
--ICP(1:unbounded)
I mapped them as ZICPICPS and ZICPICP. When the ZMODEL segment is repeated and ZICP is coming multiple times in that segment. My mapping is throwing an error saying it cant create ICP segment inn 2nd occurance of ZMODEL segment.
ONly ICP coming in first occurance of ZMODEL is being accepted. But the second occurance is throwing error
Can you tell me any changes in mapping?
u can have a small udf:
execution type: all values of a context
iput : var1
if(var1.length!=0)
result.addValue("");
else
result.addSuppress();
mapping:
ZICP ---UDF - ICPS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>>ZICP--ICPS
ZICP(0:1000) and ---ICPS(0:1)
so how can you map those two ? the error you see is correct - you cannot have more then one ICPS
remove this mapping and it should work
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.