Need help - Split statement
I am using the following code to read data from application server.
open dataset l_ap_file for input
in text mode
if sy-subrc eq 0.
Reading a line from the input file.
read dataset l_ap_file into wa_data.
if sy-subrc ne 0.
split wa_data at cl_abap_char_utilities=>horizontal_tab
gs_input-datbi is a 10 character field. If the input data is 2/28/2010, after split statement, gs_input-datbi looks like 2/28/2010# which is not correct.
I want to eliminate the hash symbol which is the field separator...
I used REPLACE statement to remove # symbol. Still not able to solve the issue...
Could anyone please help me to solve this issue...
Your help is greatly appreciated...