internal table and field symbols problem..
"Create ITAB_DISPLAY structure as; CARRID, TOTAL, <FS-W1>, <FS-W2>, etc.
<FS-W1> is value from SFLIGHT-PLANETYPE.
Use field-symbols in this case."
Does anyone know how to code the above statement? I totally don't have any idea about it. I meet difficulties when code the internal table along with the using of field symbols also.
Thanks in advance.
Peter Ruiz replied
you can loop through your internal table that contains the plantype.
here is an example on how to use a field symbol
data: itab1 type standard table of sflight. field-symbol: <wa_fs> type any. loop at itab1 assigning <wa_fs>. write <wa_fs>-plantype. endloop.
hope it helps.