2012 Jul 06 9:22 AM
I want to use Multyline Text Box in Selection screen.
Please tell me how to do that.
I want to use Multyline Text Box in Selection screen.
Please tell me how to do that.
2012 Jul 06 9:34 AM
If by "Multyline Text Box" you mean a free input area for text as generated thru cl_gui_textedit, the answer is NO, selection-screen are not able to use those type of tools (custom control) but...
Module pool dynpro can merge selection-screen and enjoy objects in a screen.
Create a dynpro with a custom container area and a subscreen area -
- in the custom container area you will maintain the "text box" thru cl_gui_custom_container, cl_gui_textedit -> Controls Tutorial (BC-CI)
- in the subscreen you will insert a selection-screen ->
Selection Screens as Subscreens in Screen Programming
Regards,
Raymond
2012 Jul 06 10:40 AM
Correction after some investigation :
You may try one of those two hints to add a subscreen area or a custom container when displaying the selection-screen
hints :
- create a docking containter by calling cl_gui_docking_container=>dock_at_bottom during the selection-screen ouput
- define a tabbed block, without any tabs, SELECTION-SCREEN BEGIN OF TABBED BLOCK
In both case you get a subscreen area or a container in which you could display/edit the text lines.
Regards,
Raymond
2012 Jul 06 9:59 AM
2012 Jul 06 10:52 AM
I dont think you can implement a TEXT AREA in a selection screen , you can do it only using the screenpainter because there is no such statement as TEXT AREA for selection screen.
2012 Jul 06 11:07 AM
Hi,
you can do it the other way round and include your selection screen in a normal screenpainter screen which includes also the text area as @Neha Sinha mentioned:
*definition of the selection screen:
SELECTION-SCREEN BEGIN OF SCREEN 9001 AS SUBSCREEN.
...
SELECTION-SCREEN END OF SCREEN 9001.
*screenpainter:
CALL SUBSCREEN subscreenarea INCLUDING 'programname' '9001'.
Just keep in mind that the PAI for the selection screen is still at
AT SELECTION-SCREEN.
Regards,
Dirk
2012 Jul 06 11:08 AM
2012 Jul 06 11:14 AM
Check if my post helps
SAP Community Network Wiki - ABAP Development - Saving Text edit control in selection screen as a...
You can adjust the coordinates of the control as required.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |