Hello,
I need to have the possibility to store the data of one IDoc and one RFC Response in one Message Type.
The structure should be something like this:
IDoc_AND_RFC_RESPONSE (root)
--item (0..onbounded)
-
ID (Attribute, type xsd:string)
-
IDOC (Elemtent, type IDOC <--unfortunately not possible in data type definition)
-
RFC_Response (Element, type RFC_Response <--unfortunately not possible in data type definition)
The goal is to merge 2 messages (idoc data and the data of a rfc response) into 1 message with logical connected items.
e.g.
IDOC (message 1)
--ID 01
-
IDOC_DATA_01
--ID 02
-
IDOC_DATA_02
RFC_Response (message 2)
--ID 01
-
RFC_DATA_0101
-
RFC_DATA_0102
--ID 02
-
RFC_DATA_0201
I need this data to be transformed into:
IDoc_AND_RFC_RESPONSE
--item
-
ID 01
-
IDOC
-
IDOC_DATA_01
-
RFC_RESPONSE
-
RFC_DATA_0101
-
RFC_DATA_0102
--item
-
ID 02
-
IDOC
-
IDOC_DATA_02
-
RFC_RESPONSE
-
RFC_DATA_0201
The problem ist NOT how to do the mapping, BUT how to define the data type of the target message.
The IDoc and the RFC have a very complex structure so manually building the structure is not possible.
Thanks for your help.