‎2009 Oct 20 11:28 AM
Hi experts,
m workin on one report in which i have to send message to multiple customers and that message has to be typed by user on selection screen itself..can u plz tell me how i can create a large input mesaage box on selection screen to write that message..
Regards,
raman
‎2009 Oct 20 11:32 AM
Create a Standard Text T.Code: S010 and use these in the program by calling FM: READ_TEXT.
‎2009 Oct 20 11:33 AM
‎2009 Oct 20 11:33 AM
‎2009 Oct 20 11:37 AM
‎2009 Oct 20 11:48 AM
if its just 150 characters, why to go for read text or soemthing?
just declare a parameter of length 150
‎2009 Oct 20 11:36 AM
Hi,
You should create a custom container
Use cl_gui_custom_container.
Create a screen and use custom container in it.
data :container type ref to cl_gui_custom_container,
editor type ref to cl_gui_textedit.
create object container
exporting
container_name = 'CONTAINER1'
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
Create the text edit control itself
create object editor
exporting
parent = container
wordwrap_mode =
cl_gui_textedit=>wordwrap_off
cl_gui_textedit=>wordwrap_at_fixed_position
cl_gui_textedit=>WORDWRAP_AT_WINDOWBORDER
wordwrap_position = linelength
wordwrap_to_linebreak_mode = cl_gui_textedit=>true.
Regards,
Lakshman.