Unicode conversion wrt v_new_line
I have a program that we are trying to convert to make it unicode compliant.
But I'm getting the following error:-
"v_NEW_LINE" must be a character- like data object (data type C, N. D, T, or String).
Basically its falling over at the following line of code:-
DATA: v_new_line(255) TYPE x.
DATA: v_eol(2) TYPE x VALUE '0D0A'.
DATA: BEGIN OF irec OCCURS 0,
pernr LIKE p0002-pernr, " Personnel Number (8)
nachn LIKE p0002-nachn(25), " Last Name (25)
vorna LIKE p0002-vorna(20)," First Name (20)
perid LIKE p0002-perid, " NI Number (20)
ees LIKE pc207-betrg, " Employee Cont (15)
ers LIKE pc207-betrg, " Employer Cont (15)
END OF irec.
INTO v_new_line SEPARATED BY ','.
CONCATENATE v_new_line v_eol INTO v_new_line.
I think the message is pretty self explanatory.
v_new_line (and v_eol) are defined as TYPE x and you can't use CONCATENATE with anything other than data type C, N. D, T, or String.