on 04-28-2009 4:15 PM
Hi
i have idoc to File scenario
This is my required output.
STaaabbbccc\
MTdddeeemmm\
ITggghhhooo\
MTdddhhhbbb\
ITcccaaaeee\
But i am getting the output as
STaaabbbccc\
MTdddeeemmm\
MTdddhhhbbb\
ITggghhhooo\
ITcccaaaeee\
i have used FCC, but not getting the output. is it possible to obtain the requried output through FCC?
i have defined the datatype as below
Layout
|____RecordSet
|____ST 1-1
|______f1,f2,f3,f4,f5
MT 0-Unbounded
|_____f1,f2,f3,f4,f5
IT 0-Unbounded
|_____f1,f2,f3,f4,f5
Thanks
Saiyog
Edited by: Saiyog Gonsalves on Apr 28, 2009 5:22 PM
Edited by: Saiyog Gonsalves on Apr 28, 2009 5:24 PM
Hi Keith
i have done that already appended the IT fields to MT, but if i have 2 IT segments, then my output is
ST
MT
IT
IT
MT
which is wrong as my 2nd MT should containing 1 IT and my output should be
ST
MT
IT
MT
IT
Thanks
Saiyog
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
>
Layout > |____RecordSet > |______ST 1-1 > |______f1,f2,f3,f4,f5 > MT 0-Unbounded > |_____f1,f2,f3,f4,f5 > IT 0-Unbounded > |_____f1,f2,f3,f4,f5
>
>
> Edited by: Saiyog Gonsalves on Apr 28, 2009 5:22 PM
You have to change your data type so that the order is maintained for ST MT and IT. Otherwise it is not possible. If you look at in SXMB_MONI the XML nodes are grouped together based on the node names. Thats the reason file adapter is writing them same way.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.