cancel
Showing results for 
Search instead for 
Did you mean: 

Time Zone Problem

Former Member
0 Kudos

Hello Everyone,

I am retrieving field value CREATED_AT from table CRMD_ORDERADM_H for particular object id and storing it inside internal table. The value which is coming into internal table and the value which is stored inside the table are different. There is a difference of 8 hrs between these two. Can anybody tell me what could be the reason.

Thanks in Advance.

Regards,

Amit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I had a similar problem. But with "now" time.

I did coding for conversion :

DATA:

l_datum LIKE sy-datlo, " Date

l_ctime LIKE sy-timlo. " Current time

l_datum = sy-datlo.

l_ctime = sy-timlo.

CONVERT DATE l_datum

TIME l_ctime

INTO TIME STAMP ls_tmp_timestamp TIME ZONE sy-zonlo.

ls_app_tmp-timestamp_from = ls_tmp_timestamp.

and when saving in CRM this date and time later it was displayed well.

Regards

Radek

Answers (0)