Skip to Content
0
Former Member
Sep 17, 2005 at 07:00 AM

or keyword

17 Views

Hi All,

Is there a keyword OR in abap. i want to check whether a variable A has a value 01 or 02 then i need to do one thing, if its value is 03 or 04 i need to do one thing

? what is the statement for it?

data: A(2) type n.

if A = '01' or '02' then .....

else A = '03' or '04' then ...

will it work.