Skip to Content
author's profile photo Former Member
Former Member

Avoid deletions in tables to be captured by the SLT trigger

Hi

We have a case where there is a job archiving MSEG entries which generates massive deletions in table MSEG (more than 100 million records), and using the tips here on SDN, we can avoid these deletions to be transferred to HANA via some code in SLT.

However, it would be preferred if the trigger, that SLT apply to the source table, could totally ignore any deletions taking place on the table, but as standard I can not change the trigger to exclude deletions.

When I view the trigger code from Expert Functions I can choose to ignore the DELETE part.

I am able to apply a WHERE clause in the trigger, but I would like to know if it somehow is possible to remove the part of the trigger that collects all the DELETE statements into the logging table.

I really appreciate your input.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 17, 2015 at 12:02 AM

    Hi Leo,

    May be this link will help you.

    http://scn.sap.com/thread/3387446

    Look in option 1 provided by Tobias Koebler.

    You can delete the triggers that you do not wish to flow into SLT.

    Regards,

    Ravi.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.