03-17-2008 9:57 AM
Hi,
Is there any standard function module to convert the date values from DEC (15) to DATS (8), for example i have a date value as 20,070,201,080,452, how to convert this to a value 02/01/2007.
Thanks
Akila.R
03-17-2008 10:01 AM
Hi,
please follow the link below
http://msdn2.microsoft.com/en-us/library/cc185537.aspx
http://abaplog.wordpress.com/2007/02/
please reward points if helpful
03-17-2008 10:02 AM
03-17-2008 10:15 AM
Hi,
Here is the sample code ,
DATA: N1(15) TYPE N VALUE 20070201080452,
D1 TYPE SY-DATUM.
MOVE N11(4) TO D10(4).
MOVE N15(2) TO D16(2).
MOVE N17(2) TO D14(2).
WRITE:/ D1.
Thanks,
Arunprasad.P
Reward if useful.