ABAP Keyword Documentation →  ABAP − Reference →  ABAP Syntax →  ABAP Statements →  Operands →  Names for Individual Operands → 

Structure Component Selector

A component comp of a structured data type or a structure struct is accessed using the name

struct-comp

In this case, the character - is the structure component selector. The name struct of a structured data type or a structure must be to the left of the structure component selector. The name struct can itself be composite. The name comp of the component must be to the right of the structure component selector.

Example

Declaration of a structure struc with the structured data type spfli from ABAP Dictionary and access to its component carrid.

DATA struc TYPE spfli.

...

... struc-carrid ...