cancel
Showing results for 
Search instead for 
Did you mean: 

Routing rule clarification in receiver determination

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I think this query what u are configure is enough.

Did u get any error with this configuration?

Regards,

pradeep A.

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

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

Former Member
0 Kudos

As you said if i want to check record by record in DL12 how can i go about that?

Kindly confirm

prateek
Active Contributor
0 Kudos

The receiver determination will automaticaaly read record by record. No additional configuration is required for that

Regards,

Prateek