Skip to Content
0
Former Member
Dec 18, 2012 at 02:58 AM

Raise event using FM 'BP_EVENT_RAISE'

887 Views

Hello,

I am raising one event in a program and passing that event name in a batch job so that batch job will run when program is run.

I have followed the same steps as mentioned in this blog :

http://wiki.sdn.sap.com/wiki/display/ABAP/Scheduling+background+job+by+triggering+an+event

My issue is :

When i run the program batch job runs for one time. But when the next time i run that program batch job is not executed.

That is because no batch job is in scheduled/released status.

For this i tried checking the option of periodic job but after this the batch job continues to run infinite and i had to delete my program to stop that batch job.

My requirement is every time i execute the program in which i have used BP_EVENT_RAISE one batch job should be triggered.

I am not able to achieve this . Please help.

Regards

Gaurav Ranjan