cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Determination conditions

Former Member
0 Kudos

Hi All

We have a scenario where a IDOC is trigerd in the ecc system and multiple IDOC is send to the XI system. Only when a certain field is 3 char or 5 char or 7char long should the file be dumped on the server. Is is possible to have a condition in the receiver determination to say if the field is between 100 and 999 or between 10000 or 99999 or between 1000000 and 9999999 to only create the files?

Any help will be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thx for the replies.

This is my XPATHS it still creates the files even if the field is 9 char long?

(/CLSMAS04/IDOC/E1KLAHM[CLASS > 100] EX ) OR (/CLSMAS04/IDOC/E1KLAHM[CLASS < 999] EX )

(/CLSMAS04/IDOC/E1KLAHM[CLASS > 1000000] EX ) OR (/CLSMAS04/IDOC/E1KLAHM[CLASS < 9999999] EX )

(/CLSMAS04/IDOC/E1KLAHM[CLASS > 10000] EX ) OR (/CLSMAS04/IDOC/E1KLAHM[CLASS < 99999] EX )

any Ideas?

Shabarish_Nair
Active Contributor
0 Kudos

did u chk the multiline option in the condition editor?

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

Thx the problem was solved thx for the help

Shabarish_Nair
Active Contributor
0 Kudos

hi,

Its quite easy to achieve this requirement.

You can edit the xpath in the Recv. Determination and then in combination with xpath standard functions achieve this.

have a lo0k at my blog -

Also for xpath functions ref: http://www.w3schools.com/Xpath/xpath_functions.asp

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

use can use condition in Receiver Determination, look this blog

SudhirT
Active Contributor
0 Kudos

Hi,

For that you can use the pattern function EX of receiver determination

will look like

\segment\ [field > 100]   EX    and
\segment\ [field < 999]   EX

Thanks!