Skip to Content
0
Feb 11, 2015 at 10:32 AM

ABAP: Compare year parameter with date

170 Views

Dear Abap experts,

I want to compare the date with year. How can I do this. I tried this but error.

Regards,

Aneel


select pa2001~aedtm pa2001~begda pa2001~endda pa2001~abwtg pa2001~awart

from pa2001 into corresponding fields of table tvbap

where pa2001~pernr eq so_pernr and pa2001~endda+0(4) eq so_year.