Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Read the data from READ_TEXT FM into single string.

Dear Friends,

I am having a Internal table with field text length 200 CH,

And I am looping this itab to get the long text with using READ_TEXT FM, Now I am having the 5 rows of Descr in another itab2 which we got from this FM.

Now I want to modify the looping Itab with this text in single line.

Exp : data from read_text FM.

Itab2 first 40 Chars ( First row ) = some text 1.

Itab2 first 40 Chars ( Second row ) = some text 2.

Itab2 first 40 Chars ( third row ) = some text 3.

Itab2 first 40 Chars ( fourth row ) = some text 4.

Itab2 first 40 Chars ( Fifth row ) = some text 5.

This data should go into my main Itab which is I am looping like:

Itab-text = some text 1 some text 2 some text 3 some text 4 some text 5.

Itab-text is 200 Chrs length field and first 40 chars is Itab2 First row and second 40 Chars Itab2 second row ....... like the same.

How to do this...



Not what you were looking for? View more on this topic or Ask a question