Skip to Content
0
Former Member
Jun 04, 2009 at 02:01 PM

OR Condition

20 Views

hi all,

i need to check whether for particular matnr, matkl equal to 101 or 102 or 103, if so exists need to print

else not exists need to print.

if i put the code as below the the syntax error is displaying as

Relational Operator OR is not supported

if gt_mara-matkl = '101' or '102' or '103'.

move 'exists' to gt_data-matkl.

else.

move 'not exists' to gt_data-matkl.

endif.

could anyone please help.