Skip to Content
0
Former Member
Oct 03, 2005 at 06:59 PM

Message Mapping IDoc-segment

119 Views

Hello,

In my scenario I will do the following mapping with an source structure to an ORDERS05 Idoc:

file structure:

#E1EDP01|10|33|ST

#E1EDP20|33|20050823

inbound message:

<?xml version="1.0" encoding="utf-8" ?>

<ns:MT_ORDERS_OUT xmlns:ns="http:/ /ORDERS">

<E1EDP01>

<IDENTIFIER>#E1EDP01</IDENTIFIER>

<POSEX>10</POSEX>

<MENGE>33</MENGE>

<MENEE>ST</MENEE>

</E1EDP01>

<E1EDP20>

<IDENTIFIER>#E1EDP20</IDENTIFIER>

<WMENG>33</WMENG>

<EDATU>20050823</EDATU>

</E1EDP20>

</ns:MT_ORDERS_OUT>

MT_ORDERS_OUT to IDOC ORDERS05 :

E1EDP01 ___> E1EDP01

POSEX ____> - POSEX

MENGE ____> - MENGE

MENEE ____> - MENEE

E1EDP20 ______> E1EDP20

WMENG ________> - WMENG

EDATU _________> - EDATU

configuration of the file adapter:

recordsetstructure: E1EDP01,,E1EDP20,

keyfield: IDENTIFIER

E1EDP01.keyFieldValue = #E1EDP01

E1EDP01.endSeparator = 'nl'

E1EDP01.fieldSeparator = |

E1EDP01.fieldNames = IDENTIFIER,POSEX,MENGE,MENEE

E1EDP20.keyFieldValue = #E1EDP20

E1EDP20.endSeparator = 'nl'

E1EDP20.fieldSeparator = |

E1EDP20.fieldNames = IDENTIFIER,WMENG,EDATU

With this configuration, the result is only a mapping of the E1EDP01 fields.

I can't see the E1EDP20 fields in the IDoc.

Did I something wrong?

Regards

Christoph