Automation Engine Script Guide > AE JCL for Applications > SAP > R3_RAISE_EVENT

R3_RAISE_EVENT

Triggers an event which has been defined in SAP.

Transaction: SM64

Interface: AE and Standard (XBP 2.0)

Syntax

R3_RAISE_EVENT

Syntax Description/Format AE Interface required
ID=

Name of the event
Format: script literal

A string consisting of a maximum of 32 characters is allowed.

 
PARAM=

Parameter for the event
Format: script literal

A string consisting of a maximum of 64 characters is allowed.

 
TARGET_SERVER=

Target system in which the event should be triggered.
Format: script literal

Default value: Field content of "Target system" in the "Host Attributes" tab.

Comments

This script element can be used to trigger an event which has been defined in SAP using the transaction SM62. This could be a system event ( an event which has been predefined by SAP), or a user event. You can define a string of any content of your choice as the event parameter. The target system which has been defined in the Host Attributes tab will be used if no target system has been assigned to this script element in which the event should be triggered.

Example:

This example triggers the event "Test" and specifies the event parameter "Myparam".

R3_RAISE_EVENT ID="TEST",PARAM="Myparam"

 

See also: