Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger event after background job completes !

Former Member
0 Kudos

Hi fellow SDNers,

I have 2 questions actually, but related to same thing, so posting here only...

Q1) suppose i have a job scheduled by a given FROM and TO time in SAP R/3 SYSTEM

now if i want that after completion of this job(backgroud).. an event should get triggered (automatically)..NOT BY SM64 then what stpes need to be taken..

Q2) once event is triggered...(IF i get the solution).. this should invoke another event in SAP APO side, which would then result in running of background job scheduled.

i can do this part, how to run the background scheduled job..but problem is in gtting event triggerd...

should we be using RFC ??

please give me step by step procedure..

would be thankful for the same...

revert back, if my question is not clear...

thanks

Rohan

5 REPLIES 5

Former Member
0 Kudos

Hi!

Q1. Write a small Z program, and call the FM BP_EVENT_RAISE

in your program. Make this program the last step in your job.

Regards

Tamá

0 Kudos

hi,

thanks for replying .. but how to make it as last step of the job..? where's that option in SM36 ?? is it to be done in JOB Step ??

thanks,

Rohan

Former Member
0 Kudos

solved...myself

0 Kudos

Hi Rohan,

Please help me.

I need your help.

Please let me know how u solved your problem.

I have the similar requirement like you. I also need to trigger an event after job completion so that another job can start.

Thanks a lot in advance.

Prabhat

Former Member
0 Kudos

Rohan, What was your solution?