Skip to Content

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

SELECT-OPTIONS in WHERE condition

Hi All,


SELECT-OPTIONS : S_TCODE FOR TSTCT-TCODE.

START-OF-SELECTION.
  SELECT * FROM TSTCT INTO TABLE IT_TSTCT
           WHERE TCODE = S_TCODE.
  ...

The same code results in SYNTAX ERROR in 4.7c.

In ECC 6.0, no such error resulted, but SUBRC is 4.

Why is it like this in ECC 6.0?

Regards,

R.Nagarajan.

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question