Skip to Content

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

Native SQL - where condition .

Hi All,

This is my code :

SELECT-OPTIONS: P_KUNAG FOR VBRK-KUNAG,

P_PRSDT FOR SY-DATUM .

EXEC SQL .

SELECT PRSDT, MATNR, KUNAG

INTO :ITAB

FROM ZXXXXXXXX

WHERE KUNAG ( BETWEEN :P_KUNAG-LOW AND :P_KUNAG-HIGH ).

AND PRSDT ( BETWEEN :P_PRSDT-LOW AND :P_PRSDT-HIGH ) .

ENDEXEC.

I want values from p_kunag between (from , to ) of select options .

Thanks

Vivek.

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