Skip to Content
avatar image
Former Member

how write condition in Interface determination

Hi,

I want to route the data based on a logic(which invovles the values of 4 fields in the source schema) in the interface determination. Can anyone please tell me where should i write the logic.

I am thinking of creating a new flag field in the target schema. Assign the value after checking the logic in Message mapping. And I want to use that flag in interface determination.

However I am not able to write condition in the Interface determination based on the target field value.

Can anyone pleasehelp me.

Thanks,

Phani

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 02, 2006 at 09:10 AM

    Hi,

    I think wht u r trying to do is content-based routing. For that you can create context objects and assign it to the fields in your structure. Create conditions while configuring your receivers using those context objects.

    Regards,

    Akshay

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 02, 2006 at 09:11 AM

    > However I am not able to write condition in the

    > Interface determination based on the target field

    > value.

    The interface determination is performed before the mapping, so you can only do the interface determination based on the source.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 02, 2006 at 09:14 AM

    Hi,

    <i>However I am not able to write condition in the Interface determination based on the target field value.</i>

    the flow on message in XI is of this format,

    <b>RECEIVER DETERMIANTION --> INTERFACE DETERMINATION --> MAPPING EXECUTION.</b>

    Now, Interface determiantion is happening before mapping is ececuted and target message is produced, <b>conditional Interface and Receiver determinatuion can be done only on the basis of the source message.</b>

    regards,

    bhavesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 02, 2006 at 09:19 AM

    Hi,

    U can do the content based routing depending on the values of ur source field.U can specify the condition in the xpath.

    check out this link for Xpath

    http://www.w3schools.com/xpath/xpath_operators.asp

    regards

    jithesh

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 02, 2006 at 09:22 AM

    Hi Nagaphaneendra,

    i think you need an <a href="/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16 Receiver Determination</a>, cause usually the condition for receiver determination is on the SOURCE message values.

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 02, 2006 at 09:42 AM

    One of the steps required for "Enhanced Receiver Determination " is as given below.

    2. Now create the message mappings. In order to use the enhanced receiver determination, create a message mapping which has the target message as “Receiver Determination” in the SAP BASIS --> http://sap.com/xi/XI/System.>

    But I am not able to see "receiver determination under SAP BASIS component ???

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 02, 2006 at 11:39 AM

    If your logic is complex, you can use an XPATH string for the interface determination. Look this thread:

    conditions-in-xpath-receiver-determination

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded