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.

Business scenario

 

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

Image1.jpg

How do we achieve?

Step 1: We can find Interrupts in General Services 

Image1.jpg

Step 2: Create a new Process Chain and include the Interrupt Process soon after the Start Process

Image1.jpg

   Different Options in the Interrupt Scheduling

  • Immediate
  • Date/Time
  • AfterJob
  • After event
  • At operation mode
  • Factory calendar day

  Image1.jpg

Step 4: Create Event in BW, Tcode SM64 will help you to create an event in SAP BW and ECC

Image1.jpg

 

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

Image1.jpg

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

Image1.jpg

 

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

Image1.jpg

Assume Z1 is the ECC program dependent on BW process chain so include Z1

Image1.jpg

  Image1.jpg

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

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply