Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

date comparision in select.

Former Member
0 Kudos

I want to check date comparision using select query

DATA : IMPODAY TYPE SY-DATUM.

IMPODAY ='20050117'.

SELECT * FROM ZMW0001 INTO TABLE SDYN_ITAB WHERE IMPORTDAY = IMPODAY.

I have declared importday as DATS type in table.

how to compare.? its not working.

Chandra kumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I know this is a silly question, but does ZMW0001 has an entry for IMPORTDAY - '20050117'.

Is sy-subrc = 4, after executing the query ?

Regards,

Subramanian V.

2 REPLIES 2

Former Member
0 Kudos

I know this is a silly question, but does ZMW0001 has an entry for IMPORTDAY - '20050117'.

Is sy-subrc = 4, after executing the query ?

Regards,

Subramanian V.

0 Kudos

Hai

i have solve this problem.

thanks