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

displaying text editor

Former Member
0 Likes
688

Hello Experts,

I have a pushbutton on a screen and clicking on that would display a text editor along with long text of that pushbutton.I dont know how to create container etc, so I am not able to make out how to solve this problem.Can anyone please help?

3 REPLIES 3
Read only

Former Member
0 Likes
568

hi priya,

if your reqiurement says that i need to display text editor and save it to the internal table then use

the following code.

TYPES: BEGIN OF ty_text,

text(74) ,

END OF ty_text.

DATA:

t_terms TYPE STANDARD TABLE OF ty_text with header line.

EDITOR-CALL FOR t_terms.

loop at t_terms.

write t_terms-text.

endloop.

enter a valid text

and press save .

the data will be reflected back in your table.

check for EDITOR-CALL syntax for other opeartions like display and giving your own title.

Read only

Former Member
0 Likes
568

Hi,

try FM CL_TABLE_EDITOR.

You need to pass the longtext in a internal table to this FM.

Regards

Karthik D

Read only

christine_evans
Active Contributor
0 Likes
568

>

> Hello Experts,

> I have a pushbutton on a screen and clicking on that would display a text editor along with long text of that pushbutton.I dont know how to create container etc, so I am not able to make out how to solve this problem.Can anyone please help?

You can use function module TXW_TEXTNOTE_EDIT to display long text in a text box.