SAP STRUCTURE COMPONENT SELECTOR

Get Example source ABAP code based on a different SAP table
  


ARTICLE
• - ABAP_SELECTOR

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 ...