Skip to content

/AWS1/CL_BDKAUTOMATEDRSNINGP57

Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_expression TYPE /AWS1/BDKAUTOMATEDRSNINGPLYS00 /AWS1/BDKAUTOMATEDRSNINGPLYS00

The logical expression or condition that defines this test scenario.

iv_alternateexpression TYPE /AWS1/BDKAUTOMATEDRSNINGPLYS01 /AWS1/BDKAUTOMATEDRSNINGPLYS01

An alternative way to express the same test scenario, used for validation and comparison purposes.

iv_expectedresult TYPE /AWS1/BDKAUTOMATEDRSNINGCHEC00 /AWS1/BDKAUTOMATEDRSNINGCHEC00

The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

it_ruleids TYPE /AWS1/CL_BDKAUTOMATEDRSNINGP25=>TT_AUTOMATEDRSNINGPLYDEFRLID00 TT_AUTOMATEDRSNINGPLYDEFRLID00

The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.


Queryable Attributes

expression

The logical expression or condition that defines this test scenario.

Accessible with the following methods

Method Description
GET_EXPRESSION() Getter for EXPRESSION, with configurable default
ASK_EXPRESSION() Getter for EXPRESSION w/ exceptions if field has no value
HAS_EXPRESSION() Determine if EXPRESSION has a value

alternateExpression

An alternative way to express the same test scenario, used for validation and comparison purposes.

Accessible with the following methods

Method Description
GET_ALTERNATEEXPRESSION() Getter for ALTERNATEEXPRESSION, with configurable default
ASK_ALTERNATEEXPRESSION() Getter for ALTERNATEEXPRESSION w/ exceptions if field has no
HAS_ALTERNATEEXPRESSION() Determine if ALTERNATEEXPRESSION has a value

expectedResult

The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

Accessible with the following methods

Method Description
GET_EXPECTEDRESULT() Getter for EXPECTEDRESULT, with configurable default
ASK_EXPECTEDRESULT() Getter for EXPECTEDRESULT w/ exceptions if field has no valu
HAS_EXPECTEDRESULT() Determine if EXPECTEDRESULT has a value

ruleIds

The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.

Accessible with the following methods

Method Description
GET_RULEIDS() Getter for RULEIDS, with configurable default
ASK_RULEIDS() Getter for RULEIDS w/ exceptions if field has no value
HAS_RULEIDS() Determine if RULEIDS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_AUTOMATEDRSNINGPLYSCENARI00

TYPES TT_AUTOMATEDRSNINGPLYSCENARI00 TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDKAUTOMATEDRSNINGP57 WITH DEFAULT KEY
.