Application Development and Automation 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: 
Read only

Date format

Former Member
0 Likes
684

Hi all,

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

Format

YYYYMMDDHHMI

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
664

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
Read only

JozsefSzikszai
Active Contributor
0 Likes
664

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

Read only

Former Member
0 Likes
665

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

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

write v_output ..

Read only

Former Member
0 Likes
664

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

Read only

Former Member
0 Likes
664

hi check this...

data: test(14) type c .

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