Listing 3.4  Codefragment zur Demonstration flacher und geschachtelter Strukturen
* Definition
TYPES:  
  BEGIN OF str_address,
    street_and_number(40) TYPE c,
    zipcode_and_city(40) TYPE c,
  END OF str_address,
  BEGIN OF str_customer,
    name(80) TYPE c,
    address TYPE str_address,
  END OF str_customer.
* Declaration
DATA:  
  l_str_customer TYPE str_customer.
FIELD-SYMBOLS:
  <l_str_customer> TYPE str_customer.
* Implementation
l_str_customer-name = 'Georg Meiers'.
l_str_customer-address-street_and_number = 'Goethe Strasse 24'.
l_str_customer-address-zipcode_and_city = '69120 Heidelberg'.