04-21-2004 11:04 AM
Hi,
As far as I know it is possible only to "assign" a control to a CONTAINER
and therefore there is no way to "assign" a normal ABAP dynpro to a container.
This feature limits a lot the programmer when he decides to split the screen in sub-panes
(unless using the docking container trick). There isn't a real modularity of the sub-panes created,
once you split the screen you're sticked to controls.
I Have been working on development of new service providers in Record Management System (RMS)
and I found no way to display an ABAP dynpro on the right pane limiting a lot the application.
I know that is not trivial but, is there any plan to introduce this feature?
Regards
Fabio Cerioni
04-23-2004 7:23 PM
Did you Try Sub Screens? You can Call Multiple Sub Screens and Place them in Main Screen where you want to show.
04-26-2004 1:49 PM
Thank you for your reply.
Unfortunately your hint cannot be applied in this case. Record anagement System reserve (RMS) on the right pane only a container and in this case you can use only controls. That's a pity that limit a lot RMS.
By the way my post was more general. I was suggesting the development of a new "feature" in ABAP that allow to link an ABAP dynpro to a CONTAINER. It is something that I miss that would make screen programming more elegant.
Another issue is that actually there is a gap between ABAP classes and ABAP dynpros. Al new ABAP development of SAP are made with classes and when an ABAP dynpro must be displayed a function module is called, in other words you cannot display an ABAP dynpro "really" from a class. I think that this area of ABAP must be revisited.
Regards
Fabio
05-06-2004 5:30 PM
There is a way to link a Dynpro and a container using the docking container. This is an example where I have a dynpro above a docking container that has an ALV grid. First I created the docking container and then I referenced the ALV grid to the container. You do not need to put a custom control on the screen because the docking container creates one for you.
Hope this helps.
Mike
DATA: DOCKING_9200 TYPE REF TO CL_GUI_DOCKING_CONTAINER.
DATA: PDCD_GRID TYPE REF TO CL_GUI_ALV_GRID.
create the docking container
CREATE OBJECT DOCKING_9200
EXPORTING REPID = L_REPID
DYNNR = L_DYNNR
SIDE = DOCKING_9200-DOCK_AT_BOTTOM
EXTENSION = 165
METRIC = DOCKING_9200-METRIC_DEFAULT.
Create the Grid Container with the parent of the docking container
CREATE OBJECT PDCD_GRID
EXPORTING I_PARENT = DOCKING_9200.
CALL METHOD PDCD_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING IT_TOOLBAR_EXCLUDING = LT_FCODE
IS_LAYOUT = LS_LAYOUT
I_SAVE = 'A'
I_DEFAULT = SPACE
IS_VARIANT = LS_VARIANT
CHANGING IT_OUTTAB = PDCD_TAB[]
IT_FIELDCATALOG = PDCD_CAT.
02-14-2006 12:57 PM
Hi,
are there any news on this subject?
Fabio, did you get any further on putting an ABAP dynpro into a container?
Btw. - what is the docking container trick?
Regards,
Alex.
02-14-2006 1:02 PM
docking container is again a container to hold controls. i guess what you are looking is something similar to SE80
There some discussions in this forum about this , though no solutions yet
Regards
Raja
07-20-2011 12:33 PM
Hello,
I noticed this thread is very old but I was not able to find anything about using SCREENs or subscreen in the custom container. Does anybody has any news about it? I must have overlooked it.
Cheers Otto