cancel
Showing results for 
Search instead for 
Did you mean: 

FM/Bapi for converting timezone CST to UTC

0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

use this FM to convert time stamp.

TZ_LOCAL_TO_GLOBAL

Answers (1)

Answers (1)

FredericGirod
Active Contributor
0 Kudos