‎2007 Aug 08 10:24 AM
Hello,
Please go through the below code.
data: gv_convert_date type d value '20070801',
gv_convert_time type t value '240000',
gv_system_timezone type tznzone value 'CET',
gv_dtstamp type timestamp.
convert date gv_convert_date time gv_convert_time
into time stamp gv_dtstamp time zone gv_system_timezone.
check sy-subrc is initial.If I use gv_convert_time as 23:50:00 instead of 24:00:00 it returns
sy-subrc as zero.
In the case 24:00:00 it gives sy-subrc value as 12.
‎2007 Aug 08 10:27 AM
try to use 00:00:00 instead of 24:00:00, it will work,
SAP uses time stamp starting from 00:00:00 to 23:59:59, so there is no 24:00:00
Message was edited by:
Tripat Pal Singh
‎2007 Aug 08 10:36 AM
use 00:00:00 instead of 24:00:00.....ur problem wiil be solved