10-14-2008 4:49 PM
Hi All,
Is there any FM that will convert a date yyyymmdd to words. i.e. 20080101 to January 1, 2008?
Please help tnx!!!
Regards,
Mark
10-14-2008 5:18 PM
Hi,
Try this Function module,
CONVERSION_EXIT_LDATE_OUTPUT
Regards
Bala krishna
10-14-2008 4:56 PM
Hi,
Do you need a FM to do this. I think you can do it using a code of your own.
Example :
data : w_date type sy-datum,
w_mon(2) type c,
w_date1(15) type c.
w_date = sy-datum.
w_mon = w_date+4(2).
w_date10(2) = w_date6(2) " Assigns the date
w_date17(4) = w_date0(4) " Assigns the year
Case w_mon.
when '01'.
w_date1+3(3) = 'Jan'.
when '02'.
w_date1+3(3) = 'Feb'.
...
...
..
When '12'.
w_date1+3(3) = 'Dec'.
So when date is today : 20081014
It will show 14 Oct 2008
Hope it helps,
Regards,
Pramod
10-14-2008 5:03 PM
there are functions to do that
check this function
CONVERSION_EXIT_SDATE_OUTPUT
10-14-2008 5:18 PM
Hi,
Try this Function module,
CONVERSION_EXIT_LDATE_OUTPUT
Regards
Bala krishna
10-14-2008 5:22 PM