Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data: l_idx like sy-tabix.
- read table l_t_range with key
- fieldname = 'CREATION_TIME'.
- l_idx = sy-tabix.
- data: Start__Time type sy-uzeit.
- data: End__Time type sy-uzeit.
- *Sets time to zero for four hours
- If sy-uzeit < 14400.
- Start__Time = 0.
- * Number of seconds in a day, minus 1
- End__Time = 86399.
- Else.
- Start__Time = sy-uzeit - 14400.
- End__Time = sy-uzeit.
- Endif.
- l_t_range-sign = 'I'.
- l_t_range-option = 'BT'.
- l_t_range-low = Start__Time.
- l_t_range-high = End__Time.
- modify l_t_range index l_idx.
- p_subrc = 0.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement