Hi friends here iam giving simple coding.
In this i got alpha and it-f1 are type incompatable.
both are charecter data types .y iam getting this error.plz let me know the solution.
Thanks in advanve.
data: begin of it1 occurs 10,
f1,
end of it1,
it2 like it1 occurs 10 with header line,
alpha(10) value 'ABCDEFGHIJ'.
do 10 times varying
it1-f1 from alpha0 next alpha1.
append it1.
enddo.
append lines of it1 from 2 to 5 to it2.
loop at it2.
write it2-f1.
endloop.
insert lines of it1 from 8 into it2 index 2.
skip.
loop at it2.
write it2-f1.
endloop.
loop at it2.
if it2-f1 >= 'E'.
insert lines of it1 to 1 into it2.
endif.
endloop.
skip.
loop at it2.
write it2-f1.
endloop.
skip.
it2[] = it1[].
loop at it2.
write it2-f1.
endloop.