Skip to Content
avatar image
Former Member

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

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


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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.

    Add comment
    10|10000 characters needed characters exceeded