error in the file
Hi I have an upload program whcih reads a file from server.
in the file iam getting the first record as
but actually there is no # in the file but while reading this record in debug mode iam finfing this # and
because of this it's going dump.though the # is not in file why iam getting this??please suggest
Jay Raj replied
data: c_val type c value CL_ABAP_CHAR_UTILITIES=>CR_LF.
replace all occurance of c_val from wa_itab with space.
This generally happens if the file is not writen in ASC format....
find the string lenght of the wa_itab subract by 1 and use offset to move the wa_final.