‎2008 Feb 26 9:15 AM
Hi.
Pls explain following expressions eq, ne, ge, gt, le, lt, cp, or np ,nb.
To be reward all helpfull answers.
Jay
‎2008 Feb 26 9:18 AM
EQ = equal
NE = not equal
GE = greater or equal
GT = greater than
LE = less or equal
LT = less than
CP = contains pattern
NP = not contains pattern
‎2008 Feb 26 9:19 AM
hi
=, EQ: Equal to
<>, NE: Not equal to
>, GT: Greater than
<, LT: Less than
>=, GE: Greater than or equal to
<=, LE: Less than or equal to
‎2008 Feb 26 9:20 AM
Hello,
GT = greater than
LE = less or equal
LT = less than
CP = contains pattern
EQ = equal
NE = not equal
GE = greater or equal
Thanks,
gunjan
‎2008 Feb 26 9:22 AM
Hi
ne ->NOT EQUAL TO (<>)
ge ->GREATER THAN EQUAL TO (>=)
, gt->GREATER THAN (>),
le(LESS THAN EQUAL TO (<=),
lt (LESS THAN (<),
cp (CONTAINS PATTERN),
NP not contains pattern
Regards,
Nagaraj
‎2008 Feb 26 9:22 AM
Hi,
EQ(=)
NE(<> or ><)
LT(<)
LE(<=>)
GT(>)
GE(>=)
CO -
Contains only
CN-------Contains not only
CA-------Contains Any
NA-------Contains not any
CS-------Contains String
NS-------Contains Not string
CP = contains pattern
NP = not contains pattern
Regards,
Priya.
Edited by: priyadharshini veluswamy on Feb 26, 2008 10:23 AM
‎2008 Feb 26 9:34 AM
HI.
pls explain with example for.
CP = contains pattern
NP = not contains pattern
Regards.
Jay
‎2008 Feb 26 9:45 AM
Hi,
check the below link
http://help.sap.com/saphelp_webas620/helpdata/en/fc/eb3516358411d1829f0000e829fbfe/content.htm
Regards,
Nagaraj
‎2008 Feb 26 9:24 AM
Relational Operators:
eq - Equal To
ne - Not Equal To
ge - Greater than equal to
gt - Greater than
le - Less than equal to
lt - Less than
cp - covers pattern - True, if the content of operand1 fits the pattern in operand2. Wildcard characters can be used for forming the operand pattern, where "" represents any character string, and "+" represents any character. Upper/lower case is not taken into account. If the comparison is true, sy-fdpos contains the offset of operand2 in operand1, whereby leading wildcard characters "" in operand2 are ignored if operand2 also contains other characters. If the comparison is false, sy-fdpos contains the length of operand1.
np - No patten - True, if a logical expression with CP is false, that is, if operand1 does not fit the pattern operand2. If the comparison is false, sy-fdpos contains the offset of operand2 in operand1, whereby leading wildcard characters "*" in operand2 are ignored if operand2 also contains other characters. If the comparison is true, sy-fdpos contains the length of operand1.
Thanks
Vijay
PLZ reward points if helpful
‎2008 Feb 26 9:25 AM
HI,
Comparison operators like EQ,NE,LT,LE,GT,GE are used
for comparing all field types.
Special operators like CO,CN.CA,NA,CS,NS,CP and NP are used for comparing strings.
Regards,
Priya.