gwa_timeevent-ldate = gwa_tks_sap-event_date. " Log Date
gwa_timeevent-ltime = gwa_tks_sap-event_time. " Log Time
IF gwa_tks_sap-terminal_id EQ gc_09.
gwa_timeevent-erdat = gwa_tks_sap-event_date.
ELSE.
gwa_timeevent-erdat = gwa_tks_sap-date_created.
ENDIF.
gwa_timeevent-ertim = sy-uzeit.
Is this piece of code is correct? GWA_TKS_SAP is workarea which holding Custom table value. If Terminal is 9 it is passing Log date as created date else it is passing created date which stored in Z table. terminal 9 entries are marked as P60 (information) entries. What it means?
Log date is passing ERDAT the time should also pass as Log time right?