R3_GET_EVENT
Use the R3_GET_EVENT script element to wait for an event triggered in SAP. The event can be a system event predefined by SAP or a user-defined event. Script processing continues when the event occurs.
Important! The specified event must be available in the SAP Event History. If necessary, adjust the criteria profile of the event in SAP.
Transaction: SM36 (start condition)
Interface: Standard
Syntax
R3_GET_EVENT ID=...[,PARAM=...][,TIMEOUT=...]
Parameters
| Parameter | Description | Format | Default Value |
|---|---|---|---|
| ID= | Name of the event. Maximum 32 characters. | Script literal | n.a. |
| PARAM=
(Optional) |
Event parameter. Can contain any content of your choice. Maximum 64 characters. | Script literal | n.a. |
| TIMEOUT=
(Optional) |
Maximum time in seconds to wait for the event. A value of 0 means the script element waits indefinitely. | Number | 0 |
Examples
The following example waits up to 10 seconds for the TEST event with the parameter Myparam.
R3_GET_EVENT ID="TEST",PARAM="Myparam",TIMEOUT=10
See also: