44. הקשת/הקלדתכפתור-( הלחיצהPushbutton Click):-Generateכ ; נוספת פעםאת לעדכן יש ,עת/קוד שורות:ה הוראות-ABAP
(ABAP Code Lines Modify)–שאילתת שבעת כךטיסות רשימתהתעופה חברתהמצוינת//מסויימתהייחודית(Specific Airline
Carrier Flights List Query)כלל תתקבלנה לא ,כלל( הטיסותFlights)כ( מענה/תשובהAnswerרק אלא ,)קריאתהטיסות
הקשורות/רלוונטיות(eadRslightFelevantR)במסגרת .:ה שפת שיטת-ABAP(ethodMABAP):-FLIGHTS_GET_ENTITYSET,
עריכת-הקוד/הוראות שינויי(hangedCeodC):כדלקמן-
data: ls_key like line of it_key_tab.
read table it_key_tab into ls_key with key name = 'Carrid'.
* If there is a carrier ID specified, use it to select only those for the specific
carrier
if SY-SUBRC eq 0.
select * from SFLIGHT into corresponding fields of table et_entityset
where carrid = ls_key-value.
* If there is no carrier specified, read all the flights
else.
select * from SFLIGHT into corresponding fields of table et_entityset.
endif.