Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Expression

Former Member
0 Likes
23,556

Hi.

Pls explain following expressions eq, ne, ge, gt, le, lt, cp, or np ,nb.

To be reward all helpfull answers.

Jay

9 REPLIES 9
Read only

Former Member
0 Likes
3,604

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

Read only

Former Member
3,604

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

Read only

Former Member
0 Likes
3,604

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

Read only

former_member404244
Active Contributor
0 Likes
3,604

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

Read only

Former Member
0 Likes
3,604

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

Read only

0 Likes
3,604

HI.

pls explain with example for.

CP = contains pattern

NP = not contains pattern

Regards.

Jay

Read only

Read only

Former Member
0 Likes
3,604

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

Read only

Former Member
0 Likes
3,604

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.