R3_GET_EVENT
Use the R3_GET_EVENT script element to wais for an event that is triggered in SAP. Such an event can be a system event, an event that is predefined in SAP, or a user 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
-
R3_GET_EVENT
Waits for an event that is triggered in SAP -
ID=
Name of the event
Format: script literal
Allowed values: one string with a maximum of 32 characters -
PARAM=
(Optional) Parameter for the event, You can specify any content of your choice.
Format: script literal
Allowed values: one string with a maximum of 32 characters -
TIMEOUT
(Optional) Waiting time in seconds for an event that is triggered in SAP. If you do not define this value, this script element waits for an indefinite time.
Format: number
Default value: 0
Example
The following example defines that the waiting time for the TEST event with the parameter Myparam should be 10 seconds.
R3_GET_EVENT ID="TEST",PARAM="Myparam",TIMEOUT=10
See also: