Skip to Content
0
Former Member
May 11, 2009 at 08:39 AM

How to read Line Type value

1257 Views

Hi All,

I have used fm to split long text using fm TR_SPLIT_TEXT and result is storing in one Line type

TRTEXT then i have decleared one internal table like this

data : it_text type standard table of TRTEXT,

wa_text type IT_TEXT.

But while i am running loop on this i am getting only first charater of line

ex. suppose after spliting text i have got 3 lines then it is taking only first character of line so how read every line from loop. condition for loop i have wrote like this.

DATA : A(70) TYPE c.

LOOP AT IT_TEXT INTO WA_TEXT.

IF SY-TABIX = 1.

A = WA_TEXT.

ENDIF.

ENDLOOP.

Please give me solution.