# symbol in application server file
I am picking one text file from application server in my program.The format is:
The format of the file is
While saving the text file in application server,SAP automatically inserts the character # at the end of each line and the file gets stored in this format in application server.
What does this symbol # represents?
When i read the data in my internal table, the symbol # gets appended at the end of the field.
I am not able to separate the symbol # from value 27810.
I tried with this option also(carriage return)
CONSTANTS: con_cr type x value '0D'.
But not able to split my last field from symbol #.
Any idea how to get rid of symbol #.
Thanks in advance.
Use this code.
data: l_sep1 TYPE c,
l_sep = cl_abap_char_utilities=>cr_lf.
REPLACE ALL OCCURRENCES OF l_sep IN l_wa_data-data WITH space.