Skip to Content
avatar image
Former Member

Conditional Receiver Determination

Hi Gurus

Have a Idoc to JMS scnerio.

Am using following condition in condition Editor in Receiver Determination:

(IDOC/E1RDIH/E1RDI_BODY/E1RDID/SYMNAME = NAME1

AND IDOC/E1RDIH/E1RDI_BODY/E1RDID/SYMVALUE = 2)

Now,E1RDID is a repeating segment and SYSNAME and SYSVALUE are elements in this segment

Eg:

<IDOC>

.

.

<E1RDID>

<SYMNAME>NAME1</SYMNAME>

<SYMVALUE>1</SYMVALUE>

</E1RDID>

<E1RDID>

<SYMNAME>NAME2</SYMNAME>

<SYMVALUE>2</SYMVALUE>

</E1RDID>

.

.

</IDOC>

Problem:

The condition is working fine ,even for above example.This shouldnt be the case,I want to restrict the conditions(SYMNAME and SYMVALUE) to the same E1RDID segment.

Can this be achieved using Standard Receiver Determination or i have to use Extended Receiver Determination??

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 14, 2007 at 10:30 AM

    I think this can be achived by using X-path in your Receiver Determination.

    Probabily you have done some mistke while putting your condition.

    Kindly see the below links.

    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

    /people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object

    /people/prakash.darji/blog/2006/09/22/using-xpath-statements-within-sap-netweaver-2004s-bex-web-application-designer--part-1

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 14, 2007 at 10:39 AM

    Hi

    >>Can this be achieved using Standard Receiver Determination or i have to use Extended Receiver Determination??

    yes u can achieve this using standard receiver determination

    No need to go for Extended Receiver thats different.

    >>The condition is working fine ,even for above example.This shouldnt be the case,I want to restrict the conditions(SYMNAME and SYMVALUE) to the same E1RDID segment.

    Whatever conditon u gave is correct, it should work

    Once again u check the condition

    Yuga

    Add comment
    10|10000 characters needed characters exceeded