Hi ,
I have a scenario in which my source structure is somewhat like this .
<header >
</header>
<body >
</body>
<body >
</body >
<body >
......
.....
.....
</body>
<trailer></trailer>
to be more precise .
Root
A 1 to 1 .
_B
1 to unbounded .
_
C 1 to 1 .
and the IDOC structure is like
IDOC
H ( header)
|
B child of header ( body within the header )
Now the problem is after reading a flat file from the file adaptor in the mapping part of the scenario for each body structure repeating itself in the source file I have to generate a separate IDOC with the same source structure so that for each of the <body></body> tag encountered in the source xml file a separate IDOC needs to be posted in the R/3 system .How can I achieve that . Can anybody help me on the same .
Regards ,
Ashish .