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
compof the statementASSIGN COMPONENT comp OF STRUCTURE
- Regular expression
regexin the statementsFIND ... REGEX regex ... IN ...
REPLACE ... REGEX regex ... IN ...
- Search pattern
substringin the statementsFIND ... SUBSTRING substring ... IN ...
REPLACE ... SUBSTRING substring ... IN ...
- Operand
dobjin the statementFIND ... IN dobj ...
- Operand
newin the statementREPLACE ... WITH new ...
REPLACE ... IN TABLE ... WITH new ...
- Operand
substringin the statementSHIFT ... UP TO substring
- Operand
maskin the statementSHIFT ... DELETING ... mask
- Operands
dobjandsepin the statementSPLIT dobj AT sep INTO ...
- Operand
textin the statementCONVERT text INTO SORTABLE CODE ...
- Operands
text2andtext2in the statementOVERLAY ... WITH text2 USING mask
- Operand
maskin the statementTRANSLATE ... USING mask
- Operand
subin the statementASSERT ... SUBKEY sub ...
LOG-POINT ... SUBKEY sub ...
- Operands
textanddobj1throughdobj4in the statements
MESSAGE text ...
MESSAGE ...WITH dobj1 ... dobj4