cancel
Showing results for 
Search instead for 
Did you mean: 

FCC on receiver side issue

former_member193376
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member193376
Active Contributor
0 Kudos

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

VijayKonam
Active Contributor
0 Kudos

>

>

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

Former Member
0 Kudos

So just nest the IT under the MT instead of at the same level.