Automatically Starting Customer-Defined Actions

In the SAP System, there are 2 background events ("batch events") that are triggered by tp at the beginning and/or end of an import with tp import all and with tp put :

  • SAP_IMPORT_START
  • SAP_IMPORT_STOP

You can trigger customer-defined actions automatically using the import. Define background jobs that wait for one of these events. For example, you can reschedule and unschedule other background jobs using BCTRNS1/2 .

The continuation of the import does not depend on whether these events can be successfully performed and not on whether the jobs started by these events are successfully executed. The transport control program tp triggers these events, but keeps on running.

Therefore, we recommend that you do not control any critical jobs using these events.