Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Syntax Error: "CS" is not a valid comparison operator.

Hi,

I am using the following query

select bukrs hkont augdt augbl zuonr gjahr

belnr buzei xblnr budat wrbtr

from bsis

into table ts_bsis

where bukrs eq p_bukrs and

hkont eq p_hkont and

zuonr cs p_ebeln and

budat in p_budat and

blart eq c_we.

I am receiving an syntax error:

"CS" is not a valid comparison operator.

Can I use this way or not ?

I need this because ZUONR is of 16 characters and it contains PO number(10) and PO item(6) combined.

So on the selection screen if user specifies PO number range, then he should be able to get the ones that are in match.

Any other solutions are welcome.

Thank you,

Surya

Message was edited by:

Surya

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question