Skip to content

/AWS1/CL_ORGEFFECTIVEPLYVALI00

Contains details about the validation errors that occurred when generating or enforcing an effective policy, such as which policies contributed to the error and location of the error.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_errorcode TYPE /AWS1/ORGERRORCODE /AWS1/ORGERRORCODE

The error code for the validation error. For example, ELEMENTS_TOO_MANY.

iv_errormessage TYPE /AWS1/ORGERRORMESSAGE /AWS1/ORGERRORMESSAGE

The error message for the validation error.

iv_pathtoerror TYPE /AWS1/ORGPATHTOERROR /AWS1/ORGPATHTOERROR

The path within the effective policy where the validation error occurred.

it_contributingpolicies TYPE /AWS1/CL_ORGPOLICYIDS_W=>TT_POLICYIDS TT_POLICYIDS

The individual policies inherited and attached to the account which contributed to the validation error.


Queryable Attributes

ErrorCode

The error code for the validation error. For example, ELEMENTS_TOO_MANY.

Accessible with the following methods

Method Description
GET_ERRORCODE() Getter for ERRORCODE, with configurable default
ASK_ERRORCODE() Getter for ERRORCODE w/ exceptions if field has no value
HAS_ERRORCODE() Determine if ERRORCODE has a value

ErrorMessage

The error message for the validation error.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value

PathToError

The path within the effective policy where the validation error occurred.

Accessible with the following methods

Method Description
GET_PATHTOERROR() Getter for PATHTOERROR, with configurable default
ASK_PATHTOERROR() Getter for PATHTOERROR w/ exceptions if field has no value
HAS_PATHTOERROR() Determine if PATHTOERROR has a value

ContributingPolicies

The individual policies inherited and attached to the account which contributed to the validation error.

Accessible with the following methods

Method Description
GET_CONTRIBUTINGPOLICIES() Getter for CONTRIBUTINGPOLICIES, with configurable default
ASK_CONTRIBUTINGPOLICIES() Getter for CONTRIBUTINGPOLICIES w/ exceptions if field has n
HAS_CONTRIBUTINGPOLICIES() Determine if CONTRIBUTINGPOLICIES 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_EFFECTIVEPLYVALIDATIONERRS

TYPES TT_EFFECTIVEPLYVALIDATIONERRS TYPE STANDARD TABLE OF REF TO /AWS1/CL_ORGEFFECTIVEPLYVALI00 WITH DEFAULT KEY
.