cancel
Showing results for 
Search instead for 
Did you mean: 

SLT Replication from ECC to HANA - Looking to add Update and Insert time stamp fields to target

Former Member
0 Kudos

Looking for help to add 2 time stamp (update_ts, insert_ts) fields to Target and update both based on Trigger status.

How to define the rule in Advanced replication settings - how can we access the trigger status in Advanced replication settings

Thank you

MURALI

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Murali

You can add the update/insert time stamp using ABAP include .

  1. Use T-code LTRS
  2. Chose your configuration
  3. Advance Replication Settings
  4. Chose Rule Assignment
  5. Add Desire table ( Example MARA)
  6. Chose Rule Type ( Event Related)
  7. Assignment Target ( beginning of record)
  8. Add Include

Now place the code something like below for your Table ( Example is MARA)

***Update date and time to records ***

<wa_r_mara>-zslt_update = sy-datum.

<wa_r_mara>-zslt_uptime = sy-uzeit.

CONCATENATE sy-datum sy-uzeit INTO <wa_r_mara>-zslt_uptimest.