abapsap-crm

Wrong Time in Change Documents (Data Element)


I created Data element ZDT_NKS_DESCR and flagged Change Document when creating for logging the changes on WebUI table. Everything is good, but the time of changing logging wrong. It adds +3 hours to current time.

For example: if the current time is 10:00 it's logging 13:00 on Web UI.

How can I fix it? Can anybody explain what happens?

Here is my data element (NB: in fact I ticked the "Change Document" checkbox later on):

Flagged the red zone in Data Element Setting

Here is the change logging on Web UI table, the time should be 9:48, 9:48, 9:45 :

Change logging on Web UI table. The time should be 9:48, 9:48, 9:45

P.S: On Web UI timezone is correct.


Solution

  • In ABAP-based softwares, many screens display the dates using the SAP system time unfortunately (that's been always a big problem). Some modules sometimes display the local time (according to user's time) or according to the local time of the partner (transportation modules for instance). So users have to learn for every module or every screen what kind of date/time it is.

    Even in database tables, it's impossible to be sure what kind of date/time it is. Usually it's the system time. But some modules may store the date/time according to UTC.

    I guess that the times of the change documents are displayed in the system time.

    The system time can be seen via the classic SAP GUI, in the menu System > Status > System time.