Hi,
I have written a customer exit to populate the current system time in a formula variable in query. I have created a formula and placed this formula variable in it. So when the query is executed this variable will pull in the current time and display it in my query output.
formula 1 : time(var_nam) where var_nam is a customer exit variable.
when "var_nam".
clear l_s_range.
Data : l_time type sy-uzeit.
write: sy-uzeit to l_time.
Concatenate sy-uzeit(2) ':' sy-uzeit+2(2) ':' sy-uzeit+4(2) into l_time.
l_s_range-low = l_time.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
append l_s_range to e_t_range.
Can anyone pls tell what the issue is.
Thanks.