Skip to Content
0
Former Member
Sep 20, 2008 at 02:08 PM

Problem in comparing a character variable to date value.

22 Views

Hi All,

I have a scenario where I am comparing a variable of type c with a database field which is a date.Now the comparison is failing though it should not.I can't change the variable because I am capturing that from Line selection ie through get cursor.

So is there any FM or any other way through which i can change this value to database field value type.

Also variable has date in format 17.12.207 where as in table it is stored as 20071217 i.e YYYYMMDD.

Thanks in Advance,

Saket.