What is interrupts?
Interrupt is a process type which is used in the process chains to trigger the chain after completion of specific steps either in BW any other source system. Interrupts are very helpful in automating the batchprocess in BW in case you don’t have any third party scheduler.
I am considering a classic example where we have SAP BWextracting data from SAP R3 (ECC) and assuming the batch process chains have to wait until the data pre-calculations and dependent business processes are complete in Source system
How do we achieve?
Step 1: We can find Interrupts in General Services
Step 2: Create a new Process Chain and include the Interrupt Process soon after the Start Process
Different Options in the Interrupt Scheduling
- After event
- At operation mode
- Factory calendar day
Step 4: Create Event in BW, Tcode SM64 will help you to create an event in SAP BW and ECC
Step 5: In my scenario I am using an event based trigger so that when an ECC job is complete event is triggered which in turn
triggers the BW process chain
So I will make use of this even in the process chain and ECC program
Step 6: To trigger an event in BW from ECC you will need a program for event raise (We have a custom program available so
I am making use of the same program here)
Tcode Se38 >Even raise Program > Maintain variant as Z_TEST which was created earlier
Step 7: Create a Job in ECC using Tcode SM36 and include the program which need to be scheduled followed by an event and
schedule this job as per the business needs
Define the background Job
Assume Z1 is the ECC program dependent on BW process chain so include Z1
Step 8: If you ECC job is scheduled daily at 8PM then the BW PC should also be scheduled at the same time. Once the ECC jobcomplete it will trigger the event which will in turn trigger the BW event