Skip to Content
author's profile photo Former Member
Former Member

Combine IDoc and RFC Respone in one Message Type

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 12:10 PM

    Hi Simon,

    To build the destination message type for this complex scenario,i suggest u to go for

    the JAVA mapping(SAX Parser)...

    Any how u know the structure in the destination,but mapping is complex,so Java mapping will really make u r job simple

    Add a comment
    10|10000 characters needed characters exceeded

    • As per your explanation, you have Idoc entering BPM. Then RFC sync call also enters BPM. Now in BPM, you have two abstract asyn interface, one for RFC and one for Idoc. Here, why don't you simply use multi-mapping N:1?

      /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

      Regards,

      Prateek

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.