Skip to content

/AWS1/CL_EL2REWRITECONFIG

Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_regex TYPE /AWS1/EL2STRINGVALUE /AWS1/EL2STRINGVALUE

The regular expression to match in the input string. The maximum length of the string is 1,024 characters.

iv_replace TYPE /AWS1/EL2STRINGVALUE /AWS1/EL2STRINGVALUE

The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).


Queryable Attributes

Regex

The regular expression to match in the input string. The maximum length of the string is 1,024 characters.

Accessible with the following methods

Method Description
GET_REGEX() Getter for REGEX, with configurable default
ASK_REGEX() Getter for REGEX w/ exceptions if field has no value
HAS_REGEX() Determine if REGEX has a value

Replace

The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).

Accessible with the following methods

Method Description
GET_REPLACE() Getter for REPLACE, with configurable default
ASK_REPLACE() Getter for REPLACE w/ exceptions if field has no value
HAS_REPLACE() Determine if REPLACE 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_REWRITECONFIGLIST

TYPES TT_REWRITECONFIGLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EL2REWRITECONFIG WITH DEFAULT KEY
.