Skip to Content
0
Former Member
Jul 31, 2008 at 02:36 PM

XML to IDOC : Condition to create new IDOC

128 Views

Hi experts,

I am facing a new problem :s

I have my XML file as source message and my IDOC as target message :

for example:

<DETAIL>

<TYPE>abc</TYPE>

<TEXT>def</TEXT>

<TYPE>abc</TYPE>

<TEXT>def</TEXT>

<TYPE>ghi</TYPE>

<TEXT>def</TEXT>

</DETAIL>

As long as TYPE is the same, I put TEXT in a field of the IDOC, but if TYPE changes, I would like to create new IDOC to inject data.

Is it possible?

Thanks a lot,

Jamal