‎2008 Nov 13 9:50 AM
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?
‎2008 Nov 13 10:01 AM
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.
‎2008 Nov 13 10:03 AM
Hi,
try FM CL_TABLE_EDITOR.
You need to pass the longtext in a internal table to this FM.
Regards
Karthik D
‎2008 Nov 13 10:06 AM
>
> 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.