Skip to Content
0
Former Member
Jul 10, 2008 at 09:11 AM

Subnodes and content conversion in FTP-Adapter

45 Views

Hello experts,

the scenaria is IDOC -> XI -> FTP and content conversion is used.

The structure of the IDOC is like:

<head></head>
<pos>
      <subnode></subnode>
</pos>
<pos>
       <subnode></subnode>
</pos>

There can be 1 ore more positions.

We mapped this to a XML-structure according to help.sap.com

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm

As we are not allowed to use subnodes all segments have to be on one level.

How can I map to a structure (with 1 OR MORE positions) like

<head></head>
<pos></pos>
<subnode></subnode>
<pos></pos>
<subnode></subnode>

At the moment we are only able to map to:

<head></head>
<pos></pos>
<pos></pos>
<subnode></subnode>
<subnode></subnode>

In the datatype I can't specify that a position always is followed by a subnode ... i only can use remove context in mapping and put all subnodes beneath the positions. Is there any possibility in graphical mapping to change this?

Thanks and regards,

David