Posted: Tue Jan 29, 2008 12:09 pm Post subject: Docking container with Text Editor and Grid
Author: Rich Heilman
You may be able to use a text editor container directly above the ALV grid. Implement this program which I just developed, and run it. See how the text is in a text editor control above the ALV. Maybe you could use this. I have implemented in a docking container, so that you have a working(cut/paste) solution. You could easily modify to implement this in a dynpro container.
Code:
report zrich_0001 .
data: it001w type table of t001w with header line.
parameters: p_check type c.
start-of-selection.
at selection-screen output.
data: itext type table of tline-tdline,
xtext like line of itext.
data: docking_left type ref to cl_gui_docking_container,
alv_bottom type ref to cl_gui_alv_grid,
splitter type ref to cl_gui_splitter_container,
dock_sub_cont1 type ref to cl_gui_container,
dock_sub_cont2 type ref to cl_gui_container,
text_editor_top type ref to cl_gui_textedit,
repid type syrepid.
repid = sy-repid.
select * into corresponding fields of table it001w
from t001w.
if docking_left is initial.
Create the docking and splitter containers
create object:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.