time stamp => Date & Time
data: lv_zonsuz like sy-zonlo.
data: lv_date like sy-datum.
data: lv_time like sy-uzeit.
DATA lv_tstamp TYPE timestampl.
GET TIME STAMP FIELD lv_tstamp .
clear lv_zonsuz.
convert time stamp lv_tstamp time zone lv_zonsuz
into date lv_date time lv_time.
"+2 +3
convert time stamp lv_tstamp time zone sy-zonlo
into date lv_date time lv_time.
parameters: p_bastar type sy-datum default sy-datum,
p_sontar type sy-datum default sy-datum.
parameters: p_basst type sy-uzeit default `000000`,
p_sonst type sy-uzeit default `235959`.
data: lv_start type timestampl.
data: lv_end type timestampl.
convert date p_bastar
time p_basst
into time stamp lv_start time zone sy-zonlo .
convert date p_sontar
time p_sonst
into time stamp lv_end time zone sy-zonlo .
lv_end = lv_end + `0.9999999`.