DATA name(5) TYPE c.
DATA it_p0000 LIKE TABLE OF p0000.
DATA wa_p0000 TYPE p0000.
name = 'PERNR'.
以上是你的代码
FIELD-SYMBOLS
取数我就不写了
LOOP AT it_p0000 INTO wa_p0000.
ASSIGN COMPONENT name OF STRUCTURE wa_p0000 TO
WRITE: /
ENDLOOP.
PS: name = 'PERNR' 注意要大写