2018 May 31 12:29 PM
Hi All,
In standard table the date and time field are storing in same field like
31.05.2018 16:46:40.. In my requirement i wan to delete the latest records based on time and date..Before conversion routine the value is stored in lv_date1(diff format).
DELETE FROM TABLE WHERE created_by EQ sy-uname and created_at eq lv_date .
Because of conversion routine it is throwing sy-subrc = 4, this is not deleting any records..
Pleas give me suggestion to delete records based on time(greater than time).
Thanks.
Hi All,
In standard table the date and time field are storing in same field like
31.05.2018 16:46:40.. In my requirement i wan to delete the latest records based on time and date..Before conversion routine the value is stored in lv_date1(diff format).
DELETE FROM TABLE WHERE created_by EQ sy-uname and created_at eq lv_date .
Because of conversion routine it is throwing sy-subrc = 4, this is not deleting any records..
Pleas give me suggestion to delete records based on time(greater than time).
Thanks.
2018 May 31 12:34 PM
2018 May 31 12:36 PM
2018 May 31 12:45 PM
2018 May 31 12:49 PM
2018 Jun 02 3:44 PM
Hi,
Try to do the following:
Thanks and Hope this helps .
Hemant
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |