11-18-2005 3:35 AM
11-18-2005 3:44 AM
11-18-2005 3:51 AM
Hi Venkat,
I want to assign MM/DD/YYYY foramt to another variable. So is there is any function is available otherwise how to convert apart from using write statement.
Thanks,
Senthil
11-18-2005 3:58 AM
Senthil ,
You can also try this
Date = YYYYMMDD
Concatenate date4(2) / date6(2) / date(4) into Date2.
Cheers
Raghava
12-01-2015 7:10 AM
Hi,
you should need to use '+' sign in the concatenate date else it throws an error.
11-18-2005 4:00 AM
data : l_date(10) type c .
concatenate sy-datum6(2) '/' sy-datum4(2) '/' sy-datum(4) into l_date.
write : l_date.
11-18-2005 4:05 AM
hi,
tri with this function module
data :l_date(10) type c
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
DATE_INTERNAL = SY-DATUM
IMPORTING
DATE_EXTERNAL = l_date.
this function module converts date from 20050601 to external format which is specified in user profile
cheers,
sasi
07-06-2022 10:00 AM