Skip to Content
0
Former Member
Nov 30, 2006 at 03:43 AM

Multiple receivers for same rfc msg type

56 Views

I have a soap-XI-RFC scenario. I have to read the soap message and depending on the key field value, I have to send to two different SAP systems.

For EX:

Input Message:

<input_msgType>

<item>

<Key>ABC-123452</Key>

<value>test1</value>

</item>

<item>

<Key>ABC-342222</Key>

<value>test2</value>

</item>

<item>

<Key>XYZ-676767</Key>

<value>test2</value>

</item>

<item>

<Key>XYZ-565655</Key>

<value>test2</value>

</item>

</input_msgType>

Output Message1:

<BAPI_SEND_DATA>

<item>

<Key>ABC-123452</Key>

<value>test1</value>

</item>

<item>

<Key>ABC-342222</Key>

<value>test2</value>

</item>

</BAPI_SEND_DATA>

Output Message2:

<BAPI_SEND_DATA>

<item>

<Key>XYZ-676767</Key>

<value>test1</value>

</item>

<item>

<Key>XYZ-565655</Key>

<value>test2</value>

</item>

</BAPI_SEND_DATA>

I have to send the same rfc request data to two sap systems..all the key with ABC starting Key should go to SAP system1

and all the key with XYZ key should go to SAP system 2.

Should I split the message in mapping - if so how can i do it? What kind of BPM steps should I do?

Can I do this in receiver determination itself using condition? THanks for suggestions and help..

Thilothama