Application Development 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: 

Displaying Text in Text editor

Former Member
0 Kudos

Hi all,

Curenlty I am using SET_TEXT_AS_STREAM method of class CL_GUI_TEXTEDIT to display text. Since my table contains voth the format and the text, the format is also getting displayed as a text in the editor.

Eg. My table contains value as

TDFORMT TDLINE

  • Vijay

My output in the Text editor is

  • Vijay

but i need only 'Vijay' to be displayed not the *.

Regards,

Vijayakumar

2 REPLIES 2

Former Member
0 Kudos

Hi ,

Declare a internal table and move the tdline value to your internal table field

and use that internal table as input to method SET_TEXT_AS_STREAM .

Please reward if useful.

Former Member
0 Kudos

Hello Vijayakumar,

Use the function module CONVERT_ITF_TO_STREAM_TEXT to convert the text from the ITF format into the Stream format and then use the returned internal table in the SET_TEXT_AS_STREAM method.

Hope this helps.

Manoj