Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tab Delimiter

Former Member
0 Likes
425

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.

2 REPLIES 2
Read only

Former Member
0 Likes
400

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 .....

Read only

rahulkavuri
Active Contributor
0 Likes
400

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.