2007 Mar 03 8:45 AM
Hello,
I have small problem please help..
i have a date in the file as 20070321 and i have convert this in to MM/DD/YYYY format before updating in to the system.
please help me how to convert this.
2007 Mar 03 9:05 AM
Hi,
data: v_date(8) type c,
v_date1 type string.
v_date = 20070321
concatenate v_date4(2) '/' v_date6(2) '/' sy-datum+0(4) into v_date1.
Regards,
Sruthi
2007 Mar 03 9:05 AM
Hi,
data: v_date(8) type c,
v_date1 type string.
v_date = 20070321
concatenate v_date4(2) '/' v_date6(2) '/' sy-datum+0(4) into v_date1.
Regards,
Sruthi
2007 Mar 03 9:22 AM
2007 Mar 03 9:14 AM
hi Venki,
Use this logic:-
DATA: v_date TYPE string,( declare 2 variables as string)
v_date1 TYPE string.
v_date = 20070321.
CONCATENATE v_date4(2) '/' v_date6(2) '/' v_date+0(4) INTO v_date1.
WRITE: v_date.
WRITE: v_date1.
Regards
Avi