Skip to Content
author's profile photo Former Member
Former Member

Raise event using FM 'BP_EVENT_RAISE'

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2012 at 06:16 AM

    Solved the issue. Because of the fact my job was a dummy job and was not selecting any data that is why multiple batch jobs were called for periodic job... I have written some piece of code so that event calling takes some time and problem is solved. Or else we can write some code for wait for some seconds after the event is called.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.