Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

Linking Background job and background event

$
0
0

Hello Everyone,

 

I would like to share my knowledge on how to create a background job and call it using a background event from the abap program. I have provided the steps and screen shots in the document.

 

Creating a Background Event

  1. Go to SM64 Transaction.
  2. Click on create button.
  3. Enter the Event Name and a Description.
  4. Save it.

Event is now created.

Refer screenshots below.

 

5.JPG4.JPG

 

Creating a background Job and calling it using the Background Event from the ABAP program

Creating an ABAP program

  1. Go to SE38.
  2. Create a program and a variant.
  3. Call the background event using the function module ‘RP_EVENT_RAISE’ in the abap program.

Now create a background job.

  1. Go to SM36.
  2. Enter the job name and click on start condition.
  3. In the pop up window click on ‘AFTER EVENT’
  4. Enter the event name and click on SAVE.
  5. Now click on the ‘STEP’ from the background job window.
  6. Enter the name of the abap program and the Variant name of the program.
  7. Click on SAVE.
  8. Refer the below screen shots.

 

3.JPG

 

1.JPG

 

 

2.JPG

 

 

 

 

 

Thanks & Regards,

Santhosh A


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>