‎2008 Jun 12 4:16 PM
Hi,
Could anybody assist me, the date format is like 20080519, but it should be in the format of 19.05.2008.Is there any function module .
Thanks in advance.
Regards.
I.Reddy Prasad.
‎2008 Jun 12 4:18 PM
‎2008 Jun 12 4:19 PM
date:
g_date type sy-datum,
g_date1(10) type c.
g_date = sy-datum.
write g_date to g_date1.
‎2008 Jun 12 4:21 PM
Use FM CONVERSION_EXIT_D3DAT_OUTPUT
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jun 12, 2008 11:55 AM
‎2008 Jun 12 4:21 PM
Hello.
Try this:
DATA: l_in TYPE dats,
l_out TYPE CHAR 10.
l_in = sy-datum.
WRITE l_in TO l_out DD/MM/YYYY.
Regards.
Valter Oliveira.
‎2008 Jun 12 4:21 PM
change your settings in user profile ...
system>user profile>own data
and in defaults tab .. change your date format to
DD.MM.YYYY ...
in your program ...
data : v_date(10).
write sy-datum to v_date.
v_date contains date in dd.mm.yyyy format ...
‎2008 Jun 12 4:23 PM
‎2008 Jun 12 4:26 PM