Alexgo написал(а):
Спасибо, если набор событий стандартный, где можно узнать значение каждого из них?
wtf?
Use
You can use events that have already been defined, or you can create new events for scheduling background jobs.
Procedure
To use newly defined events, proceed as follows to implement event scheduling:
1. Define and transport the event as a user event (transaction SM64).
When you define an event, you define only the event name (EVENTID). You do not define event arguments in the SAP system. You specify them when you schedule a job to wait for an event and when you trigger the event.
You can transport newly defined events to other systems. Transaction SM64 has a connection to the transport system. So, you can use an existing transport or create a new one.
For more information about defining an event, see Defining Events.
2. Raise the event.
You can raise an event programmatically in the following ways:
○ The RAISE method of the CL_BATCH_EVENT class.
Raises an event from within ABAP programs.
○ The sapevt program
Raises an event from a command line.
When you raise an event, it is triggered in the SAP background processing system. The event-based scheduler is started immediately and this, in turn, starts all jobs that were waiting for the event that has just been raised.
For more information about raising events, see Triggering Events.
3. Schedule the jobs that are to run when your events are triggered.
Event-based jobs can be also scheduled to start periodically.