Hello!
I am trying to upload a text file separated by Tab into SAP by an Abap program, but I have the following problem:
- Code:
constants: l_tab type x value '09'.
split vl_line_file at
l_tab
into
vl_type_h
vl_cod_fla.
- Problem: in the vl_cod_fla, I always get ## after data.
I have tried to change l_tab to cl_abap_char_utilities=>horizontal_tab but the problem persists.
Any suggestion would be appreciate,
Thanks!
Michel Khouri
Mars, Inc
These may be carriage returns. This may get rid of them for you.
data: another_field(10) type c. split vl_cod_fla at cl_abap_char_utilities=>cr_lf into vl_cod_fla another_Field.
Regards,
Rich Heilman
Add a comment