Skip to Content
avatar image
Former Member

Router issue in SAP HCI with 3 different receivers

Hi All,

I am trying to Route the input to 3 different receivers depending upon a field value "ProcessingTypeCode" in SAP HCI. Source comes as wsdl to Router.So to achieve this I am using a Gateway.

Below is the condition which I am providing in ‘Condition Expression path’,.XML format.

Order Route Name Condition Expression

  1. abc ExternalSalesDocumentDataQuery_sync/ExternalDocumentRequest/ProcessingTypeCode = 'abc'
  2. cde ExternalSalesDocumentDataQuery_sync/ExternalDocumentRequest/ProcessingTypeCode = 'cde'
  3. fgi ExternalSalesDocumentDataQuery_sync/ExternalDocumentRequest/ProcessingTypeCode = 'fgi'
  4. Default Route

When I trigger this using SOAP UI, instead of taking the proper route it takes the default value all the time (irrespective of the value provided in "ProcessingTypeCode" field in SOAPUI) and ends.

Can anyone suggest any solution to this issue? Looking forward to your help.

Thanks in advance.

Sradhanjali

Capture.PNG (30.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 20, 2015 at 02:57 PM

    be aware that the routes go from more specific to more general.

    see if you need to specify different routes.. or you could do a url rewrite rule (xsaccess file) based on the input.

    hope this helps

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi All,

      I found the answer for this problem. Removing the Namespace just before the router solved the issue and worked as expected .

      Thank you all for your help.

      Regard,

      Sradhanjali