cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM/Bapi for converting timezone CST to UTC

Former Member
0 Kudos
2,765

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)

Former Member

use this FM to convert time stamp.

TZ_LOCAL_TO_GLOBAL

Answers (1)

Answers (1)

FredericGirod
Active Contributor
0 Kudos