‎2008 Jul 21 6:12 PM
Hi Guys,
I have Sy-datum "20080721" i need to convert this date to "07212008" with out any separator.
Could you please any one slove this issue.
Thanks,
Gourisankar,
‎2008 Jul 21 6:16 PM
‎2008 Jul 21 6:18 PM
Could you please provide some sample EDIT MASK coding, i don't have any idea how to use that.
‎2008 Jul 21 6:17 PM
Hi,
HAve u tried this either CONVERSION_EXIT_PDATE_INPUT
I give 16.05.2008 and get 20080516 as output.
If not you can use the offsets
Date+4(4)
date+2(2)
date+0(2)
Hope it helps.
Thanks & Regards,
Nagaraj Kalbavi
‎2008 Jul 21 6:17 PM
DATA: DATE TYPE STRING.
CONCATENATE SY-DATUM+6(2) SY-DATUM+4(2) SY-DATUM+0(4)
INTO DATE.
Greetings,
Blag.
‎2008 Jul 21 6:20 PM
data : date1 like sy-datum,
date(8).
date1 = sy-datum.
concatenate date14(2) date16(2) date1+0(4) into date.
write : date.
‎2008 Jul 21 6:21 PM
Hi Gouri,
Try the following:
data:
w_date type sy-datum,
w_date1 type sy-datum.
day = w_date+6(2).
month = w_date+4(2).
year = w_date(4).
concatenate day month year into w_date1.
Hope this helps you.
Regards,
Chandra Sekhar