Skip to Content
0
Former Member
May 28, 2007 at 01:06 PM

XML to IDOC with occurrence 1...unbounded

245 Views

Hi,

I have a scenario File (xml) to IDOC. My problem is that the Idoc Type that I have imported from SAP has an occurrence of 1...1, but I need of an occurrence 1...unbounded, because I want XI to map more than oen IDOC contemporanealy. My XML has a structure like this:

<users>

<user>

...

</user>

<user>

...

</user>

<user>

...

</user>

</users>

I want to create an IDOC for each <user> instance. I have already tried to use an XSD external definition that has the same structure of the IDOC in order to obtain an IDOC structure with 1...unbounded occurrence, but I receive an error from IDOC adapter in XI Monitor.

Thanks to all!