‎2010 Dec 27 6:48 AM
Hi ,
I have written select query like this.
SELECT * FROM rsdodso INTO TABLE gt_rsdodso
WHERE odsobject CA s_obj-low.
then I am getting error 'CA is not a valid comparison operator'.
Would you please suggest me how to use Comparison operators.
Regards,
K.krishna.
Moderator Message: Basic Post. Thread Locked. Points unassigned.
Edited by: kishan P on Dec 27, 2010 1:07 PM
‎2010 Dec 27 6:54 AM
Hi,
Use 'IN' and not CA. You cannot use CA in where clause. Write CA in if .. endif.
SELECT * FROM rsdodso INTO TABLE gt_rsdodso
WHERE odsobject IN s_obj.
if gt_rsdodso-ODSOBJECT CA '0D_FC_D01'.
endif.
Regards,
Srini.
Moderator Message: Do NOT answer basic questions.
Edited by: kishan P on Dec 27, 2010 1:07 PM
‎2010 Dec 27 6:59 AM
‎2010 Dec 27 7:01 AM
Hi,
The 'Contains' Comparision Operators are not supported on selects if you press F1 on select you should be able to find the list of operators supported. I am not sure of what your requirement is but may be you can use the 'LIKE' to fulfill it.
Regards,
Himanshu