So wenn ihr das jetzt sieht sagt ihr bestimmt sep muss so definiert werden:data: dummy(80),
sep type c value '#'.
field-symbols: <f>.
clear contstr.
do.
assign component sy-index of structure gt_alv_data to <f>.
if sy-subrc <> 0.
exit.
endif.
dummy = <f>.
concatenate contstr dummy into contstr separated by sep.
enddo.
$offset = strlen( contstr ).
contstr+$offset(1) = sep.
append contstr to itab3.
das hab ich auf jeden fall gelesen oder so :sep(02) type x value '0D0A',
sep1(01) type x value '0D'.
nur bei mir sagt er dann immersep type x value 09,
sep1 type x value 13.
Code: Alles auswählen.
*-------------------------------------------------------------
* MOVE: structure <-> single field
*-------------------------------------------------------------
report ZCH_UNIEXP_7.
data: begin of TAB,
X(1) type x value '09',
end of tab,
C(10) type c.
* Before Unicode enabling:
* c+5(1) = tab. <---- Unicode error
* After Unicode enabling
class cl_abap_char_utilities definition load.
c+5(1) = cl_abap_char_utilities=>horizontal_tab.