Skip to Content
avatar image
Former Member

Routing rule clarification in receiver determination

Hi guys,

I have a routing condition which says

I_ZBAPI_DL01/ZZCOMDEST = DN_XC and

I_ZBAPI_DL01/ZZCOMDEST_II = DN_08 and

I_ZBAPI_DL01/ZTIB_LFART ="ZRWO" and

contains(I_ZBAPI_DL01/ZADI_SUBSCRIBER,"JRW") and

T_ZBAPI_DL12/ZTIB_BSARK = "RBCO"

In the above case DL01 occurs only once but DL12 is 0------Unbounded.

I have written XPATH query like

/p1:Z_BAPI_DELIVERY_NOTE_OUTBOUND[ ( I_ZBAPI_DL01/ZZCOMDEST = "DN_XC" and I_ZBAPI_DL01/ZZCOMDEST_II = "DN_08" and I_ZBAPI_DL01/ZTIB_LFART = "ZRWO" and contains(I_ZBAPI_DL01/ZADI_SUBSCRIBER,'JRW') ) and (T_ZBAPI_DL12/ZTIB_BSARK = "RBCO") ]

Will this work? Or do i need to make any changes? Kindly help me on this

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    May 12, 2008 at 06:29 AM

    Hi,

    I think this query what u are configure is enough.

    Did u get any error with this configuration?

    Regards,

    pradeep A.

    Add comment
    10|10000 characters needed characters exceeded

  • May 12, 2008 at 06:35 AM

    This will work. No error. But the logic may become incorrect.

    DL12 is 0------Unbounded.

    So there could be more than one value for the field DL12/ZTIB_BSARK. In such case, it may execute once and in the other case it may go to the else part. If this suits ur logic then no problem

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded