Skip to Content

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

Dec 05, 2016 at 04:22 AM


avatar image
Former Member

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


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Jun 27, 2017 at 12:51 AM

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.

10 |10000 characters needed characters left characters exceeded