Skip to Content
0
Jun 14, 2006 at 01:47 AM

field-symbol error: cannot be converted to type c.

148 Views

Hello experts,

I am presently experementing with field-symbols as my work area. Now, I did someything like this:

tables: spfli.

data: it_spfli type standard table of spfli with

header line.

field-symbols: <fs_spfli> like line of it_spfli.

start-of-selection.

select * from spfli

into table it_spfli.

end-of-selection.

if not it_spfli[] is initial.

loop at it_spfli assigning <fs_spfli>.

write: / <fs_spfli>.

endloop.

endif.

The error says that <fs_spfli> cannot be converted to a type c or something like that.

My understanding of this is that the field-symbol acts just like a header line/work area.

Again, thank you guys and have a nice day!