2008 Apr 04 1:05 PM
Hi,
I have written a program to reads a report which is there in Spool and display the same.
As I see the spool data is read it contains some data like '#5' after each field that has been displayed.
I am reading the data into work area.
I am splitting at this point that is #5.
But it is not splitting at this point.
Please can any one help me out.
Is this a code for SY-VLINE.
Hi,
I have written a program to reads a report which is there in Spool and display the same.
As I see the spool data is read it contains some data like '#5' after each field that has been displayed.
I am reading the data into work area.
I am splitting at this point that is #5.
But it is not splitting at this point.
Please can any one help me out.
Is this a code for SY-VLINE.
2008 Apr 04 1:08 PM
Hi Praveen,
Try this
DATA : V_DEL(2).
Concatenate CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB '5' into v_del.
split v_data at V_DEL INTO .....
2008 Apr 04 1:15 PM
hi use the code as follows
Data: w_vline TYPE c VALUE cl_abap_char_utilities=>VERTICAL_TAB.
Split string at w_vline into w_string1 w_string2.