07-06-2017 8:17 AM
Dear Sir or Madam,
I get the following message in UUCHECK:
"The structure "IT_TAB+0(RECSIZE)" does not start with a character-type field. In Unicode programs in such cases, offset/length declarations are not allowed." (see bold marked lines below)
Can someone help with this problem.
Kind regards
Rainer
data:
begin of it_tab occurs 1000,
x_elem type x,
end of it_tab.
field-symbols: <record>.
* DESCRIBE TABLE IT_TAB LINES I_LEN.
describe field it_tab length recsize.
describe table it_tab lines filelines.
lastline_length = i_len mod recsize.
assign it_tab+0(recsize) to <record>.
clear rec_counter.
loop at it_tab.
rec_counter = rec_counter + 1.
if rec_counter = filelines
and lastline_length > 0.
assign it_tab+0(lastline_length) to <record>.
endif.
transfer <record> to lc_appl_datei.
endloop.