Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger zprogram when an lines inserted or update or deleted in HANA table ( NOT a Standard table)

former_member383962
Participant
0 Kudos

Hello Experts,

In our system we are performing SLT, and the data is stored in a table under xxx schema.

I want to execute ZPROGRAM in a ABAP, whenever the data is inserted or updated or deleted in a SLT table.

Is it Possible...??

Thanks in advance..

2 REPLIES 2

Florian
Active Contributor
0 Kudos

There are several options there. Easiest one is to have a job which looks into the table in a specific timerange and do it for you.

But you haven't specified it that much, so this is a possible solution to the question.

juan_suros
Contributor

Here's an idea:

  1. Set up a batch job in SM37 to run your zprogram but do not set a scheduled time for it to run
  2. Define AFTER INSERT/DELETE/UPDATE triggers on your database table
  3. Use the triggers to modify TBTCO-SDLSTRTDT and TBTCO-SDLSTRTTM in the zprogram step of your batch job to make SAP run the report

Might work, might not. It would be a fun technique to try.