Coggle requires JavaScript to display documents.
If you want to use the index of the secondary key, you can explicitly specify the secondary key name via the USING KEY addition.
MODIFY TABLE it_sflight FROM wa_sflight.
MODIFY TABLE it_sflight FROM wa_sflight TRANSPORTING carrid.
MODIFY it_sflight FROM wa_sflight INDEX 3.
DATA it_sflight TYPE STANDARD TABLE OF ty_sflight WITH NON-UNIQUE DEFAULT KEY WITH NON-UNIQUE sorted KEY by_airline COMPONENTS carrid WITH UNIQUE HASHED KEY by_flight COMPONENTS carrid connid.
READ TABLE it_sflight INTO wa_sflight WITH TABLE KEY by_airline COMPONENTS carrid = 'AA'.
READ TABLE it_sflight INTO wa_sflight WITH KEY connid='AA'.
LOOP AT it_sflight INTO wa_sflight. ENDLOOP.
FIELD-SYMBOLS <fs_table> TYPE ANY TABLE.