Skip to Content

Dynamic routing in HCI based on input data field

Dear Experts,


I’ve a requirement where I’m having one sender which comes with 10 fields. In those 10 fields one of the field name is IDENTIFIER.

Based on the IDENTIFIER field content I need to select the end points. The endpoint will be different for each system (we can consider that we are using RFC receiver channel in HCI).

These endpoints will be pointing to different systems to which we need to route input data. So we need to do dynamic routing of incoming payload to dufferent systems based pon that IDENTIFIER field. So my feeling is the receiver channel will be picking endpoint dynamically

What all ways we can do it.

requirement.png (14.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 03 at 07:01 PM

    I'm trying to determine something similar and was wondering if there is a way to store the destination address as a value mapping artifact and then access this value mapping artifact via a script?

    Any suggestions or examples of doing so, would be wonderful.

    Thank you,

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 06, 2017 at 05:26 PM

    Hello Vidhya,

    You can use Router or Multicast with filter.

    Option 1:

    You can use router and use the XPATH as identifier to route the message to particular Receiver.

    You can have multiple branch with difference XPATH like below

    branch 1: //IDENTIFIER = 'A'

    branch 2: //IDENTIFIER = 'B'

    Option 2:

    Have a Multicast and use filter the records based on incoming identifier.

    https://blogs.sap.com/2017/06/01/sap-cloud-platform-integration-content-filter-in-detail/

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded