‎2008 Jan 25 8:06 AM
how can i convert sy-datum in to normal date format
i.e day.month.year
‎2008 Jan 25 8:11 AM
‎2008 Jan 25 8:11 AM
‎2008 Jan 25 8:11 AM
Hi,
use the function module "CONVERSION_EXIT_PDATE_OUTPUT".
this Function module will convert YYYYMMDD into DD.MM.YYYY format
hope, this will solve your problem.
‎2008 Jan 25 8:25 AM
‎2008 Jan 25 8:14 AM
use the statement
data: s_date type sy-datum,
o_date type char10.
WRITE s_date to o_date 'DD.MM.YYYY'.
now in o_date the format is as you requested
reward the points if its helpful
‎2008 Jan 25 8:18 AM
Hi, try this.
data: datum like sy-datum,
year(4),
month(2),
day(2).
datum = sy-datum.
year = datum+0(4)..
month = datum+4(2).
day = datum+6(2).