Skip to Content
Former Member
Jan 22, 2008 at 06:57 AM

Comparing with sy-datum?????



I have got a select option which i have given the type sy-datum. Now in the code i have to check whether user has selected current date. for ex

p_Date for sy-datum.

now in the code i compare if (p_date = sy-datum)

I am facing a problem here, the format of p_date and sy-datum is different.

Suppose i selected todays date from select screen p_date value is shown as IE2000801220000000

and sy-datum value is 20080122. Due tro this the check condition fails. Please advice how to overcome this?