?
逻辑数据库---待续
NODES: sflight,
sbook.
DATA: bookings TYPE i,
max TYPE i VALUE 100.
GET sflight.
cl_demo_output=>next_section( |{ sflight-carrid } | &&
|{ sflight-connid } | &&
|{ sflight-fldate }| ).
GET sbook.
bookings = bookings + 1.
cl_demo_output=>write( |{ sbook-bookid } | &&
|{ sbook-customid }| ).
IF bookings = max.
STOP.
ENDIF.
END-OF-SELECTION.
cl_demo_output=>line( ).
cl_demo_output=>display( |First { bookings } bookings| ).