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

FM/Bapi for converting timezone CST to UTC


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.