‎2007 May 14 4:37 PM
data dat type d.
It will accept the date in the format yyyymmdd but i want to give date in the format
ddmmyy. can anyone help me out?
‎2007 May 14 4:43 PM
Hi,
Convert the date in your program...
Ex..
DATA: V_INPUT TYPE D.
DATA: V_OUTPUT(6).
V_INPUT = SY-DATUM.
CONCATENATE V_INPUT+6(2) V_INPUT+4(2) V_INPUT+2(2) INTO V_OUTPUT.
WRITE: / V_OUTPUT.
Thanks,
Naren
‎2007 May 14 4:44 PM
hi,
chk this.
date = d.
take variables V1, V2, V3.
V1 = date+0(4).
V2 = date+4(2)
V3 = date+6(2)
Concatenate V3 V2 V1 into date.
Now, date will have DD.MM.YYYY
Thanks
Aneesh.
‎2007 May 14 4:47 PM