‎2013 Aug 28 10:59 AM
Hi experts,
How can i create a multiline box in a selection screen.
Thanks.
‎2013 Aug 29 1:24 PM
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
‎2013 Aug 29 3:22 PM
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
‎2013 Aug 29 1:45 PM
Hi,
could you put a screenshot of what you would like to have ?
(you have some example in trans. BIBS)
regards
Fred