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

input from user

Former Member
0 Likes
670

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

6 REPLIES 6
Read only

former_member150733
Contributor
0 Likes
625

Create a Standard Text T.Code: S010 and use these in the program by calling FM: READ_TEXT.

Read only

Former Member
0 Likes
625

Hi

Check this Thread

or alternately you can down load a file from Presentation Server or Application Server

Cheers

Ram

Read only

Former Member
0 Likes
625

what length you need the message to be input?

Read only

0 Likes
625

itz 150 characters

Read only

0 Likes
625

if its just 150 characters, why to go for read text or soemthing?

just declare a parameter of length 150

Read only

former_member209217
Active Contributor
0 Likes
625

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.