cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between equals, equalsS, equalsA

Former Member
0 Kudos

Please give me clear usage of these functions.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

equals is a boolean function to compare two boolean variables.

equalsS is to compare two Strings.

Check this link:

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm

Regards,

Ravi Kanth talagana

Answers (3)

Answers (3)

GabrielSagaya
Active Contributor

equalsA Function available in Arithmetic function

R = true, if value X equals value Y, otherwise R = false. The values are interpreted numerically, therefore the value 1.5 is the same as 1.50.

equals Function available in Boolean Function

Compares both Boolean values X and Y and returns true if both are equal, otherwise false. Non-Boolean values are interpreted as false (see above).

Use the functions equalsS or compare from the Text category to compare strings.

equalsS Function available in Text Function

R = true, if string X equals string Y, otherwise R = false

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

Former Member
0 Kudos

Thanks guys

Former Member
0 Kudos

Hi,

Equals

Compares both Boolean values X and Y and returns true if both are equal, otherwise false. Non-Boolean values are interpreted as false (see above).

Use the functions equalsS or compare from the Text category to compare strings.

equalsS

Used to compare Strings

R = true, if string X equals string Y, otherwise R = false

Regards

Seshagiri