cancel
Showing results for 
Search instead for 
Did you mean: 

Ignore SAP PI Messages at condition editor xpath

deva_gembali2
Participant
0 Kudos

Dear Expert ,

    I am trying to stop messages those are belongs to July (as per posting date ) .

Can i use "EX" in condition editor to stop messages (ignore) ?

e.g   20150601 > 20150731 , 20150730 >20150731

   What ever posting date in message, before 20150731 , i need to ignore these messages .

Please advise me xpath condition with sample attachment (if possible).

I tried but condition is not satisfying always .

Regards,

Deva

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184720
Active Contributor
0 Kudos

In case you want to validate the complete date

http://stackoverflow.com/questions/4347320/xpath-dates-comparison

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Deva,

Assuming the posting date always comes in the format yyyymmdd, then use the below xpath expression:

/Record/Data[(Material.substring(4,6))!=07]

Regards