R3_GET_EVENT
Waits for an event that is triggered in SAP.
Transaction: SM36 (start condition)
Interface: Standard
Syntax
R3_GET_EVENT
ID=...
[,PARAM=...]
[,TIMEOUT=...]
Syntax |
Description/Format |
---|---|
ID= |
Name of the event. Only one string with a maximum of 32 characters is allowed. |
PARAM= |
Parameter for the event. Only one string with a maximum of 64 characters is allowed. |
TIMEOUT= |
Waiting time in seconds for an event that is triggered in SAP. Default value: "0" |
This script element can be used to wait for an event that has been triggered in SAP. This could be a system event, an event that has been predefined in SAP, or a user event. You can specify any content of your choice for the string that is used as the event parameter. Note that the script element waits for the event for an indefinite time if you define zero seconds for the timeout period.
Script processing continues when the event occurs.
Warning! Note that this script element can only react if the specified event is available in the SAP Event History. Adjust the event's criteria profile in SAP accordingly if necessary.
Example
The following example defines that the waiting time for the event "TEST" with the parameter "Myparam" should be 10 seconds.
R3_GET_EVENT ID="TEST",PARAM="Myparam",TIMEOUT=10
See also:
seealso