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

R3_SET_STATUS_ATTR

Sets a status attribute in the SAP monitor architecture

Transaction: RZ20

Interface: XMW

Syntax

R3_SET_STATUS_ATTR

Syntax

Description/Format

NODE= Name of the node
Format of the value: script literal
MESSAGE=

ID and number of the SAP T100 message (separated by a blank)
Format of the value: script literal

Use "00 398" to have only variable contents displayed.

VAR1= Message variable 1
Format of the value: script literal
VAR2= Message variable 2
Format of the value: script literal
VAR3= Message variable 3
Format of the value: script literal
VAR4= Message variable 4
Format of the value: script literal
COL_METHOD= Data collection method of the node
Format of the value: script literal
AN_METHOD= Analysis method of the node
Format of the value: script literal
AU_METHOD= Auto-reaction method of the node
Format of the value: script literal
CAUSE_ALERT=

Determines when an alarm should be triggered
Format of the value: script literal

Allowed values: "ALWAYS" (default), "VALUE_CHG", "MSG_CHG" and "NEVER"

"ALWAYS" - always
"VALUE_CHG" - if the value is changed
"MSG_CHG" - if the message is changed
"NEVER" - never

COLOR=

Color
Format of the value: script literal

Allowed values: "AL_VAL_GREEN" (default), "AL_VAL_YELLOW" and "AL_VAL_RED"

"AL_VAL_GREEN" - green
"AL_VAL_YELLOW" - yellow
"AL_VAL_RED" - red

Comments

An existing status attribute is changed. If it does not yet exist, the script element creates one with the corresponding message.

Format of the parameter NODE=

This parameter describes a complete path. The individual parts are separated by a slash "/".

The path always starts with a context node which can be followed by a sum node, an object node and an attribute node.

Context, object and attribute nodes must only be used once in the path. Sum nodes can be used several times.

Example 1:

"UC4/TestNode/PerfAttributUC4"

Example 2:

"UC4/Summary1/Summary2/TestNode/PerfAttributUC4"

Example

Executing the following example creates the context node "UC4", the object node "Test" and the status attribute including the message "SY 019".

R3_SET_STATUS_ATTR NODE="UC4/Test/StatusAttribute",MESSAGE="SY 019"

 

See also: