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

multiline box

Former Member
0 Likes
549

Hi experts,

How can i create a multiline box in a selection screen.

Thanks.

3 REPLIES 3
Read only

former_member220538
Active Participant
0 Likes
518

Hi Jepoy,

It is not possible to make a textbox multiline in selection screen.

You can create a custom container and texteditor to it. i.e. Create a custom container and assign texteditor to it.

Use

          CL_GUI_CUSTOM_CONTAINER ---- For Custom Container

          CL_GUI_TEXTEDIT ------  For texteditor

Check this Link

https://scn.sap.com/thread/1133261

Regards

Jeffin

Read only

0 Likes
518

Don't use a CL_GUI_CUSTOM_CONTAINER but a CL_GUI_DOCKING_CONTAINER that you will dock at bottom of SELECTION-SCREEN.

at selection-screen output.
   if go_cont is initial.
     gv_repid = sy-repid.
     gv_dynnr = sy-dynnr.
     create object go_cont
       exporting
         repid     = gv_repid
         dynnr     = gv_dynnr
         extension = 90
         side      = cl_gui_docking_container=>dock_at_bottom.

  
endif.

Then use this container as parent of the text editor. Also create a NO-DISPLAY parameter to store the text internal table maintained by the text editor, so those data will be saved with variants.

Regards,

Raymond

Read only

FredericGirod
Active Contributor
0 Likes
518

Hi,

could you put a screenshot of what you would like to have ?

(you have some example in trans. BIBS)

regards

Fred