Code: Alles auswählen.
DATA: ls_pa0010 TYPE pa0010,
lt_pa0010 TYPE TABLE OF pa0010.
LOOP AT lt_pa0010 INTO ls_pa0010 WHERE vbafm EQ '3'.
WRITE:/ ls_pa0010-betrg.
ENDLOOP.
Code: Alles auswählen.
SELECT * FROM pa0010 INTO ls_pa0010 WHERE vbafm EQ '3'.
WRITE:/ ls_pa0010-betrg.
ENDSELECT.
Code: Alles auswählen.
DATA: ls_pa0010 TYPE pa0010,
lt_pa0010 TYPE TABLE OF pa0010.
SELECT * FROM PA0010 INTO TABLE lt_pa0010
WHERE vbafm EQ '3'.
LOOP AT lt_pa0010 INTO ls_pa0010.
WRITE:/ ls_pa0010-betrg.
ENDLOOP.