I am trying to assign a field symbol to an internal table and i get the errr of type incompatble, even though the table and field symbol are both typed the same. I am not all that familiar with the rules of using field symbols. The code is:
TYPES: BEGIN OF rep_type,
buyer TYPE marc-ekgrp,
del_time TYPE marc-plifz,
mrp_cont TYPE marc-bearz,
mrp_type TYPE marc-dismm,
mat_grp TYPE mara-matkl,
proc_time TYPE marc-bearz,
plan_time TYPE marc-fxhor,
cov_profile TYPE marc-rwpro,
saf_stock TYPE marc-eisbe,
END OF rep_type.
DATA: rep_tab TYPE STANDARD TABLE OF rep_type.
FIELD-SYMBOLS: <rep_ref> TYPE rep_type.
...
ASSIGN rep_tab TO <rep_ref>.
The error is rep_tab and <rep_ref> are type incompatible.
Is there something more about typing with field symbols that I am missing?