‎2008 Aug 25 4:05 PM
Hi all,
I just want to display the selection screen as follows.
SELECT-OPTIONS : LOW TO HIGH.
HERE : HIGH = current time.
LOW = Current time - 1 hour.
How do i make this ?
Thanks
Krupali
‎2008 Aug 25 4:12 PM
hi,
something like:
SELECT-OPTIONS : s_time FOR ...
INITIALIZATION.
s_time-sign = 'I'.
s_time-option = 'BT'.
s_time-low = s_time-high = sy-uzeit.
s_time-low = s_time-low - 3600.
APPEND s_time.hope this helps
ec
‎2008 Aug 25 4:12 PM
hi,
something like:
SELECT-OPTIONS : s_time FOR ...
INITIALIZATION.
s_time-sign = 'I'.
s_time-option = 'BT'.
s_time-low = s_time-high = sy-uzeit.
s_time-low = s_time-low - 3600.
APPEND s_time.hope this helps
ec
‎2008 Aug 25 4:13 PM
Hi
Actually ur syntex s wrong
Ex:
select-option:s_ lifnr for lfa1.
high low and all used for authority check.
Regards:
Prabu
‎2008 Aug 25 4:14 PM
‎2008 Aug 25 4:17 PM
Hi.....
It gives the times as you want...
data: g_time like sy-uzeit.
data: time1 like sy-uzeit,
time2 like sy-uzeit.
select-options: time for g_time.
INITIALIZATION.
time1 = sy-uzeit.
time2 = sy-uzeit - 3600.
time-low = time1.
time-high = time2.
append time.
clear time.Thanks,
Naveen.I