cancel
Showing results for 
Search instead for 
Did you mean: 

file to idoc

Former Member
0 Kudos

hi

i want to know if we want to create a separate idoc for each new record then how we will do it?

Accepted Solutions (1)

Accepted Solutions (1)

former_member529475
Active Contributor
0 Kudos

HI Rinku

NO need to create seperate idoc for each record.

You have 1 header record with multiple segments.

Have a look at the michals blog. It will give you the clear picture..

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Cheers..

Vasu

<i><i>** REward Points if found useful **</i></i>

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Little hard to understand your question, but I assume you want to convert incoming file to many Idocs.

Make sure the Idoc occurrence is set to

minOccurs="0" maxOccurs="Unbounded"

to be able to spit out as many as you want. To do this you take the Idocs .xsd (XSD tab when you look at it in XI), export it to a file, tweak it like this:

<xsd:element name="IDOC" type="XXXX" minOccurs="0" maxOccurs="unbounded"/>

and import it as an external definition that you use in the mapping.

In your mapping, make sure that the IDOC field is mapped/will be created for every occurrence of a specific field in each record in your incoming file.

Get back to me if it is unclear...

regards Ole