cancel
Showing results for 
Search instead for 
Did you mean: 

Process chain Events

Former Member
0 Kudos

Hi friens;

How do I create, maintain, and triggers events in process chains.! please give me the steps. Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can create events in sm62. Then, include the events in the start process of process chain. Trigger the events in sm64.

Hope that helps.

Former Member
0 Kudos

Anyone knows after I create the events in SM62, how do I include that into my process chain and how to work on it! pls gime the details. thanks.

Ashwin
Active Contributor
0 Kudos

Hi!

i think we use ABAP program under general services to generate an event.

searching form gave me following threads which might be helpfull

1) explains Evenet generation

other helpfull threads

with regards

ashwin

Former Member
0 Kudos

As Govind pointed out, you change the Start Process (1st process) in your Process Chain to trigger it to start after the event. To do this, maintain the Start Process of your Process Chain. Select "Direct Scheduling" and click the "Change Selections" icon. This will bring up a Start Time window. Click the "After Event" icon and enter your event name. Also, click the "Periodic Job" (this will insure that all the jobs created for each process in the Process Chain will reschedule themselves after executing the first time). Now save the Start Process, and reactivate and schedule the Process Chain.

To execute the Process Chain, use transaction SM64 to trigger the event.

If you want to trigger the event in batch, you will need to create an ABAP program that calls function module BP_EVENT_RAISE (sample ABAP code is available in this forum if you search for "BP_EVENT_RAISE").

We create batch jobs where we call an external program called SAPEVT, located on the server, and I believe is available on all SAP clients, with the following parameter:

EVTID('WEEKLY_PROCESS') SID(PU3) NUMBER(00) EVTPARM()

This will trigger the event WEEKLY_PROCESS.

See if this helps.

Ashwin
Active Contributor
0 Kudos

Hi!

were you able to create the process chain sucessfully. is the procedure explained here working?

with regards

ashwin