Schlagwort: ENDSELECT

interne Tabelle (itab)

REPORT YZSM0006 . TABLES SFLIGHT. TYPES: BEGIN OF F_LISTE, CARRID LIKE SFLIGHT-CARRID, SEATSMAX LIKE SFLIGHT-SEATSMAX, END OF F_LISTE. DATA: ID LIKE SFLIGHT-CARRID, MAX LIKE SFLIGHT-SEATSMAX, FLUG_LISTE TYPE F_LISTE OCCURS 10 WITH HEADER LINE. SELECT CARRID SEATSMAX INTO (ID, MAX) FROM

Veröffentlicht in ABAP Getagged mit: , , , , , , , , ,

geschachtelter Select-Befehl

REPORT YZSM0005 . PARAMETERS: L_NR LIKE EKKO-IHREZ, L_ANT LIKE EKKO-LIFNR, MAT_NR LIKE EKPO-MATNR. TABLES: EKKO, EKPO. SELECT * FROM EKKO WHERE IHREZ = L_NR AND LIFNR = L_ANT. SELECT * FROM EKPO WHERE MATNR = MAT_NR AND EBELN = EKKO-EBELN.

Veröffentlicht in ABAP Getagged mit: , , , , , , , , , , , , ,

Select-Befehl

REPORT YZSM0002 . TABLES SBOOK. * write: / ‚carrid‘, ‚connid‘, ‚fldate‘, ‚bookid‘, ‚luggweight‘,’wunit‘. SELECT * FROM SBOOK WHERE CARRID EQ ‚LH‘ AND CONNID = 0400. WRITE: / SBOOK-CARRID, 10 SBOOK-CONNID, 20 SBOOK-FLDATE, 31 SBOOK-BOOKID, 43 SBOOK-LUGGWEIGHT DECIMALS 2 EXPONENT 5,

Veröffentlicht in ABAP Getagged mit: , , , , , , , , , , ,

mein erstes Programm

REPORT YZSM0001 . TABLES EKPO. WRITE TEXT-001. SELECT * FROM EKPO ORDER BY EBELP. WRITE: / EKPO-MANDT, EKPO-EBELN, EKPO-EBELP. ENDSELECT. TOP-OF-PAGE. WRITE TEXT-002.

Veröffentlicht in ABAP Getagged mit: , , , , , , , , ,