Skip to Content
0
Nov 29, 2019 at 06:47 AM

FM/Bapi for converting timezone CST to UTC

1210 Views

Hi Friends,

Need FM to convert timestamp from CST to UTC.

i had used below logic but it is not correct.please provide inputs.

DATA: lv_tzone TYPE tznzone VALUE 'UTC',
lv_timestamp TYPE timestamp,

CONVERT DATE sy-datum TIME sy-timlo INTO TIME STAMP lv_timestamp TIME ZONE lv_tzone.