Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Date format

Former Member
0 Kudos
99

Hi all,

I have to pront in the below format. Can anyone advise please.

Format

YYYYMMDDHHMI

1 ACCEPTED SOLUTION

Former Member
0 Kudos
79

concatenate sy-datum and sy-uzeit into a variable ..

concatenate sy-datum sy-uzeit+0(4) into v_output .

write v_output ..

4 REPLIES 4

JozsefSzikszai
Active Contributor
0 Kudos
79

hi Suker,

you have to create an own variable and proceed like:

DATA : date(10) TYPE c.
CONCATENATE sy-datum sy-uzeit(4) INTO date.

hope this helps

ec

Former Member
0 Kudos
80

concatenate sy-datum and sy-uzeit into a variable ..

concatenate sy-datum sy-uzeit+0(4) into v_output .

write v_output ..

Former Member
0 Kudos
79

Hi,

Get the date in YYYYMMDD and time in HHMM and concatenate then both.

Thanks,

Phani Diwakar.

Edited by: MVPhani Diwakar on Jul 28, 2008 3:58 PM

Former Member
0 Kudos
79

hi check this...

data: test(14) type c .

concatenate sy-datum sy-uzeit+0(4) into test .