02-17-2006 12:38 PM
Hi all,
date is like sy-datum.
i want the date value should be 01.01.2006.
i want to take the year only year in the the date and month and day should be 01 and 01.
ex: date = 01.01.2007( if the current year is 2007)
please help me.
02-17-2006 12:40 PM
Hi
DATA DATE LIKE SY-DATUM.
CONCATENATE SY-DATUM(4) '0101' INTO DATE.
Max
02-17-2006 12:40 PM
Hi
DATA DATE LIKE SY-DATUM.
CONCATENATE SY-DATUM(4) '0101' INTO DATE.
Max
02-17-2006 12:45 PM
hi sai
use FM CONVERT_DATE_TO_EXTERNAL
and then you can editmask the output to your format
Santosh
02-17-2006 12:50 PM