cancel
Showing results for 
Search instead for 
Did you mean: 

XI 3.0: XPath check blank condition

Former Member
0 Kudos

Hi

How can i check using XPath that a string value is empty?

Does anybody knows the rigth syntax to use in the condition editor?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Alessandro,

You can use Xpath Functions, go through this link:

http://help.sap.com/saphelp_nw04/helpdata/en/92/af463c36a30319e10000000a114084/frameset.htm

Thanks & Regards,

Varun Joshi

Answers (2)

Answers (2)

Former Member
0 Kudos

Simple Alessandro, in your XPATH conditions editor, mention the String Field in the Left operand, and in the 'Op' tab choose EX or =.

So assuming your field name is 'target' your XPATH will be like

(target EX)

(target = ")

If the target exists that means the string has some value. or u can use the second technique of assigning a blanks space

cheers

Sameer

udo_martens
Active Contributor
0 Kudos

Hi Alessandro,

path=''

Regards,

Udo