Hi,
&------------ --------- -------- ------------ --------- --------- ----------
*& Report ZT11
*&
&------------ --------- -------- ------------ --------- --------- ----------
*&
*&
&------------ --------- -------- ------------ --------- --------- ----------
REPORT ZT11.
DATA: aa type lfa1.
tables lfa1.
select * from lfa1 into aa where lifnr > 'Z' .
write / aa.
endselect.
if sy-subrc 0.
write / 'No records found'.
endif.
error is
'AA' can not converted to a character-type field.
Thanks