Skip to Content
0
Former Member
Jun 28, 2007 at 02:45 PM

How to define IDOC as 'type' in 'Data types' ?

59 Views

Hi all,

I am trying to define a data type which accepts multiple occurences of IDOC type in the same message. The required XML should be like this...

<All_IDOCs>

<ZUPFIN_> <--- this is the IDOC imported into XI

<IDOC>...

:

</IDOC>

</ZUPFIN>

<ZUPFIN_> <--- this is the IDOC imported into XI

<IDOC>...

:

</IDOC>

</ZUPFIN>

<All_IDOCs>

Now, there are more than 800 fields under <ZUPFIN_> IDOC. So I am trying to find out an easy solution to create the above data type without manuall adding each element.

Any idea ?

Thanks.

- Atul