Schlagwort: EKPO

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: , , , , , , , , , , , , ,

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: , , , , , , , , ,