Skip to Content
author's profile photo Former Member
Former Member

Displaying Text in Text editor

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 07:05 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 07:15 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.