ABAP Keyword Documentation → ABAP - Reference → ABAP Syntax → ABAP Statements → Operands → Functions and Expressions in Operand Positions → Operand Positions for Functions and Expressions → Reader Positions for Functions and Expressions
Character-Like Expression Positions
Character-like expression positions are reader positions in which character-like data objects, string expressions, and predefined functions, or functional methods and method chainings whose return value has a character-like data type, can be specified. The following character-like expression positions exist:
- Operand positions in string expressions
- Character-like arguments in processing functions
- Character-like arguments in description functions
- Operand
comp
of the statementASSIGN COMPONENT comp OF STRUCTURE
- Regular expression
regex
in the statementsFIND ... REGEX regex ... IN ...
REPLACE ... REGEX regex ... IN ...
- Search pattern
substring
in the statementsFIND ... SUBSTRING substring ... IN ...
REPLACE ... SUBSTRING substring ... IN ...
- Operand
dobj
in the statementFIND ... IN dobj ...
- Operand
new
in the statementREPLACE ... WITH new ...
REPLACE ... IN TABLE ... WITH new ...
- Operand
substring
in the statementSHIFT ... UP TO substring
- Operand
mask
in the statementSHIFT ... DELETING ... mask
- Operands
dobj
andsep
in the statementSPLIT dobj AT sep INTO ...
- Operand
text
in the statementCONVERT text INTO SORTABLE CODE ...
- Operands
text2
andtext2
in the statementOVERLAY ... WITH text2 USING mask
- Operand
mask
in the statementTRANSLATE ... USING mask
- Operand
sub
in the statementASSERT ... SUBKEY sub ...
LOG-POINT ... SUBKEY sub ...
- Operands
text
anddobj1
throughdobj4
in the statements
MESSAGE text ...
MESSAGE ...WITH dobj1 ... dobj4