09-10-2007 1:04 PM
Hi friends,
i want to use timestamp in my report.
i have data type TIMESTAMP
having the domaine TZNTSTMPS.
how to use this in my report.
plz any body guide me.
Thanks & Regards,
Lakshmi..
09-10-2007 1:06 PM
pretty simple.. chek this out..
report zptest21 .
data:
s_tst type timestamp,
l_tst type timestampl,
tzone type timezone.
get time stamp field s_tst. "short form
get time stamp field l_tst. "long form
tzone = 'UTC '. "time zone
write: / s_tst time zone tzone,
/ l_tst time zone tzone.
Regards,
Arya
09-10-2007 1:50 PM
Hi Arya,
the output for the time stamp should be as YYYYMMDD_HH:MM:SS
plz suggest me
09-10-2007 1:09 PM
Hi,
the output for the time stamp should be as YYYYMMDD_HH:MM:SS
plz suggest me
09-10-2007 1:55 PM
then why do you need the Timestamp?
do like this..
data: w_time type string.
concatenate sy-datum sy-useit into w_time
separated by '_'.
write: / w_time.
Regards,
Arya
09-21-2007 7:05 AM
09-21-2007 7:10 AM
hi
stringleft(Repeater_0.Output{/Row/pdate},10) data format with date time and min
this is also use ful for u