on 08-22-2005 4:08 PM
Hi friens;
How do I create, maintain, and triggers events in process chains.! please give me the steps. Thank you.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.