cancel
Showing results for 
Search instead for 
Did you mean: 

Xpath expression in Receiver Determination

Former Member
0 Kudos

Hi All,

I have a condition where i need to check if WERKS is containg any value starting with IT , then i need to send this IDOC to the target.

I tried to used the following expression \MARCM\WERKS = IT* in RD , but its not workin when i am sending an IDOC with value as IT03 or other values startign with IT .

Any idea how to deal with such an issue...

Regards

Vinay P.

Accepted Solutions (1)

Accepted Solutions (1)

former_member854360
Active Contributor
0 Kudos

Hi,

Please use contains pattern (~) instead of =

ORRRRRRR

Use XPATH substring function then use EX (exist)

(/MARCM[substring(WERKS,1,2)='IT'] EX )

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Instead of

\MARCM\WERKS = IT*

Use

\MARCM\WERKS ~ IT*  

[dobule(~)]

double(~)

for your help

http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination

regards

Ramesh