10-16-2006 10:06 AM
Hi SDN's,
Can any one specify a function module which converts the date format from 20061010 to 10.10.2006
Urgent, please help
Thanks in advance
Pratyusha
10-16-2006 10:09 AM
Hi
Please declare variable as sy-datum
ws_date type sy-datum.
move the date to this variable
write ws_date.
Also please check FM
CONVERSION_EXIT_PDATE_OUTPUT
Message was edited by: Dominic Pappaly
10-16-2006 10:07 AM
Hello Usha,
<b>DATA: LV_DATUM(10).
Use WRITE SY-DATUM to LV_DATUM</b>
wirte: lv_datum.
if useful reward.
Vasanth
10-16-2006 10:08 AM
Hi pratya,
1. we can do this directly also
2. data : d(10) type c.
write mydate to d.
regards,
amit m.
10-16-2006 10:09 AM
Hi
Please declare variable as sy-datum
ws_date type sy-datum.
move the date to this variable
write ws_date.
Also please check FM
CONVERSION_EXIT_PDATE_OUTPUT
Message was edited by: Dominic Pappaly
10-16-2006 10:14 AM
10-16-2006 10:17 AM
Hello,
declare a variable of type date format,
DATA: d type sy-datum.
d = '20061010'.
write: / d.
Regards,
Shehryar
10-16-2006 10:19 AM
Thnaks Dominic for the help.
And Thanks to all for ur replies
Regards
Pratyusha